- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

# wdt_drv.h File Reference

,vThis file contains the Watchdog low level driver definition for AT90USB162 More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Defines
#define | Wdt_reset_instruction() (__watchdog_reset())
#define | Is_ext_reset() ((MCUSR&(1<<EXTRF)) ? TRUE:FALSE)
#define | Ack_ext_reset() (MCUSR= ~(1<<EXTRF))
#define | Is_POR_reset() ((MCUSR&(1<<(MCUSR= ~(1<<PORF)))) ? TRUE:FALSE)
#define | Ack_POR_reset() (MCUSR= ~(1<<PORF))
#define | Is_BOD_reset() ((MCUSR&(1<<BORF)) ? TRUE:FALSE)
#define | Ack_BOD_reset() (MCUSR= ~(1<<BORF))
#define | Is_wdt_reset() ((MCUSR&(1<<WDRF)) ? TRUE:FALSE)
#define | Ack_wdt_reset() (MCUSR= ~(1<<WDRF))
#define | Wdt_clear_flag() Ack_wdt_reset()
#define | Wdt_change_enable() (WDTCSR = (1<<WDCE) | (1<<WDE))
#define | Wdt_system_reset_enable() (WDTCSR |= (1<<WDE))
#define | Wdt_system_reset_disable() (WDTCSR &= ~(1<<WDE))
#define | Wdt_stop() (WDTCSR = 0x00, WDTCKD = 0x00)
#define | Wdt_enable_early_interrupt() (WDTCKD |= (1<<WDEWIE))
#define | Wdt_disable_early_interrupt() (WDTCKD &= ~(1<<WDEWIE))
#define | Is_wdt_early_interrupt() (((WDTCKD&(1<<WDEWIF)) != 0) ? TRUE : FALSE)
#define | Ack_wdt_early_interrupt() (WDTCKD |= (1<<WDEWIF))
#define | Wdt_enable_real_interrupt() (WDTCSR |= (1<<WDIE))
#define | Wdt_disable_real_interrupt() (WDTCSR &= ~(1<<WDIE))
#define | Is_wdt_real_interrupt() (((WDTCSR&(1<<WDIF)) != 0) ? TRUE : FALSE)
#define | Ack_wdt_real_interrupt() (WDTCSR |= (1<<WDIF))
#define | Wdt_set_clock_divider(ck) (WDTCKD = ck)
#define | WDT_CLOCK_DIV_1 0x00
#define | WDT_CLOCK_DIV_3 0x01
#define | WDT_CLOCK_DIV_5 0x02
#define | WDT_CLOCK_DIV_7 0x03
#define | Wdt_set_prescaler(ck) (WDTCSR = ck)
#define | WDT_PRESC_1 0x00
#define | WDT_PRESC_2 0x01
#define | WDT_PRESC_4 0x02
#define | WDT_PRESC_8 0x03
#define | WDT_PRESC_16 0x04
#define | WDT_PRESC_32 0x05
#define | WDT_PRESC_64 0x06
#define | WDT_PRESC_128 0x07
#define | WDT_PRESC_256 0x20
#define | WDT_PRESC_512 0x21
#define | Wdt_off()
#define | Wdt_set_mode_interrupt()
#define | Wdt_set_mode_system_reset()
#define | Wdt_set_mode_interrupt_and_reset()
#define | Wdt_change_16ms()
#define | Wdt_change_32ms()
#define | Wdt_change_48ms()
#define | Wdt_change_64ms()
#define | Wdt_change_80ms()
#define | Wdt_change_96ms()
#define | Wdt_change_112ms()
#define | Wdt_change_125ms()
#define | Wdt_change_160ms()
#define | Wdt_change_192ms()
#define | Wdt_change_224ms()
#define | Wdt_change_250ms()
#define | Wdt_change_320ms()
#define | Wdt_change_375ms()
#define | Wdt_change_448ms()
#define | Wdt_change_500ms()
#define | Wdt_change_640ms()
#define | Wdt_change_750ms()
#define | Wdt_change_896ms()
#define | Wdt_change_1s()
#define | Wdt_change_1s25()
#define | Wdt_change_1s5()
#define | Wdt_change_1s75()
#define | Wdt_change_2s()
#define | Wdt_change_2s5()
#define | Wdt_change_3s()
#define | Wdt_change_3s5()
#define | Wdt_change_4s()
#define | Wdt_change_5s()
#define | Wdt_change_6s()
#define | Wdt_change_7s()
#define | Wdt_change_8s()
#define | Wdt_change_10s()
#define | Wdt_change_12s()
#define | Wdt_change_14s()
#define | Wdt_change_20s()
#define | Wdt_change_24s()
#define | Wdt_change_28s()
#define | Wdt_change_40s()
#define | Wdt_change_56s()

## Detailed Description

,vThis file contains the Watchdog low level driver definition for AT90USB162

Copyright (c) 2004 Atmel.

Use of this program is subject to Atmel's End User License Agreement. Please read file license.txt for copyright notice.

Version:
  1.2 at90usb162-2enum-mouse_ms-1_0_1
  Id
    wdt_drv.h,v 1.2 2006/09/05 09:11:33 arobert Exp

Todo:

Bug:

Definition in file wdt_drv.h.

## Define Documentation

#define Wdt_reset_instruction | ( |  | ) | (__watchdog_reset())

Definition at line 31 of file wdt_drv.h.

#define Is_ext_reset | ( |  | ) | ((MCUSR&(1<<EXTRF)) ? TRUE:FALSE)

Definition at line 40 of file wdt_drv.h.

#define Ack_ext_reset | ( |  | ) | (MCUSR= ~(1<<EXTRF))

Definition at line 41 of file wdt_drv.h.

#define Is_POR_reset | ( |  | ) | ((MCUSR&(1<<(MCUSR= ~(1<<PORF)))) ? TRUE:FALSE)

Definition at line 42 of file wdt_drv.h.

#define Ack_POR_reset | ( |  | ) | (MCUSR= ~(1<<PORF))

Definition at line 43 of file wdt_drv.h.

#define Is_BOD_reset | ( |  | ) | ((MCUSR&(1<<BORF)) ? TRUE:FALSE)

Definition at line 44 of file wdt_drv.h.

#define Ack_BOD_reset | ( |  | ) | (MCUSR= ~(1<<BORF))

Definition at line 45 of file wdt_drv.h.

#define Is_wdt_reset | ( |  | ) | ((MCUSR&(1<<WDRF)) ? TRUE:FALSE)

Definition at line 46 of file wdt_drv.h.

#define Ack_wdt_reset | ( |  | ) | (MCUSR= ~(1<<WDRF))

Definition at line 47 of file wdt_drv.h.

#define Wdt_clear_flag | ( |  | ) | Ack_wdt_reset()

Definition at line 48 of file wdt_drv.h.

Referenced by main().

#define Wdt_change_enable | ( |  | ) | (WDTCSR = (1<<WDCE) | (1<<WDE))

Definition at line 51 of file wdt_drv.h.

Referenced by main().

#define Wdt_system_reset_enable | ( |  | ) | (WDTCSR |= (1<<WDE))

Definition at line 52 of file wdt_drv.h.

#define Wdt_system_reset_disable | ( |  | ) | (WDTCSR &= ~(1<<WDE))

Definition at line 53 of file wdt_drv.h.

#define Wdt_stop | ( |  | ) | (WDTCSR = 0x00, WDTCKD = 0x00)

Definition at line 54 of file wdt_drv.h.

Referenced by main().

#define Wdt_enable_early_interrupt | ( |  | ) | (WDTCKD |= (1<<WDEWIE))

Definition at line 58 of file wdt_drv.h.

#define Wdt_disable_early_interrupt | ( |  | ) | (WDTCKD &= ~(1<<WDEWIE))

Definition at line 59 of file wdt_drv.h.

#define Is_wdt_early_interrupt | ( |  | ) | (((WDTCKD&(1<<WDEWIF)) != 0) ? TRUE : FALSE)

Definition at line 60 of file wdt_drv.h.

#define Ack_wdt_early_interrupt | ( |  | ) | (WDTCKD |= (1<<WDEWIF))

Definition at line 61 of file wdt_drv.h.

#define Wdt_enable_real_interrupt | ( |  | ) | (WDTCSR |= (1<<WDIE))

Definition at line 63 of file wdt_drv.h.

#define Wdt_disable_real_interrupt | ( |  | ) | (WDTCSR &= ~(1<<WDIE))

Definition at line 64 of file wdt_drv.h.

#define Is_wdt_real_interrupt | ( |  | ) | (((WDTCSR&(1<<WDIF)) != 0) ? TRUE : FALSE)

Definition at line 65 of file wdt_drv.h.

#define Ack_wdt_real_interrupt | ( |  | ) | (WDTCSR |= (1<<WDIF))

Definition at line 66 of file wdt_drv.h.

#define Wdt_set_clock_divider | ( | ck |  | ) | (WDTCKD = ck)

Definition at line 70 of file wdt_drv.h.

#define WDT_CLOCK_DIV_1 0x00

Definition at line 71 of file wdt_drv.h.

#define WDT_CLOCK_DIV_3 0x01

Definition at line 72 of file wdt_drv.h.

#define WDT_CLOCK_DIV_5 0x02

Definition at line 73 of file wdt_drv.h.

#define WDT_CLOCK_DIV_7 0x03

Definition at line 74 of file wdt_drv.h.

#define Wdt_set_prescaler | ( | ck |  | ) | (WDTCSR = ck)

Definition at line 78 of file wdt_drv.h.

#define WDT_PRESC_1 0x00

Definition at line 79 of file wdt_drv.h.

#define WDT_PRESC_2 0x01

Definition at line 80 of file wdt_drv.h.

#define WDT_PRESC_4 0x02

Definition at line 81 of file wdt_drv.h.

#define WDT_PRESC_8 0x03

Definition at line 82 of file wdt_drv.h.

#define WDT_PRESC_16 0x04

Definition at line 83 of file wdt_drv.h.

#define WDT_PRESC_32 0x05

Definition at line 84 of file wdt_drv.h.

#define WDT_PRESC_64 0x06

Definition at line 85 of file wdt_drv.h.

#define WDT_PRESC_128 0x07

Definition at line 86 of file wdt_drv.h.

#define WDT_PRESC_256 0x20

Definition at line 87 of file wdt_drv.h.

#define WDT_PRESC_512 0x21

Definition at line 88 of file wdt_drv.h.

#define Wdt_off | ( |  | ) |

Value:

    (Wdt_reset_instruction(),  \
                                                  Wdt_clear_flag(),         \
                                                  Wdt_change_enable(),      \
                                                  Wdt_stop())

Definition at line 99 of file wdt_drv.h.

Referenced by main().

#define Wdt_set_mode_interrupt | ( |  | ) |

Value:

    (Wdt_reset_instruction(),  \
                                                  Wdt_clear_flag(),         \
                                                  WDTCSR |= (1<<WDIE))

Definition at line 104 of file wdt_drv.h.

#define Wdt_set_mode_system_reset | ( |  | ) |

Value:

    (Wdt_reset_instruction(),  \
                                                  Wdt_clear_flag(),         \
                                                  WDTCSR |= (1<<WDE))

Definition at line 108 of file wdt_drv.h.

#define Wdt_set_mode_interrupt_and_reset | ( |  | ) |

Value:

    (Wdt_reset_instruction(),  \
                                                  Wdt_clear_flag(),         \
                                                  WDTCSR |= ((1<<WDE) | (1<<WDIE)))

Definition at line 112 of file wdt_drv.h.

#define Wdt_change_16ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_1),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_1))

Definition at line 120 of file wdt_drv.h.

#define Wdt_change_32ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_1),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_2))

Definition at line 125 of file wdt_drv.h.

#define Wdt_change_48ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_3),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_1))

Definition at line 130 of file wdt_drv.h.

#define Wdt_change_64ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_1),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_4))

Definition at line 135 of file wdt_drv.h.

#define Wdt_change_80ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_5),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_1))

Definition at line 140 of file wdt_drv.h.

#define Wdt_change_96ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_3),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_2))

Definition at line 145 of file wdt_drv.h.

#define Wdt_change_112ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_7),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_1))

Definition at line 150 of file wdt_drv.h.

#define Wdt_change_125ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_1),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_8))

Definition at line 155 of file wdt_drv.h.

#define Wdt_change_160ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_5),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_2))

Definition at line 160 of file wdt_drv.h.

#define Wdt_change_192ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_3),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_4))

Definition at line 165 of file wdt_drv.h.

#define Wdt_change_224ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_7),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_2))

Definition at line 170 of file wdt_drv.h.

#define Wdt_change_250ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_1),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_16))

Definition at line 175 of file wdt_drv.h.

#define Wdt_change_320ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_5),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_4))

Definition at line 180 of file wdt_drv.h.

#define Wdt_change_375ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_3),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_8))

Definition at line 185 of file wdt_drv.h.

#define Wdt_change_448ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_7),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_4))

Definition at line 190 of file wdt_drv.h.

#define Wdt_change_500ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_1),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_32))

Definition at line 195 of file wdt_drv.h.

#define Wdt_change_640ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_5),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_8))

Definition at line 200 of file wdt_drv.h.

#define Wdt_change_750ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_3),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_16))

Definition at line 205 of file wdt_drv.h.

#define Wdt_change_896ms | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_7),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_8))

Definition at line 210 of file wdt_drv.h.

#define Wdt_change_1s | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_1),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_64))

Definition at line 215 of file wdt_drv.h.

#define Wdt_change_1s25 | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_5),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_16))

Definition at line 220 of file wdt_drv.h.

#define Wdt_change_1s5 | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_3),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_32))

Definition at line 225 of file wdt_drv.h.

#define Wdt_change_1s75 | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_7),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_16))

Definition at line 230 of file wdt_drv.h.

#define Wdt_change_2s | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_1),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_128))

Definition at line 235 of file wdt_drv.h.

#define Wdt_change_2s5 | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_5),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_32))

Definition at line 240 of file wdt_drv.h.

#define Wdt_change_3s | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_3),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_64))

Definition at line 245 of file wdt_drv.h.

#define Wdt_change_3s5 | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_7),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_32))

Definition at line 250 of file wdt_drv.h.

#define Wdt_change_4s | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_1),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_256))

Definition at line 255 of file wdt_drv.h.

#define Wdt_change_5s | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_5),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_64))

Definition at line 260 of file wdt_drv.h.

#define Wdt_change_6s | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_3),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_128))

Definition at line 265 of file wdt_drv.h.

#define Wdt_change_7s | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_7),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_64))

Definition at line 270 of file wdt_drv.h.

#define Wdt_change_8s | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_1),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_512))

Definition at line 275 of file wdt_drv.h.

#define Wdt_change_10s | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_5),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_128))

Definition at line 280 of file wdt_drv.h.

#define Wdt_change_12s | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_3),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_256))

Definition at line 285 of file wdt_drv.h.

#define Wdt_change_14s | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_7),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_128))

Definition at line 290 of file wdt_drv.h.

#define Wdt_change_20s | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_5),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_256))

Definition at line 295 of file wdt_drv.h.

#define Wdt_change_24s | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_3),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_512))

Definition at line 300 of file wdt_drv.h.

#define Wdt_change_28s | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_7),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_256))

Definition at line 305 of file wdt_drv.h.

#define Wdt_change_40s | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_5),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_512))

Definition at line 310 of file wdt_drv.h.

#define Wdt_change_56s | ( |  | ) |

Value:

    (Wdt_reset_instruction(),                 \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_clock_divider(WDT_CLOCK_DIV_7),  \
                                             Wdt_change_enable(),                     \
                                             Wdt_set_prescaler(WDT_PRESC_512))

Definition at line 315 of file wdt_drv.h.