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

Contains API prototypes for the ERRCTRL (Error Controller) driver. More...

#include <stdint.h>

Functions

uint8_t ERRCTRL_ReadControlA (void)
 Reads the CTRLA register value.
void ERRCTRL_SetControlA (uint8_t bitmask)
 Sets specific bits in the CTRLA register.
void ERRCTRL_ClearControlA (uint8_t bitmask)
 Clears specific bits in the CTRLA register.
void ERRCTRL_ModifyControlA (uint8_t groupMask, uint8_t groupConfig)
 Modifies specific bit field(s) in the CTRLA register.
uint8_t ERRCTRL_ReadStatusA (void)
 Reads the STATUSA register value.
void ERRCTRL_WriteTimeoutValue (uint8_t value)
 Overwrites the TIMEOUT register value.
uint8_t ERRCTRL_ReadResetCause (void)
 Reads the CAUSE register value.
uint8_t ERRCTRL_ReadConfigVregfail (void)
 Reads the ESCVREGFAIL register value.
void ERRCTRL_WriteConfigVregfail (uint8_t value)
 Overwrites the ESCVREGFAIL 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_ReadConfigRam2 (void)
 Reads the ESCRAM2 register value.
void ERRCTRL_WriteConfigRam2 (uint8_t value)
 Overwrites the ESCRAM2 register value.
uint8_t ERRCTRL_ReadConfigFlash2 (void)
 Reads the ESCFLASH2 register value.
void ERRCTRL_WriteConfigFlash2 (uint8_t value)
 Overwrites the ESCFLASH2 register value.
uint8_t ERRCTRL_ReadConfigOpc (void)
 Reads the ESCOPC register value.
void ERRCTRL_WriteConfigOpc (uint8_t value)
 Overwrites the ESCOPC register value.
uint8_t ERRCTRL_ReadConfigSplim (void)
 Reads the ESCSPLIM register value.
void ERRCTRL_WriteConfigSplim (uint8_t value)
 Overwrites the ESCSPLIM register value.
uint8_t ERRCTRL_ReadConfigRam1 (void)
 Reads the ESCRAM1 register value.
void ERRCTRL_WriteConfigRam1 (uint8_t value)
 Overwrites the ESCRAM1 register value.
uint8_t ERRCTRL_ReadConfigFlash1 (void)
 Reads the ESCFLASH1 register value.
void ERRCTRL_WriteConfigFlash1 (uint8_t value)
 Overwrites the ESCFLASH1 register value.
uint8_t ERRCTRL_ReadConfigVregwarn (void)
 Reads the ESCVREGWARN register value.
void ERRCTRL_WriteConfigVregwarn (uint8_t value)
 Overwrites the ESCVREGWARN register value.
uint8_t ERRCTRL_ReadConfigCfd0 (void)
 Reads the ESCCFD0 register value.
void ERRCTRL_WriteConfigCfd0 (uint8_t value)
 Overwrites the ESCCFD0 register value.
uint8_t ERRCTRL_ReadConfigCfd1 (void)
 Reads the ESCCFD1 register value.
void ERRCTRL_WriteConfigCfd1 (uint8_t value)
 Overwrites the ESCCFD1 register value.
uint8_t ERRCTRL_ReadConfigCfm0 (void)
 Reads the ESCCFM0 register value.
void ERRCTRL_WriteConfigCfm0 (uint8_t value)
 Overwrites the ESCCFM0 register value.
uint8_t ERRCTRL_ReadConfigCfm1 (void)
 Reads the ESCCFM1 register value.
void ERRCTRL_WriteConfigCfm1 (uint8_t value)
 Overwrites the ESCCFM1 register value.
uint8_t ERRCTRL_ReadConfigSwdt (void)
 Reads the ESCSWDT register value.
void ERRCTRL_WriteConfigSwdt (uint8_t value)
 Overwrites the ESCSWDT register value.
uint8_t ERRCTRL_ReadConfigEeprom (void)
 Reads the ESCEEPROM register value.
void ERRCTRL_WriteConfigEeprom (uint8_t value)
 Overwrites the ESCEEPROM register value.
uint8_t ERRCTRL_ReadConfigEvsys0 (void)
 Reads the ESCEVSYS0 register value.
void ERRCTRL_WriteConfigEvsys0 (uint8_t value)
 Overwrites the ESCEVSYS0 register value.
uint8_t ERRCTRL_ReadConfigEvsys1 (void)
 Reads the ESCEVSYS1 register value.
void ERRCTRL_WriteConfigEvsys1 (uint8_t value)
 Overwrites the ESCEVSYS1 register value.
uint32_t ERRCTRL_ReadChannelStatus (void)
 Reads the ESF register value.
void ERRCTRL_WriteChannelStatus (uint32_t value)
 Overwrites the ESF register value.
void ERRCTRL_WriteChannelTest (uint32_t value)
 Overwrites the ESFTEST register value.

Detailed Description

Contains API prototypes for the ERRCTRL (Error Controller) 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.