![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
Functions | |
| __STATIC_INLINE void | DDL_WWDT_Enable (WWDT_TypeDef *WWDTx) |
| Enable Window Watchdog. The watchdog is always disabled after a reset. | |
| __STATIC_INLINE uint32_t | DDL_WWDT_IsEnabled (WWDT_TypeDef *WWDTx) |
| Checks if Window Watchdog is enabled. | |
| __STATIC_INLINE void | DDL_WWDT_SetCounter (WWDT_TypeDef *WWDTx, uint32_t Counter) |
| Set the Watchdog counter value to provided value (7-bits T[6:0]). | |
| __STATIC_INLINE uint32_t | DDL_WWDT_GetCounter (WWDT_TypeDef *WWDTx) |
| Return current Watchdog Counter Value (7 bits counter value). | |
| __STATIC_INLINE void | DDL_WWDT_SetPrescaler (WWDT_TypeDef *WWDTx, uint32_t Prescaler) |
| Set the time base of the prescaler (WDGTB). | |
| __STATIC_INLINE uint32_t | DDL_WWDT_GetPrescaler (WWDT_TypeDef *WWDTx) |
| Return current Watchdog Prescaler Value. | |
| __STATIC_INLINE void | DDL_WWDT_SetWindow (WWDT_TypeDef *WWDTx, uint32_t Window) |
| Set the Watchdog Window value to be compared to the downcounter (7-bits W[6:0]). | |
| __STATIC_INLINE uint32_t | DDL_WWDT_GetWindow (WWDT_TypeDef *WWDTx) |
| Return current Watchdog Window Value (7 bits value). | |
| __STATIC_INLINE void DDL_WWDT_Enable | ( | WWDT_TypeDef * | WWDTx | ) |
Enable Window Watchdog. The watchdog is always disabled after a reset.
| WWDTx | WWDT Instance |
| None |
Definition at line 146 of file g32r4xx_ddl_wwdt.h.
| __STATIC_INLINE uint32_t DDL_WWDT_GetCounter | ( | WWDT_TypeDef * | WWDTx | ) |
Return current Watchdog Counter Value (7 bits counter value).
| WWDTx | WWDT Instance |
| 7 | bit Watchdog Counter value |
Definition at line 181 of file g32r4xx_ddl_wwdt.h.
| __STATIC_INLINE uint32_t DDL_WWDT_GetPrescaler | ( | WWDT_TypeDef * | WWDTx | ) |
Return current Watchdog Prescaler Value.
| WWDTx | WWDT Instance |
| Returned | value can be one of the following values: |
Definition at line 212 of file g32r4xx_ddl_wwdt.h.
| __STATIC_INLINE uint32_t DDL_WWDT_GetWindow | ( | WWDT_TypeDef * | WWDTx | ) |
Return current Watchdog Window Value (7 bits value).
| WWDTx | WWDT Instance |
| 7 | bit Watchdog Window value |
Definition at line 242 of file g32r4xx_ddl_wwdt.h.
| __STATIC_INLINE uint32_t DDL_WWDT_IsEnabled | ( | WWDT_TypeDef * | WWDTx | ) |
Checks if Window Watchdog is enabled.
| WWDTx | WWDT Instance |
| State | of bit (1 or 0). |
Definition at line 156 of file g32r4xx_ddl_wwdt.h.
| __STATIC_INLINE void DDL_WWDT_SetCounter | ( | WWDT_TypeDef * | WWDTx, |
| uint32_t | Counter ) |
Set the Watchdog counter value to provided value (7-bits T[6:0]).
| WWDTx | WWDT Instance |
| Counter | 0..0x7F (7 bit counter value) |
| None |
Definition at line 171 of file g32r4xx_ddl_wwdt.h.
| __STATIC_INLINE void DDL_WWDT_SetPrescaler | ( | WWDT_TypeDef * | WWDTx, |
| uint32_t | Prescaler ) |
Set the time base of the prescaler (WDGTB).
| WWDTx | WWDT Instance |
| Prescaler | This parameter can be one of the following values: |
| None |
Definition at line 198 of file g32r4xx_ddl_wwdt.h.
| __STATIC_INLINE void DDL_WWDT_SetWindow | ( | WWDT_TypeDef * | WWDTx, |
| uint32_t | Window ) |
Set the Watchdog Window value to be compared to the downcounter (7-bits W[6:0]).
| WWDTx | WWDT Instance |
| Window | 0x00..0x7F (7 bit Window value) |
| None |
Definition at line 232 of file g32r4xx_ddl_wwdt.h.