FuSa 8-Bit Libraries Safety Framework
Loading...
Searching...
No Matches
driver_errctrl.h
Go to the documentation of this file.
1
28
29#ifndef DRIVER_ERRCTRL_H
30#define DRIVER_ERRCTRL_H
31
32// Standard Library Includes
33#include <stdint.h>
34
40uint8_t ERRCTRL_ReadControlA(void);
41
47void ERRCTRL_SetControlA(uint8_t bitmask);
48
54void ERRCTRL_ClearControlA(uint8_t bitmask);
55
62void ERRCTRL_ModifyControlA(uint8_t groupMask, uint8_t groupConfig);
63
69uint8_t ERRCTRL_ReadStatusA(void);
70
76void ERRCTRL_WriteTimeoutValue(uint8_t value);
77
83uint8_t ERRCTRL_ReadResetCause(void);
84
90uint8_t ERRCTRL_ReadConfigVregfail(void);
91
97void ERRCTRL_WriteConfigVregfail(uint8_t value);
98
104uint8_t ERRCTRL_ReadConfigBuserr(void);
105
111void ERRCTRL_WriteConfigBuserr(uint8_t value);
112
118uint8_t ERRCTRL_ReadConfigRam2(void);
119
125void ERRCTRL_WriteConfigRam2(uint8_t value);
126
132uint8_t ERRCTRL_ReadConfigFlash2(void);
133
139void ERRCTRL_WriteConfigFlash2(uint8_t value);
140
146uint8_t ERRCTRL_ReadConfigOpc(void);
147
153void ERRCTRL_WriteConfigOpc(uint8_t value);
154
160uint8_t ERRCTRL_ReadConfigSplim(void);
161
167void ERRCTRL_WriteConfigSplim(uint8_t value);
168
174uint8_t ERRCTRL_ReadConfigRam1(void);
175
181void ERRCTRL_WriteConfigRam1(uint8_t value);
182
188uint8_t ERRCTRL_ReadConfigFlash1(void);
189
195void ERRCTRL_WriteConfigFlash1(uint8_t value);
196
202uint8_t ERRCTRL_ReadConfigVregwarn(void);
203
209void ERRCTRL_WriteConfigVregwarn(uint8_t value);
210
216uint8_t ERRCTRL_ReadConfigCfd0(void);
217
223void ERRCTRL_WriteConfigCfd0(uint8_t value);
224
230uint8_t ERRCTRL_ReadConfigCfd1(void);
231
237void ERRCTRL_WriteConfigCfd1(uint8_t value);
238
244uint8_t ERRCTRL_ReadConfigCfm0(void);
245
251void ERRCTRL_WriteConfigCfm0(uint8_t value);
252
258uint8_t ERRCTRL_ReadConfigCfm1(void);
259
265void ERRCTRL_WriteConfigCfm1(uint8_t value);
266
272uint8_t ERRCTRL_ReadConfigSwdt(void);
273
279void ERRCTRL_WriteConfigSwdt(uint8_t value);
280
286uint8_t ERRCTRL_ReadConfigEeprom(void);
287
293void ERRCTRL_WriteConfigEeprom(uint8_t value);
294
300uint8_t ERRCTRL_ReadConfigEvsys0(void);
301
307void ERRCTRL_WriteConfigEvsys0(uint8_t value);
308
314uint8_t ERRCTRL_ReadConfigEvsys1(void);
315
321void ERRCTRL_WriteConfigEvsys1(uint8_t value);
322
328uint32_t ERRCTRL_ReadChannelStatus(void);
329
335void ERRCTRL_WriteChannelStatus(uint32_t value);
336
342void ERRCTRL_WriteChannelTest(uint32_t value);
343
344#endif // DRIVER_ERRCTRL_H
uint8_t ERRCTRL_ReadConfigFlash1(void)
Reads the ESCFLASH1 register value.
uint8_t ERRCTRL_ReadConfigEvsys0(void)
Reads the ESCEVSYS0 register value.
uint8_t ERRCTRL_ReadConfigVregfail(void)
Reads the ESCVREGFAIL register value.
uint8_t ERRCTRL_ReadConfigCfd1(void)
Reads the ESCCFD1 register value.
uint8_t ERRCTRL_ReadControlA(void)
Reads the CTRLA register value.
uint8_t ERRCTRL_ReadConfigSwdt(void)
Reads the ESCSWDT register value.
void ERRCTRL_WriteConfigRam1(uint8_t value)
Overwrites the ESCRAM1 register value.
void ERRCTRL_WriteConfigSplim(uint8_t value)
Overwrites the ESCSPLIM register value.
void ERRCTRL_ClearControlA(uint8_t bitmask)
Clears specific bits in the CTRLA register.
void ERRCTRL_WriteConfigEeprom(uint8_t value)
Overwrites the ESCEEPROM register value.
void ERRCTRL_WriteConfigCfd0(uint8_t value)
Overwrites the ESCCFD0 register value.
uint8_t ERRCTRL_ReadConfigBuserr(void)
Reads the ESCBUSERR register value.
void ERRCTRL_WriteConfigBuserr(uint8_t value)
Overwrites the ESCBUSERR register value.
uint8_t ERRCTRL_ReadResetCause(void)
Reads the CAUSE register value.
void ERRCTRL_WriteConfigEvsys1(uint8_t value)
Overwrites the ESCEVSYS1 register value.
void ERRCTRL_WriteConfigCfd1(uint8_t value)
Overwrites the ESCCFD1 register value.
uint32_t ERRCTRL_ReadChannelStatus(void)
Reads the ESF register value.
uint8_t ERRCTRL_ReadConfigCfd0(void)
Reads the ESCCFD0 register value.
void ERRCTRL_WriteConfigCfm1(uint8_t value)
Overwrites the ESCCFM1 register value.
uint8_t ERRCTRL_ReadConfigFlash2(void)
Reads the ESCFLASH2 register value.
void ERRCTRL_WriteConfigRam2(uint8_t value)
Overwrites the ESCRAM2 register value.
void ERRCTRL_WriteConfigVregfail(uint8_t value)
Overwrites the ESCVREGFAIL register value.
uint8_t ERRCTRL_ReadConfigSplim(void)
Reads the ESCSPLIM register value.
void ERRCTRL_WriteChannelTest(uint32_t value)
Overwrites the ESFTEST register value.
uint8_t ERRCTRL_ReadConfigEvsys1(void)
Reads the ESCEVSYS1 register value.
void ERRCTRL_WriteConfigFlash2(uint8_t value)
Overwrites the ESCFLASH2 register value.
void ERRCTRL_WriteConfigSwdt(uint8_t value)
Overwrites the ESCSWDT register value.
uint8_t ERRCTRL_ReadConfigOpc(void)
Reads the ESCOPC register value.
void ERRCTRL_WriteConfigFlash1(uint8_t value)
Overwrites the ESCFLASH1 register value.
void ERRCTRL_WriteConfigEvsys0(uint8_t value)
Overwrites the ESCEVSYS0 register value.
void ERRCTRL_WriteTimeoutValue(uint8_t value)
Overwrites the TIMEOUT register value.
uint8_t ERRCTRL_ReadConfigRam1(void)
Reads the ESCRAM1 register value.
uint8_t ERRCTRL_ReadConfigCfm0(void)
Reads the ESCCFM0 register value.
void ERRCTRL_WriteConfigVregwarn(uint8_t value)
Overwrites the ESCVREGWARN register value.
uint8_t ERRCTRL_ReadConfigCfm1(void)
Reads the ESCCFM1 register value.
uint8_t ERRCTRL_ReadStatusA(void)
Reads the STATUSA register value.
void ERRCTRL_SetControlA(uint8_t bitmask)
Sets specific bits in the CTRLA register.
uint8_t ERRCTRL_ReadConfigEeprom(void)
Reads the ESCEEPROM register value.
void ERRCTRL_WriteConfigCfm0(uint8_t value)
Overwrites the ESCCFM0 register value.
uint8_t ERRCTRL_ReadConfigRam2(void)
Reads the ESCRAM2 register value.
void ERRCTRL_WriteConfigOpc(uint8_t value)
Overwrites the ESCOPC register value.
void ERRCTRL_WriteChannelStatus(uint32_t value)
Overwrites the ESF register value.
void ERRCTRL_ModifyControlA(uint8_t groupMask, uint8_t groupConfig)
Modifies specific bit field(s) in the CTRLA register.
uint8_t ERRCTRL_ReadConfigVregwarn(void)
Reads the ESCVREGWARN register value.