FuSa 8-Bit Libraries Safety Framework
Loading...
Searching...
No Matches
driver_gpr.h
Go to the documentation of this file.
1
28
29#ifndef DRIVER_GPR_H
30#define DRIVER_GPR_H
31
32// Standard Library Includes
33#include <stdint.h>
34
40uint8_t GPR_ReadRegister0(void);
41
47void GPR_WriteRegister0(uint8_t value);
48
54uint8_t GPR_ReadRegister1(void);
55
61void GPR_WriteRegister1(uint8_t value);
62
69void GPR_ModifyRegister1(uint8_t groupMask, uint8_t groupConfig);
70
76uint8_t GPR_ReadRegister2(void);
77
83void GPR_WriteRegister2(uint8_t value);
84
90void GPR_SetRegister2(uint8_t bitmask);
91
97void GPR_ClearRegister2(uint8_t bitmask);
98
105void GPR_ModifyRegister2(uint8_t groupMask, uint8_t groupConfig);
106
112uint8_t GPR_ReadRegister3(void);
113
119void GPR_WriteRegister3(uint8_t value);
120
126void GPR_SetRegister3(uint8_t bitmask);
127
133void GPR_ClearRegister3(uint8_t bitmask);
134
135#endif // DRIVER_GPR_H
uint8_t GPR_ReadRegister2(void)
Reads the GPR2 register value.
Definition driver_gpr.c:62
void GPR_ModifyRegister1(uint8_t groupMask, uint8_t groupConfig)
Modifies specific bit field(s) in the GPR1 register.
Definition driver_gpr.c:52
void GPR_ClearRegister2(uint8_t bitmask)
Clears specific bits in the GPR2 register.
Definition driver_gpr.c:77
void GPR_ModifyRegister2(uint8_t groupMask, uint8_t groupConfig)
Modifies specific bit field(s) in the GPR2 register.
Definition driver_gpr.c:82
uint8_t GPR_ReadRegister1(void)
Reads the GPR1 register value.
Definition driver_gpr.c:42
void GPR_WriteRegister0(uint8_t value)
Overwrites the GPR0 register value.
Definition driver_gpr.c:37
void GPR_ClearRegister3(uint8_t bitmask)
Clears specific bits in the GPR3 register.
Definition driver_gpr.c:107
void GPR_WriteRegister3(uint8_t value)
Overwrites the GPR3 register value.
Definition driver_gpr.c:97
void GPR_SetRegister2(uint8_t bitmask)
Sets specific bits in the GPR2 register.
Definition driver_gpr.c:72
void GPR_WriteRegister2(uint8_t value)
Overwrites the GPR2 register value.
Definition driver_gpr.c:67
uint8_t GPR_ReadRegister3(void)
Reads the GPR3 register value.
Definition driver_gpr.c:92
uint8_t GPR_ReadRegister0(void)
Reads the GPR0 register value.
Definition driver_gpr.c:32
void GPR_SetRegister3(uint8_t bitmask)
Sets specific bits in the GPR3 register.
Definition driver_gpr.c:102
void GPR_WriteRegister1(uint8_t value)
Overwrites the GPR1 register value.
Definition driver_gpr.c:47