Callisto4Bootloader: drivers/fsl_wdog.h File Reference

Callisto4Bootloader

Data Structures
fsl_wdog.h File Reference
`#include "fsl_common.h"`

Go to the source code of this file.

## Data Structures

struct | _wdog_work_mode
| Defines WDOG work mode. More...
struct | _wdog_config
| Describes WDOG configuration structure. More...

## Macros

Driver version
#define | FSL_WDOG_DRIVER_VERSION (MAKE_VERSION(2, 1, 1))
| Defines WDOG driver version. More...

## Functions

WDOG Initialization and De-initialization.
void | WDOG_GetDefaultConfig (wdog_config_t *config)
| Initializes the WDOG configuration structure. More...
void | WDOG_Init (WDOG_Type *base, const wdog_config_t *config)
| Initializes the WDOG. More...
void | WDOG_Deinit (WDOG_Type *base)
| Shuts down the WDOG. More...
static void | WDOG_Enable (WDOG_Type *base)
| Enables the WDOG module. More...
static void | WDOG_Disable (WDOG_Type *base)
| Disables the WDOG module. More...
static void | WDOG_TriggerSystemSoftwareReset (WDOG_Type *base)
| Trigger the system software reset. More...
static void | WDOG_TriggerSoftwareSignal (WDOG_Type *base)
| Trigger an output assertion. More...
static void | WDOG_EnableInterrupts (WDOG_Type *base, uint16_t mask)
| Enables the WDOG interrupt. More...
uint16_t | WDOG_GetStatusFlags (WDOG_Type *base)
| Gets the WDOG all reset status flags. More...
void | WDOG_ClearInterruptStatus (WDOG_Type *base, uint16_t mask)
| Clears the WDOG flag. More...
static void | WDOG_SetTimeoutValue (WDOG_Type *base, uint16_t timeoutCount)
| Sets the WDOG timeout value. More...
static void | WDOG_SetInterrputTimeoutValue (WDOG_Type *base, uint16_t timeoutCount)
| Sets the WDOG interrupt count timeout value. More...
static void | WDOG_DisablePowerDownEnable (WDOG_Type *base)
| Disable the WDOG power down enable bit. More...
void | WDOG_Refresh (WDOG_Type *base)
| Refreshes the WDOG timer. More...

## Refresh sequence

#define | WDOG_REFRESH_KEY (0xAAAA5555U)
enum | _wdog_interrupt_enable { kWDOG_InterruptEnable = WDOG_WICR_WIE_MASK }
| WDOG interrupt configuration structure, default settings all disabled. More...
enum | _wdog_status_flags { kWDOG_RunningFlag = WDOG_WCR_WDE_MASK, kWDOG_PowerOnResetFlag = WDOG_WRSR_POR_MASK, kWDOG_TimeoutResetFlag = WDOG_WRSR_TOUT_MASK, kWDOG_SoftwareResetFlag = WDOG_WRSR_SFTW_MASK, kWDOG_InterruptFlag = WDOG_WICR_WTIS_MASK }
| WDOG status flags. More...
typedef struct _wdog_work_mode | wdog_work_mode_t
| Defines WDOG work mode. More...
typedef struct _wdog_config | wdog_config_t
| Describes WDOG configuration structure. More...