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

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.

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

◆ 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.

Definition at line 39 of file driver_bodctrl.c.

◆ BODCTRL_ReadIntFlags()

uint8_t BODCTRL_ReadIntFlags ( void )

Reads the INTFLAGS register value.

Returns
The read value.

Definition at line 49 of file driver_bodctrl.c.

◆ BODCTRL_SetIntControl()

void BODCTRL_SetIntControl ( uint8_t bitmask)

Sets specific bits in the INTCTRL register.

Parameters
bitmaskSpecifies which bits to set.

Definition at line 34 of file driver_bodctrl.c.

◆ BODCTRL_WriteIntFlags()

void BODCTRL_WriteIntFlags ( uint8_t value)

Overwrites the INTFLAGS register value.

Parameters
valueSpecifies the value to write.

Definition at line 54 of file driver_bodctrl.c.

◆ BODCTRL_WriteVlmControlA()

void BODCTRL_WriteVlmControlA ( uint8_t value)

Overwrites the VLMCTRLA register value.

Parameters
valueSpecifies the value to write.

Definition at line 29 of file driver_bodctrl.c.