35 #if defined(WDOG_COUNT) && (WDOG_COUNT > 0)
198 #if defined( _WDOG_CTRL_WDOGRSTDIS_MASK )
218 wdog->
CTRL = setting;
WDOG_ClkSel_TypeDef clkSel
#define _WDOG_CTRL_EN_SHIFT
void WDOGn_Lock(WDOG_TypeDef *wdog)
Lock the watchdog configuration.
#define _WDOG_CTRL_LOCK_SHIFT
RAM and peripheral bit-field set and clear API.
WDOG_PeriodSel_TypeDef perSel
void WDOGn_Init(WDOG_TypeDef *wdog, const WDOG_Init_TypeDef *init)
Initialize watchdog (assuming the watchdog configuration has not been locked).
__STATIC_INLINE unsigned int BUS_RegBitRead(volatile const uint32_t *addr, unsigned int bit)
Perform a single-bit read operation on a peripheral register.
#define _WDOG_CTRL_WINSEL_SHIFT
#define _WDOG_CTRL_WARNSEL_MASK
#define WDOG_CTRL_EM4BLOCK
WDOG_WinSel_TypeDef winSel
#define _WDOG_CTRL_CLKSEL_SHIFT
void WDOGn_Enable(WDOG_TypeDef *wdog, bool enable)
Enable/disable the watchdog timer.
#define WDOG_CTRL_DEBUGRUN
#define _WDOG_CTRL_WINSEL_MASK
#define _WDOG_CTRL_WARNSEL_SHIFT
WDOG_WarnSel_TypeDef warnSel
#define WDOG_SYNCBUSY_CTRL
#define WDOG_CTRL_SWOSCBLOCK
__STATIC_INLINE void BUS_RegBitWrite(volatile uint32_t *addr, unsigned int bit, unsigned int val)
Perform a single-bit write operation on a peripheral register.
Watchdog (WDOG) peripheral API.
void WDOGn_Feed(WDOG_TypeDef *wdog)
Feed the watchdog.
#define WDOG_CTRL_WDOGRSTDIS
#define _WDOG_CTRL_PERSEL_SHIFT
#define WDOG_SYNCBUSY_CMD