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

Contains API prototypes for the NVMCTRL (Nonvolatile Memory Controller) driver. More...

Files

file  driver_nvmctrl.c
 Implements APIs for the NVMCTRL (Nonvolatile Memory Controller) driver.
file  driver_nvmctrl.h
 Contains API prototypes for the NVMCTRL (Nonvolatile Memory Controller) driver.

Functions

void NVMCTRL_ModifyControlC (uint8_t groupMask, uint8_t groupConfig)
 Modifies specific bit field(s) in the CTRLC register.
void NVMCTRL_SetControlD (uint8_t bitmask)
 Sets specific bits in the CTRLD register.
uint8_t NVMCTRL_ReadIntFlagsB (void)
 Reads the INTFLAGSB register value.
void NVMCTRL_WriteIntFlagsB (uint8_t value)
 Overwrites the INTFLAGSB register value.
uint8_t NVMCTRL_ReadStatus (void)
 Reads the STATUS register value.
uint32_t NVMCTRL_ReadAddress (void)
 Reads the ADDR register value.
uint8_t NVMCTRL_ReadSyndrome (void)
 Reads the SYNDROME register value.

Detailed Description

Contains API prototypes for the NVMCTRL (Nonvolatile Memory 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

◆ NVMCTRL_ModifyControlC()

void NVMCTRL_ModifyControlC ( uint8_t groupMask,
uint8_t groupConfig )

Modifies specific bit field(s) in the CTRLC 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 call graph for this function:
Here is the caller graph for this function:

◆ NVMCTRL_ReadAddress()

uint32_t NVMCTRL_ReadAddress ( void )

Reads the ADDR register value.

Returns
The read value.

◆ NVMCTRL_ReadIntFlagsB()

uint8_t NVMCTRL_ReadIntFlagsB ( void )

Reads the INTFLAGSB register value.

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

◆ NVMCTRL_ReadStatus()

uint8_t NVMCTRL_ReadStatus ( void )

Reads the STATUS register value.

Returns
The read value.

◆ NVMCTRL_ReadSyndrome()

uint8_t NVMCTRL_ReadSyndrome ( void )

Reads the SYNDROME register value.

Returns
The read value.

◆ NVMCTRL_SetControlD()

void NVMCTRL_SetControlD ( uint8_t bitmask)

Sets specific bits in the CTRLD register.

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

◆ NVMCTRL_WriteIntFlagsB()

void NVMCTRL_WriteIntFlagsB ( uint8_t value)

Overwrites the INTFLAGSB register value.

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