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

Contains API prototypes for the CRCSCAN (Cyclic Redundancy Check Memory Scan) driver. More...

Files

file  driver_crcscan.c
 Implements APIs for the CRCSCAN (Cyclic Redundancy Check Memory Scan) driver.
file  driver_crcscan.h
 Contains API prototypes for the CRCSCAN (Cyclic Redundancy Check Memory Scan) driver.

Functions

uint8_t CRCSCAN_ReadControlA (void)
 Reads the CTRLA register value.
void CRCSCAN_WriteControlA (uint8_t value)
 Overwrites the CTRLA register value.
void CRCSCAN_ModifyControlA (uint8_t groupMask, uint8_t groupConfig)
 Modifies specific bit field(s) in the CTRLA register.
void CRCSCAN_WriteControlB (uint8_t value)
 Overwrites the CTRLB register value.
void CRCSCAN_WriteIntControl (uint8_t value)
 Overwrites the INTCTRL register value.
uint8_t CRCSCAN_ReadIntFlags (void)
 Reads the INTFLAGS register value.
void CRCSCAN_WriteIntFlags (uint8_t value)
 Overwrites the INTFLAGS register value.
uint8_t CRCSCAN_ReadStatus (void)
 Reads the STATUSA register value.
void CRCSCAN_WriteInputData (uint8_t value)
 Overwrites the DATA register value.
uint32_t CRCSCAN_ReadCrcResult (void)
 Reads the CRC register value.

Detailed Description

Contains API prototypes for the CRCSCAN (Cyclic Redundancy Check Memory Scan) 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

◆ CRCSCAN_ModifyControlA()

void CRCSCAN_ModifyControlA ( uint8_t groupMask,
uint8_t groupConfig )

Modifies specific bit field(s) in the CTRLA 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:

◆ CRCSCAN_ReadControlA()

uint8_t CRCSCAN_ReadControlA ( void )

Reads the CTRLA register value.

Returns
The read value.

◆ CRCSCAN_ReadCrcResult()

uint32_t CRCSCAN_ReadCrcResult ( void )

Reads the CRC register value.

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

◆ CRCSCAN_ReadIntFlags()

uint8_t CRCSCAN_ReadIntFlags ( void )

Reads the INTFLAGS register value.

Returns
The read value.

◆ CRCSCAN_ReadStatus()

uint8_t CRCSCAN_ReadStatus ( void )

Reads the STATUSA register value.

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

◆ CRCSCAN_WriteControlA()

void CRCSCAN_WriteControlA ( uint8_t value)

Overwrites the CTRLA register value.

Parameters
valueSpecifies the value to write.

◆ CRCSCAN_WriteControlB()

void CRCSCAN_WriteControlB ( uint8_t value)

Overwrites the CTRLB register value.

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

◆ CRCSCAN_WriteInputData()

void CRCSCAN_WriteInputData ( uint8_t value)

Overwrites the DATA register value.

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

◆ CRCSCAN_WriteIntControl()

void CRCSCAN_WriteIntControl ( uint8_t value)

Overwrites the INTCTRL register value.

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

◆ CRCSCAN_WriteIntFlags()

void CRCSCAN_WriteIntFlags ( uint8_t value)

Overwrites the INTFLAGS register value.

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