libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Go to the source code of this file.
Functions | |
void | wdt_setup (enum wdt_modes mode, uint8_t time1, uint8_t time2) |
Sets up the WDT before the call to wdt_enable(). More... | |
void | wdt_enable (bool en) |
Enables the WDT. More... | |
void | wdt_mode (enum wdt_modes mode) |
Sets the WDT's mode of operation. More... | |
void | wdt_reset (void) |
Reset the WDT's counter. More... | |
bool | wdt_int_status (void) |
Gets the WDT's interrupt status. More... | |
void | wdt_clear_int (void) |
Clears the WDT's interrupt. More... | |
void | wdt_clock_enable (bool en) |
Enables the WDT's clock. More... | |
uint32_t | wdt_get_value (void) |
Gets the current WDT counter value. More... | |
void | wdt_set_time (uint8_t time1, uint8_t time2) |
Sets the WDT's initial counter values. More... | |