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

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.

Detailed Description

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

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

Definition at line 33 of file driver_nvmctrl.c.

◆ NVMCTRL_ReadIntFlagsB()

uint8_t NVMCTRL_ReadIntFlagsB ( void )

Reads the INTFLAGSB register value.

Returns
The read value.

Definition at line 50 of file driver_nvmctrl.c.

◆ NVMCTRL_ReadStatus()

uint8_t NVMCTRL_ReadStatus ( void )

Reads the STATUS register value.

Returns
The read value.

Definition at line 60 of file driver_nvmctrl.c.

◆ NVMCTRL_SetControlD()

void NVMCTRL_SetControlD ( uint8_t bitmask)

Sets specific bits in the CTRLD register.

Parameters
bitmaskSpecifies which bits to set.

Definition at line 43 of file driver_nvmctrl.c.

◆ NVMCTRL_WriteIntFlagsB()

void NVMCTRL_WriteIntFlagsB ( uint8_t value)

Overwrites the INTFLAGSB register value.

Parameters
valueSpecifies the value to write.

Definition at line 55 of file driver_nvmctrl.c.