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

Contains API prototypes for the CPUINT (CPU Interrupt Controller) driver. More...

Files

file  driver_cpuint.c
 Implements APIs for the CPUINT (CPU Interrupt Controller) driver.
file  driver_cpuint.h
 Contains API prototypes for the CPUINT (CPU Interrupt Controller) driver.

Functions

void CPUINT_SetControlA (uint8_t bitmask)
 Sets specific bits in the CTRLA register.
void CPUINT_ClearControlA (uint8_t bitmask)
 Clears specific bits in the CTRLA register.
void CPUINT_ModifyControlA (uint8_t groupMask, uint8_t groupConfig)
 Modifies specific bit field(s) in the CTRLA register.
void CPUINT_WriteIntPriority0 (uint8_t value)
 Overwrites the LVL0PRI register value.
void CPUINT_WriteIntPriority1 (uint8_t value)
 Overwrites the LVL1VEC register value.

Detailed Description

Contains API prototypes for the CPUINT (CPU Interrupt 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

◆ CPUINT_ClearControlA()

void CPUINT_ClearControlA ( uint8_t bitmask)

Clears specific bits in the CTRLA register.

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

◆ CPUINT_ModifyControlA()

void CPUINT_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 call graph for this function:
Here is the caller graph for this function:

◆ CPUINT_SetControlA()

void CPUINT_SetControlA ( uint8_t bitmask)

Sets specific bits in the CTRLA register.

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

◆ CPUINT_WriteIntPriority0()

void CPUINT_WriteIntPriority0 ( uint8_t value)

Overwrites the LVL0PRI register value.

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

◆ CPUINT_WriteIntPriority1()

void CPUINT_WriteIntPriority1 ( uint8_t value)

Overwrites the LVL1VEC register value.

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