![]() |
AVR SD Safety Framework 1.0.0
|
Contains API prototypes for the WDT (Watchdog Timer) driver. More...
Files | |
| file | driver_wdt.c |
| Implements APIs for the WDT (Watchdog Timer) driver. | |
| file | driver_wdt.h |
| Contains API prototypes for the WDT (Watchdog Timer) driver. | |
Functions | |
| void | WDT_WriteControlA (uint8_t value) |
| Overwrites the CTRLA register value. | |
| uint8_t | WDT_ReadStatus (void) |
| Reads the STATUS register value. | |
| void | WDT_WriteStatus (uint8_t value) |
| Overwrites the STATUS register value. | |
| uint16_t | WDT_ReadCounter (void) |
| Reads the CNT register value. | |
Contains API prototypes for the WDT (Watchdog Timer) driver.
These APIs provide direct register access and have no functional knowledge of the register interface. No input or output validation is performed in the drivers. It is the responsibility of the calling function to use them correctly according to the register interface specification.
| uint16_t WDT_ReadCounter | ( | void | ) |
Reads the CNT register value.
| uint8_t WDT_ReadStatus | ( | void | ) |
Reads the STATUS register value.
| void WDT_WriteControlA | ( | uint8_t | value | ) |
Overwrites the CTRLA register value.
| value | Specifies the value to write. |
| void WDT_WriteStatus | ( | uint8_t | value | ) |
Overwrites the STATUS register value.
| value | Specifies the value to write. |