![]() |
FuSa 8-Bit Libraries Safety Framework
|
Contains API prototypes for the ERRCTRL (Error Controller) driver. More...
Files | |
| file | driver_errctrl.c |
| Implements APIs for the ERRCTRL (Error Controller) driver. | |
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. | |
Contains API prototypes for the ERRCTRL (Error Controller) driver.
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.
| void ERRCTRL_ClearControlA | ( | uint8_t | bitmask | ) |
Clears specific bits in the CTRLA register.
| bitmask | Specifies which bits to clear. |
Definition at line 45 of file driver_errctrl.c.
| void ERRCTRL_ModifyControlA | ( | uint8_t | groupMask, |
| uint8_t | groupConfig ) |
Modifies specific bit field(s) in the CTRLA register.
| groupMask | Specifies which bit field values to modify (clear and write). |
| groupConfig | Specifies the bit pattern to write to the specified bit fields. |
Definition at line 52 of file driver_errctrl.c.
| uint32_t ERRCTRL_ReadChannelStatus | ( | void | ) |
Reads the ESF register value.
Definition at line 247 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadConfigBuserr | ( | void | ) |
Reads the ESCBUSERR register value.
Definition at line 87 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadConfigCfd0 | ( | void | ) |
Reads the ESCCFD0 register value.
Definition at line 167 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadConfigCfd1 | ( | void | ) |
Reads the ESCCFD1 register value.
Definition at line 177 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadConfigCfm0 | ( | void | ) |
Reads the ESCCFM0 register value.
Definition at line 187 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadConfigCfm1 | ( | void | ) |
Reads the ESCCFM1 register value.
Definition at line 197 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadConfigEeprom | ( | void | ) |
Reads the ESCEEPROM register value.
Definition at line 217 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadConfigEvsys0 | ( | void | ) |
Reads the ESCEVSYS0 register value.
Definition at line 227 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadConfigEvsys1 | ( | void | ) |
Reads the ESCEVSYS1 register value.
Definition at line 237 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadConfigFlash1 | ( | void | ) |
Reads the ESCFLASH1 register value.
Definition at line 147 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadConfigFlash2 | ( | void | ) |
Reads the ESCFLASH2 register value.
Definition at line 107 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadConfigOpc | ( | void | ) |
Reads the ESCOPC register value.
Definition at line 117 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadConfigRam1 | ( | void | ) |
Reads the ESCRAM1 register value.
Definition at line 137 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadConfigRam2 | ( | void | ) |
Reads the ESCRAM2 register value.
Definition at line 97 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadConfigSplim | ( | void | ) |
Reads the ESCSPLIM register value.
Definition at line 127 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadConfigSwdt | ( | void | ) |
Reads the ESCSWDT register value.
Definition at line 207 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadConfigVregfail | ( | void | ) |
Reads the ESCVREGFAIL register value.
Definition at line 77 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadConfigVregwarn | ( | void | ) |
Reads the ESCVREGWARN register value.
Definition at line 157 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadControlA | ( | void | ) |
Reads the CTRLA register value.
Definition at line 33 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadResetCause | ( | void | ) |
Reads the CAUSE register value.
Definition at line 72 of file driver_errctrl.c.
| uint8_t ERRCTRL_ReadStatusA | ( | void | ) |
Reads the STATUSA register value.
Definition at line 62 of file driver_errctrl.c.
| void ERRCTRL_SetControlA | ( | uint8_t | bitmask | ) |
Sets specific bits in the CTRLA register.
| bitmask | Specifies which bits to set. |
Definition at line 38 of file driver_errctrl.c.
| void ERRCTRL_WriteChannelStatus | ( | uint32_t | value | ) |
Overwrites the ESF register value.
| value | Specifies the value to write. |
Definition at line 252 of file driver_errctrl.c.
| void ERRCTRL_WriteChannelTest | ( | uint32_t | value | ) |
Overwrites the ESFTEST register value.
| value | Specifies the value to write. |
Definition at line 257 of file driver_errctrl.c.
| void ERRCTRL_WriteConfigBuserr | ( | uint8_t | value | ) |
Overwrites the ESCBUSERR register value.
| value | Specifies the value to write. |
Definition at line 92 of file driver_errctrl.c.
| void ERRCTRL_WriteConfigCfd0 | ( | uint8_t | value | ) |
Overwrites the ESCCFD0 register value.
| value | Specifies the value to write. |
Definition at line 172 of file driver_errctrl.c.
| void ERRCTRL_WriteConfigCfd1 | ( | uint8_t | value | ) |
Overwrites the ESCCFD1 register value.
| value | Specifies the value to write. |
Definition at line 182 of file driver_errctrl.c.
| void ERRCTRL_WriteConfigCfm0 | ( | uint8_t | value | ) |
Overwrites the ESCCFM0 register value.
| value | Specifies the value to write. |
Definition at line 192 of file driver_errctrl.c.
| void ERRCTRL_WriteConfigCfm1 | ( | uint8_t | value | ) |
Overwrites the ESCCFM1 register value.
| value | Specifies the value to write. |
Definition at line 202 of file driver_errctrl.c.
| void ERRCTRL_WriteConfigEeprom | ( | uint8_t | value | ) |
Overwrites the ESCEEPROM register value.
| value | Specifies the value to write. |
Definition at line 222 of file driver_errctrl.c.
| void ERRCTRL_WriteConfigEvsys0 | ( | uint8_t | value | ) |
Overwrites the ESCEVSYS0 register value.
| value | Specifies the value to write. |
Definition at line 232 of file driver_errctrl.c.
| void ERRCTRL_WriteConfigEvsys1 | ( | uint8_t | value | ) |
Overwrites the ESCEVSYS1 register value.
| value | Specifies the value to write. |
Definition at line 242 of file driver_errctrl.c.
| void ERRCTRL_WriteConfigFlash1 | ( | uint8_t | value | ) |
Overwrites the ESCFLASH1 register value.
| value | Specifies the value to write. |
Definition at line 152 of file driver_errctrl.c.
| void ERRCTRL_WriteConfigFlash2 | ( | uint8_t | value | ) |
Overwrites the ESCFLASH2 register value.
| value | Specifies the value to write. |
Definition at line 112 of file driver_errctrl.c.
| void ERRCTRL_WriteConfigOpc | ( | uint8_t | value | ) |
Overwrites the ESCOPC register value.
| value | Specifies the value to write. |
Definition at line 122 of file driver_errctrl.c.
| void ERRCTRL_WriteConfigRam1 | ( | uint8_t | value | ) |
Overwrites the ESCRAM1 register value.
| value | Specifies the value to write. |
Definition at line 142 of file driver_errctrl.c.
| void ERRCTRL_WriteConfigRam2 | ( | uint8_t | value | ) |
Overwrites the ESCRAM2 register value.
| value | Specifies the value to write. |
Definition at line 102 of file driver_errctrl.c.
| void ERRCTRL_WriteConfigSplim | ( | uint8_t | value | ) |
Overwrites the ESCSPLIM register value.
| value | Specifies the value to write. |
Definition at line 132 of file driver_errctrl.c.
| void ERRCTRL_WriteConfigSwdt | ( | uint8_t | value | ) |
Overwrites the ESCSWDT register value.
| value | Specifies the value to write. |
Definition at line 212 of file driver_errctrl.c.
| void ERRCTRL_WriteConfigVregfail | ( | uint8_t | value | ) |
Overwrites the ESCVREGFAIL register value.
| value | Specifies the value to write. |
Definition at line 82 of file driver_errctrl.c.
| void ERRCTRL_WriteConfigVregwarn | ( | uint8_t | value | ) |
Overwrites the ESCVREGWARN register value.
| value | Specifies the value to write. |
Definition at line 162 of file driver_errctrl.c.
| void ERRCTRL_WriteTimeoutValue | ( | uint8_t | value | ) |
Overwrites the TIMEOUT register value.
| value | Specifies the value to write. |
Definition at line 67 of file driver_errctrl.c.