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

Contains API prototypes for the SLPCTRL (Sleep Controller) driver. More...

Files

file  driver_slpctrl.c
 Implements APIs for the SLPCTRL (Sleep Controller) driver.
file  driver_slpctrl.h
 Contains API prototypes for the SLPCTRL (Sleep Controller) driver.

Functions

void SLPCTRL_WriteControlA (uint8_t value)
 Overwrites the CTRLA register value.
void SLPCTRL_WriteControlB (uint8_t value)
 Overwrites the CTRLB register value.
void SLPCTRL_WriteVregControl (uint8_t value)
 Overwrites the VREGCTRL register value.
void SLPCTRL_WriteIntControl (uint8_t value)
 Overwrites the INTCTRL register value.
uint8_t SLPCTRL_ReadIntFlags (void)
 Reads the INTFLAGS register value.
void SLPCTRL_WriteIntFlags (uint8_t value)
 Overwrites the INTFLAGS register value.

Detailed Description

Contains API prototypes for the SLPCTRL (Sleep Controller) 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

◆ SLPCTRL_ReadIntFlags()

uint8_t SLPCTRL_ReadIntFlags ( void )

Reads the INTFLAGS register value.

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

◆ SLPCTRL_WriteControlA()

void SLPCTRL_WriteControlA ( uint8_t value)

Overwrites the CTRLA register value.

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

◆ SLPCTRL_WriteControlB()

void SLPCTRL_WriteControlB ( uint8_t value)

Overwrites the CTRLB register value.

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

◆ SLPCTRL_WriteIntControl()

void SLPCTRL_WriteIntControl ( uint8_t value)

Overwrites the INTCTRL register value.

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

◆ SLPCTRL_WriteIntFlags()

void SLPCTRL_WriteIntFlags ( uint8_t value)

Overwrites the INTFLAGS register value.

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

◆ SLPCTRL_WriteVregControl()

void SLPCTRL_WriteVregControl ( uint8_t value)

Overwrites the VREGCTRL register value.

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