Go to the documentation of this file.
52 #ifndef __GR55xx_HAL_WDT_H__
53 #define __GR55xx_HAL_WDT_H__
148 #define WDT_RESET_DISABLE (0x00000000U)
149 #define WDT_RESET_ENABLE (0x00000001U)
164 #define IS_WDT_RESET_MODE(__MODE__) (((__MODE__) == WDT_RESET_ENABLE) || \
165 ((__MODE__) == WDT_RESET_DISABLE))
hal_lock_t
HAL Lock structures definition.
HAL_WDT Callback function definition.
hal_status_t hal_wdt_deinit(wdt_handle_t *p_wdt)
De-initialize the WDT peripheral.
struct _hal_wdt_callback hal_wdt_callback_t
HAL_WDT Callback function definition.
void hal_wdt_period_elapsed_callback(wdt_handle_t *p_wdt)
WDT count complete(counter reaches to 0) callback.
void hal_wdt_msp_init(wdt_handle_t *p_wdt)
Initialize the WDT MSP.
void hal_wdt_irq_handler(wdt_handle_t *p_wdt)
Handle WDT interrupt request.
struct _wdt_handle wdt_handle_t
WDT handle Structure definition.
struct _wdt_init wdt_init_t
WDT init structure definition.
void(* wdt_msp_deinit)(wdt_handle_t *p_wdt)
WDT de-init MSP callback
void hal_wdt_msp_deinit(wdt_handle_t *p_wdt)
De-initialize the WDT MSP.
wdt_regs_t * p_instance
Register base address
hal_lock_t lock
WDT locking object
hal_status_t hal_wdt_init(wdt_handle_t *p_wdt)
Initialize the WDT according to the specified parameters in the wdt_init_t of associated handle.
hal_status_t
HAL Status structures definition.
WDT handle Structure definition.
Header file containing functions prototypes of WDT LL library.
hal_status_t hal_wdt_refresh(wdt_handle_t *p_wdt)
Refresh the WDT.
uint32_t reset_mode
Specifies if WDT Reset output is enable or not.
void(* wdt_msp_init)(wdt_handle_t *p_wdt)
WDT init MSP callback
wdt_init_t init
WDT required parameters
uint32_t counter
Specifies the WDT free-running downcounter value.
WDT init structure definition.
This file contains HAL common definitions, enumeration, macros and structures definitions.
void(* wdt_period_elapsed_callback)(wdt_handle_t *p_wdt)
WDT count complete callback