G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference

Functions

__STATIC_INLINE void DDL_IWDT_Enable (IWDT_TypeDef *IWDTx)
 Start the Independent Watchdog.
__STATIC_INLINE void DDL_IWDT_ReloadCounter (IWDT_TypeDef *IWDTx)
 Reloads IWDT counter with value defined in the reload register.
__STATIC_INLINE void DDL_IWDT_EnableWriteAccess (IWDT_TypeDef *IWDTx)
 Enable write access to IWDT_PR, IWDT_RLR and IWDT_WINR registers.
__STATIC_INLINE void DDL_IWDT_DisableWriteAccess (IWDT_TypeDef *IWDTx)
 Disable write access to IWDT_PR, IWDT_RLR and IWDT_WINR registers.
__STATIC_INLINE void DDL_IWDT_SetPrescaler (IWDT_TypeDef *IWDTx, uint32_t Prescaler)
 Select the prescaler of the IWDT.
__STATIC_INLINE uint32_t DDL_IWDT_GetPrescaler (IWDT_TypeDef *IWDTx)
 Get the selected prescaler of the IWDT.
__STATIC_INLINE void DDL_IWDT_SetReloadCounter (IWDT_TypeDef *IWDTx, uint32_t Counter)
 Specify the IWDT down-counter reload value.
__STATIC_INLINE uint32_t DDL_IWDT_GetReloadCounter (IWDT_TypeDef *IWDTx)
 Get the specified IWDT down-counter reload value.

Detailed Description

Function Documentation

◆ DDL_IWDT_DisableWriteAccess()

__STATIC_INLINE void DDL_IWDT_DisableWriteAccess ( IWDT_TypeDef * IWDTx)

Disable write access to IWDT_PR, IWDT_RLR and IWDT_WINR registers.

Parameters
IWDTxIWDT Instance
Return values
None

Definition at line 192 of file g32r4xx_ddl_iwdt.h.

◆ DDL_IWDT_Enable()

__STATIC_INLINE void DDL_IWDT_Enable ( IWDT_TypeDef * IWDTx)

Start the Independent Watchdog.

Note
Except if the hardware watchdog option is selected
Parameters
IWDTxIWDT Instance
Return values
None

Definition at line 162 of file g32r4xx_ddl_iwdt.h.

◆ DDL_IWDT_EnableWriteAccess()

__STATIC_INLINE void DDL_IWDT_EnableWriteAccess ( IWDT_TypeDef * IWDTx)

Enable write access to IWDT_PR, IWDT_RLR and IWDT_WINR registers.

Parameters
IWDTxIWDT Instance
Return values
None

Definition at line 182 of file g32r4xx_ddl_iwdt.h.

◆ DDL_IWDT_GetPrescaler()

__STATIC_INLINE uint32_t DDL_IWDT_GetPrescaler ( IWDT_TypeDef * IWDTx)

Get the selected prescaler of the IWDT.

Parameters
IWDTxIWDT Instance
Return values
Returnedvalue can be one of the following values:

Definition at line 227 of file g32r4xx_ddl_iwdt.h.

◆ DDL_IWDT_GetReloadCounter()

__STATIC_INLINE uint32_t DDL_IWDT_GetReloadCounter ( IWDT_TypeDef * IWDTx)

Get the specified IWDT down-counter reload value.

Parameters
IWDTxIWDT Instance
Return values
Valuebetween Min_Data=0 and Max_Data=0x0FFF

Definition at line 248 of file g32r4xx_ddl_iwdt.h.

◆ DDL_IWDT_ReloadCounter()

__STATIC_INLINE void DDL_IWDT_ReloadCounter ( IWDT_TypeDef * IWDTx)

Reloads IWDT counter with value defined in the reload register.

Parameters
IWDTxIWDT Instance
Return values
None

Definition at line 172 of file g32r4xx_ddl_iwdt.h.

◆ DDL_IWDT_SetPrescaler()

__STATIC_INLINE void DDL_IWDT_SetPrescaler ( IWDT_TypeDef * IWDTx,
uint32_t Prescaler )

Select the prescaler of the IWDT.

Parameters
IWDTxIWDT Instance
PrescalerThis parameter can be one of the following values:
Return values
None

Definition at line 210 of file g32r4xx_ddl_iwdt.h.

◆ DDL_IWDT_SetReloadCounter()

__STATIC_INLINE void DDL_IWDT_SetReloadCounter ( IWDT_TypeDef * IWDTx,
uint32_t Counter )

Specify the IWDT down-counter reload value.

Parameters
IWDTxIWDT Instance
CounterValue between Min_Data=0 and Max_Data=0x0FFF
Return values
None

Definition at line 238 of file g32r4xx_ddl_iwdt.h.