FuSa 8-Bit Libraries Safety Framework
Loading...
Searching...
No Matches
driver_gpr.c File Reference

Implements APIs for the GPR (General Purpose Registers) driver. More...

#include <stdint.h>
#include <driver_gpr.h>
#include <xc.h>

Go to the source code of this file.

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.
void GPR_ModifyRegister1 (uint8_t groupMask, uint8_t groupConfig)
 Modifies specific bit field(s) in the GPR1 register.
uint8_t GPR_ReadRegister2 (void)
 Reads the GPR2 register value.
void GPR_WriteRegister2 (uint8_t value)
 Overwrites 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

Implements APIs for the GPR (General Purpose Registers) driver.

Definition in file driver_gpr.c.