AVR SD Safety Framework 1.0.0
Loading...
Searching...
No Matches
driver_gpr.h File Reference

Contains API prototypes for the GPR (General Purpose Registers) driver. More...

#include <stdint.h>

Functions

uint8_t GPR_ReadRegister0 (void)
 Reads the GPR0 register value.
void GPR_WriteRegister0 (uint8_t value)
 Overwrites the GPR0 register value.
uint8_t GPR_ReadRegister1 (void)
 Reads the GPR1 register value.
void GPR_WriteRegister1 (uint8_t value)
 Overwrites the GPR1 register value.
uint8_t GPR_ReadRegister2 (void)
 Reads the GPR2 register value.
void GPR_SetRegister2 (uint8_t bitmask)
 Sets specific bits in the GPR2 register.
void GPR_ClearRegister2 (uint8_t bitmask)
 Clears specific bits in the GPR2 register.
void GPR_ModifyRegister2 (uint8_t groupMask, uint8_t groupConfig)
 Modifies specific bit field(s) in the GPR2 register.
uint8_t GPR_ReadRegister3 (void)
 Reads the GPR3 register value.
void GPR_WriteRegister3 (uint8_t value)
 Overwrites the GPR3 register value.
void GPR_SetRegister3 (uint8_t bitmask)
 Sets specific bits in the GPR3 register.
void GPR_ClearRegister3 (uint8_t bitmask)
 Clears specific bits in the GPR3 register.

Detailed Description

Contains API prototypes for the GPR (General Purpose Registers) driver.

Version
1.0.0

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.