|
px-fwlib 0.10.0
Cross-platform embedded library and documentation for 8/16/32-bit microcontrollers generated with Doxygen 1.9.2
|
This module is used to initialise the IWDG peripheral.
File(s):
Enumerations | |
| enum | px_iwdg_prescaler_t { PX_IWDG_PRESCALER_4 = 0 , PX_IWDG_PRESCALER_8 = 1 , PX_IWDG_PRESCALER_16 = 2 , PX_IWDG_PRESCALER_32 = 3 , PX_IWDG_PRESCALER_64 = 4 , PX_IWDG_PRESCALER_128 = 5 , PX_IWDG_PRESCALER_256 = 6 } |
| Independent Watchdog clock prescaler (40 kHz LSI clock source) More... | |
Functions | |
| void | px_iwdg_init (px_iwdg_prescaler_t prescaler, uint16_t reload, uint16_t window) |
| Initialise Independent Watchdog. More... | |
| void | px_iwdg_reload_counter (void) |
| Reload watchdog counter, a.k.a. More... | |
| enum px_iwdg_prescaler_t |
Independent Watchdog clock prescaler (40 kHz LSI clock source)
| void px_iwdg_init | ( | px_iwdg_prescaler_t | prescaler, |
| uint16_t | reload, | ||
| uint16_t | window | ||
| ) |
Initialise Independent Watchdog.
| prescaler | Clock prescaler. See px_iwdg_prescaler_t |
| reload | Counter reload value (1 to 0x0fff) |
| window | Reload window (0 if not used; max 0x0fff) |