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

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

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

◆ CPUINT_ClearControlA()

void CPUINT_ClearControlA ( uint8_t bitmask)

Clears specific bits in the CTRLA register.

Parameters
bitmaskSpecifies which bits to clear.

Definition at line 37 of file driver_cpuint.c.

◆ CPUINT_SetControlA()

void CPUINT_SetControlA ( uint8_t bitmask)

Sets specific bits in the CTRLA register.

Parameters
bitmaskSpecifies which bits to set.

Definition at line 30 of file driver_cpuint.c.

◆ CPUINT_WriteIntPriority0()

void CPUINT_WriteIntPriority0 ( uint8_t value)

Overwrites the LVL0PRI register value.

Parameters
valueSpecifies the value to write.

Definition at line 44 of file driver_cpuint.c.

◆ CPUINT_WriteIntPriority1()

void CPUINT_WriteIntPriority1 ( uint8_t value)

Overwrites the LVL1VEC register value.

Parameters
valueSpecifies the value to write.

Definition at line 49 of file driver_cpuint.c.