|
Herzog Library 00.00.01
rel_libdev.herzog.00.00.01.10606
|
Go to the source code of this file.
Data Structures | |
| struct | WDT_State_t |
| A structure to represent the state of a WDT device. More... | |
| struct | WDT_Device_t |
| A structure to represent WDT device. More... | |
Typedefs | |
| typedef const struct WDT_Device_t | WDT_Device_Type |
| typedef void(* | wdt_cb_func_t) (WDT_Device_Type *dev) |
| typedef const struct WDT_Device_t | WDT_Device_t |
| A structure to represent WDT device. More... | |
Enumerations | |
| enum | { WDT_MODE_DISABLE, WDT_MODE_INTERRUPT, WDT_MODE_RESET } |
Functions | |
| WDT_Device_t * | WDT_devRequest (void) |
| WDT Request Device. More... | |
| int32_t | WDT_devIsReset (WDT_Device_t *dev) |
| Check if Watch Reset Occurred. More... | |
| int32_t | WDT_devClear (WDT_Device_t *dev) |
| Clear Watchdog Timer. More... | |
| int32_t | WDT_devInit (WDT_Device_t *dev, uint8_t mode, uint8_t time, void *cb) |
| Initialize Watchdog Timer. 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.
| typedef void(* wdt_cb_func_t) (WDT_Device_Type *dev) |
| typedef const struct WDT_Device_t WDT_Device_t |
A structure to represent WDT device.
| typedef const struct WDT_Device_t WDT_Device_Type |
| int32_t WDT_devClear | ( | WDT_Device_t * | dev | ) |
Clear Watchdog Timer.
| dev | The pointer to WDT device |
| int32_t WDT_devInit | ( | WDT_Device_t * | dev, |
| uint8_t | mode, | ||
| uint8_t | time, | ||
| void * | cb | ||
| ) |
Initialize Watchdog Timer.
| dev | The pointer to WDT device, |
| mode | The enumeration of watchdog timer mode. |
| time | The enumeration of time settings. |
| cb | The pointer to the call back function if it is set to interrupt mode. |
| int32_t WDT_devIsReset | ( | WDT_Device_t * | dev | ) |
Check if Watch Reset Occurred.
| dev | The pointer to WDT device |
| WDT_Device_t* WDT_devRequest | ( | void | ) |
WDT Request Device.
WDT Request Device.
1.8.9.1