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

Contains API prototypes for the BODCTRL (Brown-out Detector Control) driver. More...

Files

file  driver_bodctrl.c
 Implements APIs for the BODCTRL (Brown-out Detector Control) driver.
file  driver_bodctrl.h
 Contains API prototypes for the BODCTRL (Brown-out Detector Control) driver.

Functions

void BODCTRL_WriteVlmControlA (uint8_t value)
 Overwrites the VLMCTRLA register value.
void BODCTRL_SetIntControl (uint8_t bitmask)
 Sets specific bits in the INTCTRL register.
void BODCTRL_ModifyIntControl (uint8_t groupMask, uint8_t groupConfig)
 Modifies specific bit field(s) in the INTCTRL register.
uint8_t BODCTRL_ReadIntFlags (void)
 Reads the INTFLAGS register value.
void BODCTRL_WriteIntFlags (uint8_t value)
 Overwrites the INTFLAGS register value.

Detailed Description

Contains API prototypes for the BODCTRL (Brown-out Detector Control) 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

◆ BODCTRL_ModifyIntControl()

void BODCTRL_ModifyIntControl ( uint8_t groupMask,
uint8_t groupConfig )

Modifies specific bit field(s) in the INTCTRL register.

Parameters
groupMaskSpecifies which bit field values to modify (clear and write).
groupConfigSpecifies the bit pattern to write to the specified bit fields.
Here is the caller graph for this function:

◆ BODCTRL_ReadIntFlags()

uint8_t BODCTRL_ReadIntFlags ( void )

Reads the INTFLAGS register value.

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

◆ BODCTRL_SetIntControl()

void BODCTRL_SetIntControl ( uint8_t bitmask)

Sets specific bits in the INTCTRL register.

Parameters
bitmaskSpecifies which bits to set.
Here is the caller graph for this function:

◆ BODCTRL_WriteIntFlags()

void BODCTRL_WriteIntFlags ( uint8_t value)

Overwrites the INTFLAGS register value.

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

◆ BODCTRL_WriteVlmControlA()

void BODCTRL_WriteVlmControlA ( uint8_t value)

Overwrites the VLMCTRLA register value.

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