![]() |
FuSa 8-Bit Libraries Safety Framework
|
Contains API prototypes for the CPUCTRL (CPU Control) driver. More...
Files | |
| file | driver_cpuctrl.c |
| Implements APIs for the CPUCTRL (CPU Control) driver. | |
Functions | |
| void | CPUCTRL_WriteSplim (uint16_t value) |
| Overwrites the SPLIM register value. | |
| void | CPUCTRL_SetControlA (uint8_t bitmask) |
| Sets specific bits in the CTRLA register. | |
| void | CPUCTRL_ClearControlA (uint8_t bitmask) |
| Clears specific bits in the CTRLA register. | |
| uint8_t | CPUCTRL_ReadIntFlags (void) |
| Reads the INTFLAGS register value. | |
| void | CPUCTRL_WriteIntFlags (uint8_t value) |
| Overwrites the INTFLAGS register value. | |
| uint8_t | CPUCTRL_ReadStatusRegister (void) |
| Reads the SREG register value. | |
| void | CPUCTRL_SetStatusRegister (uint8_t bitmask) |
| Sets specific bits in the SREG register. | |
| void | CPUCTRL_ClearStatusRegister (uint8_t bitmask) |
| Clears specific bits in the SREG register. | |
Contains API prototypes for the CPUCTRL (CPU Control) 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 CPUCTRL_ClearControlA | ( | uint8_t | bitmask | ) |
Clears specific bits in the CTRLA register.
| bitmask | Specifies which bits to clear. |
Definition at line 42 of file driver_cpuctrl.c.
| void CPUCTRL_ClearStatusRegister | ( | uint8_t | bitmask | ) |
Clears specific bits in the SREG register.
| bitmask | Specifies which bits to clear. |
Definition at line 69 of file driver_cpuctrl.c.
| uint8_t CPUCTRL_ReadIntFlags | ( | void | ) |
Reads the INTFLAGS register value.
Definition at line 49 of file driver_cpuctrl.c.
| uint8_t CPUCTRL_ReadStatusRegister | ( | void | ) |
Reads the SREG register value.
Definition at line 59 of file driver_cpuctrl.c.
| void CPUCTRL_SetControlA | ( | uint8_t | bitmask | ) |
Sets specific bits in the CTRLA register.
| bitmask | Specifies which bits to set. |
Definition at line 35 of file driver_cpuctrl.c.
| void CPUCTRL_SetStatusRegister | ( | uint8_t | bitmask | ) |
Sets specific bits in the SREG register.
| bitmask | Specifies which bits to set. |
Definition at line 64 of file driver_cpuctrl.c.
| void CPUCTRL_WriteIntFlags | ( | uint8_t | value | ) |
Overwrites the INTFLAGS register value.
| value | Specifies the value to write. |
Definition at line 54 of file driver_cpuctrl.c.
| void CPUCTRL_WriteSplim | ( | uint16_t | value | ) |
Overwrites the SPLIM register value.
| value | Specifies the value to write. |
Definition at line 30 of file driver_cpuctrl.c.