AVR SD Safety Framework 1.0.0
Loading...
Searching...
No Matches
WDT Driver

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.

Detailed Description

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.

UML Class Diagrams

Function Documentation

◆ WDT_ReadCounter()

uint16_t WDT_ReadCounter ( void )

Reads the CNT register value.

Returns
The read value.
Here is the caller graph for this function:

◆ WDT_ReadStatus()

uint8_t WDT_ReadStatus ( void )

Reads the STATUS register value.

Returns
The read value.

◆ WDT_WriteControlA()

void WDT_WriteControlA ( uint8_t value)

Overwrites the CTRLA register value.

Parameters
valueSpecifies the value to write.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ WDT_WriteStatus()

void WDT_WriteStatus ( uint8_t value)

Overwrites the STATUS register value.

Parameters
valueSpecifies the value to write.
Here is the call graph for this function:
Here is the caller graph for this function: