Functions | |
__STATIC_INLINE void | ll_wdt_enable_write_access (wdt_regs_t *WDTx) |
Enable write access to WDT_LOAD, WDT_CTRL and WDT_INTCLR registers. More... | |
__STATIC_INLINE void | ll_wdt_disable_write_access (wdt_regs_t *WDTx) |
Disable write access to WDT_LOAD, WDT_CTRL and WDT_INTCLR registers. More... | |
__STATIC_INLINE void | ll_wdt_enable (wdt_regs_t *WDTx) |
Enable watchdog counter and interrupt event. More... | |
__STATIC_INLINE void | ll_wdt_disable (wdt_regs_t *WDTx) |
Disable watchdog counter and interrupt event. More... | |
__STATIC_INLINE uint32_t | ll_wdt_is_enabled (wdt_regs_t *WDTx) |
Check if the WDT peripheral is enabled or disabled. More... | |
__STATIC_INLINE void | ll_wdt_enable_reset (wdt_regs_t *WDTx) |
Enable reset output. More... | |
__STATIC_INLINE void | ll_wdt_disable_reset (wdt_regs_t *WDTx) |
Disable reset output. More... | |
__STATIC_INLINE uint32_t | ll_wdt_is_enabled_reset (wdt_regs_t *WDTx) |
Check if the WDT reset is enabled or disabled. More... | |
__STATIC_INLINE void | ll_wdt_set_counter_load (wdt_regs_t *WDTx, uint32_t counter) |
Specify the WDT down-counter reload value. More... | |
__STATIC_INLINE uint32_t | ll_wdt_get_counter_load (wdt_regs_t *WDTx) |
Get the specified WDT down-counter reload value. More... | |
__STATIC_INLINE uint32_t | ll_wdt_get_counter_value (wdt_regs_t *WDTx) |
Get current value of the specified WDT decrementing down-counter. More... | |
__STATIC_INLINE void | ll_wdt_reload_counter (wdt_regs_t *WDTx) |
Reloads WDT counter with value defined in the reload register. More... | |
__STATIC_INLINE void ll_wdt_disable | ( | wdt_regs_t * | WDTx | ) |
Disable watchdog counter and interrupt event.
Register|BitsName --------|-------- CTRL | INTEN
WDTx | WDT instance. |
None |
Definition at line 178 of file gr55xx_ll_wdt.h.
__STATIC_INLINE void ll_wdt_disable_reset | ( | wdt_regs_t * | WDTx | ) |
Disable reset output.
Register|BitsName --------|-------- CTRL | RSTEN
WDTx | WDT instance. |
None |
Definition at line 224 of file gr55xx_ll_wdt.h.
__STATIC_INLINE void ll_wdt_disable_write_access | ( | wdt_regs_t * | WDTx | ) |
Disable write access to WDT_LOAD, WDT_CTRL and WDT_INTCLR registers.
Register|BitsName --------|-------- LOCK | ENRW
WDTx | WDT instance |
None |
Definition at line 148 of file gr55xx_ll_wdt.h.
References LL_WDT_LOCK_WR_ACCESS_DISABLE.
__STATIC_INLINE void ll_wdt_enable | ( | wdt_regs_t * | WDTx | ) |
Enable watchdog counter and interrupt event.
Register|BitsName --------|-------- CTRL | INTEN
WDTx | WDT instance. |
None |
Definition at line 163 of file gr55xx_ll_wdt.h.
__STATIC_INLINE void ll_wdt_enable_reset | ( | wdt_regs_t * | WDTx | ) |
Enable reset output.
Register|BitsName --------|-------- CTRL | RSTEN
WDTx | WDT instance. |
None |
Definition at line 209 of file gr55xx_ll_wdt.h.
__STATIC_INLINE void ll_wdt_enable_write_access | ( | wdt_regs_t * | WDTx | ) |
Enable write access to WDT_LOAD, WDT_CTRL and WDT_INTCLR registers.
Register|BitsName --------|-------- LOCK | ENRW
WDTx | WDT instance |
None |
Definition at line 133 of file gr55xx_ll_wdt.h.
References LL_WDT_LOCK_WR_ACCESS_ENABLE.
__STATIC_INLINE uint32_t ll_wdt_get_counter_load | ( | wdt_regs_t * | WDTx | ) |
Get the specified WDT down-counter reload value.
Register|BitsName --------|-------- LOAD | LOAD
WDTx | WDT instance |
Value | range between Min_Data=0 and Max_Data=0x0FFF |
Definition at line 270 of file gr55xx_ll_wdt.h.
__STATIC_INLINE uint32_t ll_wdt_get_counter_value | ( | wdt_regs_t * | WDTx | ) |
Get current value of the specified WDT decrementing down-counter.
Register|BitsName --------|-------- VALUE | VALUE
WDTx | WDT instance |
Value | range between Min_Data=0 and Max_Data=0x0FFF |
Definition at line 285 of file gr55xx_ll_wdt.h.
__STATIC_INLINE uint32_t ll_wdt_is_enabled | ( | wdt_regs_t * | WDTx | ) |
Check if the WDT peripheral is enabled or disabled.
Register|BitsName --------|-------- CTRL | INTEN
WDTx | WDT instance. |
State | of bit (1 or 0). |
Definition at line 193 of file gr55xx_ll_wdt.h.
__STATIC_INLINE uint32_t ll_wdt_is_enabled_reset | ( | wdt_regs_t * | WDTx | ) |
Check if the WDT reset is enabled or disabled.
Register|BitsName --------|-------- CTRL | RSTEN
WDTx | WDT instance. |
State | of bit (1 or 0). |
Definition at line 239 of file gr55xx_ll_wdt.h.
__STATIC_INLINE void ll_wdt_reload_counter | ( | wdt_regs_t * | WDTx | ) |
Reloads WDT counter with value defined in the reload register.
Register|BitsName --------|-------- INTCLR | INTCLR
WDTx | WDT instance |
None |
Definition at line 300 of file gr55xx_ll_wdt.h.
__STATIC_INLINE void ll_wdt_set_counter_load | ( | wdt_regs_t * | WDTx, |
uint32_t | counter | ||
) |
Specify the WDT down-counter reload value.
Register|BitsName --------|-------- LOAD | LOAD
WDTx | WDT instance |
counter | Value range between Min_Data=0 and Max_Data=0xFFFFFFFF |
None |
Definition at line 255 of file gr55xx_ll_wdt.h.