RTEMS 6.1-rc5
|
Macros | |
#define | IWDG_ENABLE_WRITE_ACCESS(__HANDLE__) WRITE_REG((__HANDLE__)->Instance->KR, IWDG_KEY_WRITE_ACCESS_ENABLE) |
Enable write access to IWDG_PR, IWDG_RLR and IWDG_WINR registers. | |
#define | IWDG_DISABLE_WRITE_ACCESS(__HANDLE__) WRITE_REG((__HANDLE__)->Instance->KR, IWDG_KEY_WRITE_ACCESS_DISABLE) |
Disable write access to IWDG_PR, IWDG_RLR and IWDG_WINR registers. | |
#define | IS_IWDG_PRESCALER(__PRESCALER__) |
Check IWDG prescaler value. | |
#define | IS_IWDG_RELOAD(__RELOAD__) ((__RELOAD__) <= IWDG_RLR_RL) |
Check IWDG reload value. | |
#define | IS_IWDG_WINDOW(__WINDOW__) ((__WINDOW__) <= IWDG_WINR_WIN) |
Check IWDG window value. | |
#define IS_IWDG_PRESCALER | ( | __PRESCALER__ | ) |
Check IWDG prescaler value.
__PRESCALER__ | IWDG prescaler value |
None |
#define IS_IWDG_RELOAD | ( | __RELOAD__ | ) | ((__RELOAD__) <= IWDG_RLR_RL) |
Check IWDG reload value.
__RELOAD__ | IWDG reload value |
None |
#define IS_IWDG_WINDOW | ( | __WINDOW__ | ) | ((__WINDOW__) <= IWDG_WINR_WIN) |
Check IWDG window value.
__WINDOW__ | IWDG window value |
None |
#define IWDG_DISABLE_WRITE_ACCESS | ( | __HANDLE__ | ) | WRITE_REG((__HANDLE__)->Instance->KR, IWDG_KEY_WRITE_ACCESS_DISABLE) |
Disable write access to IWDG_PR, IWDG_RLR and IWDG_WINR registers.
__HANDLE__ | IWDG handle |
None |
#define IWDG_ENABLE_WRITE_ACCESS | ( | __HANDLE__ | ) | WRITE_REG((__HANDLE__)->Instance->KR, IWDG_KEY_WRITE_ACCESS_ENABLE) |
Enable write access to IWDG_PR, IWDG_RLR and IWDG_WINR registers.
__HANDLE__ | IWDG handle |
None |