![]() |
FuSa 8-Bit Libraries Safety Framework
|
Contains API prototypes for the SLPCTRL (Sleep Controller) driver. More...
Files | |
| file | driver_slpctrl.c |
| Implements APIs for the SLPCTRL (Sleep Controller) driver. | |
Functions | |
| void | SLPCTRL_ModifyControlA (uint8_t groupMask, uint8_t groupConfig) |
| Modifies specific bit field(s) in the CTRLA register. | |
| void | SLPCTRL_WriteControlB (uint8_t value) |
| Overwrites the CTRLB register value. | |
| void | SLPCTRL_WriteVregControl (uint8_t value) |
| Overwrites the VREGCTRL register value. | |
| void | SLPCTRL_WriteIntControl (uint8_t value) |
| Overwrites the INTCTRL register value. | |
| uint8_t | SLPCTRL_ReadIntFlags (void) |
| Reads the INTFLAGS register value. | |
| void | SLPCTRL_WriteIntFlags (uint8_t value) |
| Overwrites the INTFLAGS register value. | |
Contains API prototypes for the SLPCTRL (Sleep 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 SLPCTRL_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 30 of file driver_slpctrl.c.
| uint8_t SLPCTRL_ReadIntFlags | ( | void | ) |
Reads the INTFLAGS register value.
Definition at line 55 of file driver_slpctrl.c.
| void SLPCTRL_WriteControlB | ( | uint8_t | value | ) |
Overwrites the CTRLB register value.
| value | Specifies the value to write. |
Definition at line 40 of file driver_slpctrl.c.
| void SLPCTRL_WriteIntControl | ( | uint8_t | value | ) |
Overwrites the INTCTRL register value.
| value | Specifies the value to write. |
Definition at line 50 of file driver_slpctrl.c.
| void SLPCTRL_WriteIntFlags | ( | uint8_t | value | ) |
Overwrites the INTFLAGS register value.
| value | Specifies the value to write. |
Definition at line 60 of file driver_slpctrl.c.
| void SLPCTRL_WriteVregControl | ( | uint8_t | value | ) |
Overwrites the VREGCTRL register value.
| value | Specifies the value to write. |
Definition at line 45 of file driver_slpctrl.c.