FuSa 8-Bit Libraries Safety Framework
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.

Functions

void WDT_WriteControlA (uint8_t value)
 Overwrites the CTRLA register value.
uint8_t WDT_ReadStatus (void)
 Reads 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.

Version
1.0.0-alpha.1

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.

Definition at line 43 of file driver_wdt.c.

◆ WDT_ReadStatus()

uint8_t WDT_ReadStatus ( void )

Reads the STATUS register value.

Returns
The read value.

Definition at line 38 of file driver_wdt.c.

◆ WDT_WriteControlA()

void WDT_WriteControlA ( uint8_t value)

Overwrites the CTRLA register value.

Parameters
valueSpecifies the value to write.

Definition at line 33 of file driver_wdt.c.