|
Herzog Library 00.00.01
rel_libdev.herzog.00.00.01.10606
|
Go to the source code of this file.
Data Structures | |
| struct | WDT_SFRS_t |
| A structure to represent Special Function Registers for WDT. More... | |
Macros | |
| #define | WDT_SFRS ((__IO WDT_SFRS_t *) (0x50020018)) |
| The starting address of WDT SFRS. More... | |
| #define | WDT_PRES_2PWR13 0 |
| #define | WDT_PRES_2PWR19 1 |
| #define | WDT_PRES_2PWR22 2 |
| #define | WDT_PRES_2PWR32 3 |
Functions | |
| static __INLINE void | f_WDT_Enable (void) |
| Enable watchdog timer. More... | |
| static __INLINE void | f_WDT_Disable (void) |
| Disable watchdog timer. More... | |
| static __INLINE void | f_WDT_ResetEnable (void) |
| Enable watchdog timer reset. More... | |
| static __INLINE void | f_WDT_ResetDisable (void) |
| Disable watchdog timer reset. More... | |
| static __INLINE void | f_WDT_SetPrescaler (uint8_t val) |
| Select watchdog timer clock pre-scaler. More... | |
| static __INLINE void | f_WDT_Clear (void) |
| Clear watchdog timer. More... | |
| static __INLINE uint8_t | f_WDT_IsReset (void) |
| Check if watchdog timer reset occurred. More... | |
This file is proprietary to Indie Semiconductor. All rights reserved. Reproduction or distribution, in whole or in part, is forbidden except by express written permission of Indie Semiconductor.
| #define WDT_PRES_2PWR13 0 |
| #define WDT_PRES_2PWR19 1 |
| #define WDT_PRES_2PWR22 2 |
| #define WDT_PRES_2PWR32 3 |
| #define WDT_SFRS ((__IO WDT_SFRS_t *) (0x50020018)) |
The starting address of WDT SFRS.
|
static |
Clear watchdog timer.
|
static |
Disable watchdog timer.
|
static |
Enable watchdog timer.
|
static |
Check if watchdog timer reset occurred.
|
static |
Disable watchdog timer reset.
|
static |
Enable watchdog timer reset.
|
static |
Select watchdog timer clock pre-scaler.
| val | The setting of pre-scaler. |
1.8.9.1