![]() |
AVR SD Safety Framework 1.0.0
|
Contains API prototypes for the CLKCTRL (Clock Controller) driver. More...
Files | |
| file | driver_clkctrl.c |
| Implements APIs for the CLKCTRL (Clock Controller) driver. | |
| file | driver_clkctrl.h |
| Contains API prototypes for the CLKCTRL (Clock Controller) driver. | |
Functions | |
| void | CLKCTRL_ModifyMainControlA (uint8_t groupMask, uint8_t groupConfig) |
| Modifies specific bit field(s) in the MCLKCTRLA register. | |
| void | CLKCTRL_WriteMainControlB (uint8_t value) |
| Overwrites the MCLKCTRLB register value. | |
| void | CLKCTRL_SetMainControlC (uint8_t bitmask) |
| Sets specific bits in the MCLKCTRLC register. | |
| uint8_t | CLKCTRL_ReadIntControl (void) |
| Reads the MCLKINTCTRL register value. | |
| void | CLKCTRL_SetIntControl (uint8_t bitmask) |
| Sets specific bits in the MCLKINTCTRL register. | |
| void | CLKCTRL_ClearIntControl (uint8_t bitmask) |
| Clears specific bits in the MCLKINTCTRL register. | |
| uint8_t | CLKCTRL_ReadIntFlags (void) |
| Reads the MCLKINTFLAGS register value. | |
| void | CLKCTRL_WriteIntFlags (uint8_t value) |
| Overwrites the MCLKINTFLAGS register value. | |
| uint8_t | CLKCTRL_ReadCfd0ControlA (void) |
| Reads the MCLKCFD0CTRLA register value. | |
| void | CLKCTRL_WriteCfd0ControlA (uint8_t value) |
| Overwrites the MCLKCFD0CTRLA register value. | |
| void | CLKCTRL_ClearCfd0ControlA (uint8_t bitmask) |
| Clears specific bits in the MCLKCFD0CTRLA register. | |
| uint8_t | CLKCTRL_ReadCfd1ControlA (void) |
| Reads the MCLKCFD1CTRLA register value. | |
| void | CLKCTRL_WriteCfd1ControlA (uint8_t value) |
| Overwrites the MCLKCFD1CTRLA register value. | |
| void | CLKCTRL_ClearCfd1ControlA (uint8_t bitmask) |
| Clears specific bits in the MCLKCFD1CTRLA register. | |
| uint16_t | CLKCTRL_ReadCfm0WindowLow (void) |
| Reads the MCLKCFM0WINLT register value. | |
| void | CLKCTRL_WriteCfm0WindowLow (uint16_t value) |
| Overwrites the MCLKCFM0WINLT register value. | |
| uint16_t | CLKCTRL_ReadCfm0WindowHigh (void) |
| Reads the MCLKCFM0WINHT register value. | |
| void | CLKCTRL_WriteCfm0WindowHigh (uint16_t value) |
| Overwrites the MCLKCFM0WINHT register value. | |
| uint16_t | CLKCTRL_ReadCfm0RefNum (void) |
| Reads the MCLKCFM0REFNUM register value. | |
| void | CLKCTRL_WriteCfm0RefNum (uint16_t value) |
| Overwrites the MCLKCFM0REFNUM register value. | |
| uint8_t | CLKCTRL_ReadCfm0ControlA (void) |
| Reads the MCLKCFM0CTRLA register value. | |
| void | CLKCTRL_WriteCfm0ControlA (uint8_t value) |
| Overwrites the MCLKCFM0CTRLA register value. | |
| void | CLKCTRL_ClearCfm0ControlA (uint8_t bitmask) |
| Clears specific bits in the MCLKCFM0CTRLA register. | |
| uint8_t | CLKCTRL_ReadCfm0ControlB (void) |
| Reads the MCLKCFM0CTRLB register value. | |
| void | CLKCTRL_WriteCfm0ControlB (uint8_t value) |
| Overwrites the MCLKCFM0CTRLB register value. | |
| uint16_t | CLKCTRL_ReadCfm1WindowLow (void) |
| Reads the MCLKCFM1WINLT register value. | |
| void | CLKCTRL_WriteCfm1WindowLow (uint16_t value) |
| Overwrites the MCLKCFM1WINLT register value. | |
| uint16_t | CLKCTRL_ReadCfm1WindowHigh (void) |
| Reads the MCLKCFM1WINHT register value. | |
| void | CLKCTRL_WriteCfm1WindowHigh (uint16_t value) |
| Overwrites the MCLKCFM1WINHT register value. | |
| uint16_t | CLKCTRL_ReadCfm1RefNum (void) |
| Reads the MCLKCFM1REFNUM register value. | |
| void | CLKCTRL_WriteCfm1RefNum (uint16_t value) |
| Overwrites the MCLKCFM1REFNUM register value. | |
| uint8_t | CLKCTRL_ReadCfm1ControlA (void) |
| Reads the MCLKCFM1CTRLA register value. | |
| void | CLKCTRL_WriteCfm1ControlA (uint8_t value) |
| Overwrites the MCLKCFM1CTRLA register value. | |
| void | CLKCTRL_ClearCfm1ControlA (uint8_t bitmask) |
| Clears specific bits in the MCLKCFM1CTRLA register. | |
| uint8_t | CLKCTRL_ReadCfm1ControlB (void) |
| Reads the MCLKCFM1CTRLB register value. | |
| void | CLKCTRL_WriteCfm1ControlB (uint8_t value) |
| Overwrites the MCLKCFM1CTRLB register value. | |
| void | CLKCTRL_ModifyOscHfControlA (uint8_t groupMask, uint8_t groupConfig) |
| Modifies specific bit field(s) in the OSCHFCTRLA register. | |
Contains API prototypes for the CLKCTRL (Clock 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 CLKCTRL_ClearCfd0ControlA | ( | uint8_t | bitmask | ) |
Clears specific bits in the MCLKCFD0CTRLA register.
| bitmask | Specifies which bits to clear. |
| void CLKCTRL_ClearCfd1ControlA | ( | uint8_t | bitmask | ) |
Clears specific bits in the MCLKCFD1CTRLA register.
| bitmask | Specifies which bits to clear. |
| void CLKCTRL_ClearCfm0ControlA | ( | uint8_t | bitmask | ) |
Clears specific bits in the MCLKCFM0CTRLA register.
| bitmask | Specifies which bits to clear. |
| void CLKCTRL_ClearCfm1ControlA | ( | uint8_t | bitmask | ) |
Clears specific bits in the MCLKCFM1CTRLA register.
| bitmask | Specifies which bits to clear. |
| void CLKCTRL_ClearIntControl | ( | uint8_t | bitmask | ) |
Clears specific bits in the MCLKINTCTRL register.
| bitmask | Specifies which bits to clear. |
| void CLKCTRL_ModifyMainControlA | ( | uint8_t | groupMask, |
| uint8_t | groupConfig ) |
Modifies specific bit field(s) in the MCLKCTRLA register.
| groupMask | Specifies which bit field values to modify (clear and write). |
| groupConfig | Specifies the bit pattern to write to the specified bit fields. |
| void CLKCTRL_ModifyOscHfControlA | ( | uint8_t | groupMask, |
| uint8_t | groupConfig ) |
Modifies specific bit field(s) in the OSCHFCTRLA register.
| groupMask | Specifies which bit field values to modify (clear and write). |
| groupConfig | Specifies the bit pattern to write to the specified bit fields. |
| uint8_t CLKCTRL_ReadCfd0ControlA | ( | void | ) |
Reads the MCLKCFD0CTRLA register value.
| uint8_t CLKCTRL_ReadCfd1ControlA | ( | void | ) |
Reads the MCLKCFD1CTRLA register value.
| uint8_t CLKCTRL_ReadCfm0ControlA | ( | void | ) |
Reads the MCLKCFM0CTRLA register value.
| uint8_t CLKCTRL_ReadCfm0ControlB | ( | void | ) |
Reads the MCLKCFM0CTRLB register value.
| uint16_t CLKCTRL_ReadCfm0RefNum | ( | void | ) |
Reads the MCLKCFM0REFNUM register value.
| uint16_t CLKCTRL_ReadCfm0WindowHigh | ( | void | ) |
Reads the MCLKCFM0WINHT register value.
| uint16_t CLKCTRL_ReadCfm0WindowLow | ( | void | ) |
Reads the MCLKCFM0WINLT register value.
| uint8_t CLKCTRL_ReadCfm1ControlA | ( | void | ) |
Reads the MCLKCFM1CTRLA register value.
| uint8_t CLKCTRL_ReadCfm1ControlB | ( | void | ) |
Reads the MCLKCFM1CTRLB register value.
| uint16_t CLKCTRL_ReadCfm1RefNum | ( | void | ) |
Reads the MCLKCFM1REFNUM register value.
| uint16_t CLKCTRL_ReadCfm1WindowHigh | ( | void | ) |
Reads the MCLKCFM1WINHT register value.
| uint16_t CLKCTRL_ReadCfm1WindowLow | ( | void | ) |
Reads the MCLKCFM1WINLT register value.
| uint8_t CLKCTRL_ReadIntControl | ( | void | ) |
Reads the MCLKINTCTRL register value.
| uint8_t CLKCTRL_ReadIntFlags | ( | void | ) |
Reads the MCLKINTFLAGS register value.
| void CLKCTRL_SetIntControl | ( | uint8_t | bitmask | ) |
Sets specific bits in the MCLKINTCTRL register.
| bitmask | Specifies which bits to set. |
| void CLKCTRL_SetMainControlC | ( | uint8_t | bitmask | ) |
Sets specific bits in the MCLKCTRLC register.
| bitmask | Specifies which bits to set. |
| void CLKCTRL_WriteCfd0ControlA | ( | uint8_t | value | ) |
Overwrites the MCLKCFD0CTRLA register value.
| value | Specifies the value to write. |
| void CLKCTRL_WriteCfd1ControlA | ( | uint8_t | value | ) |
Overwrites the MCLKCFD1CTRLA register value.
| value | Specifies the value to write. |
| void CLKCTRL_WriteCfm0ControlA | ( | uint8_t | value | ) |
Overwrites the MCLKCFM0CTRLA register value.
| value | Specifies the value to write. |
| void CLKCTRL_WriteCfm0ControlB | ( | uint8_t | value | ) |
Overwrites the MCLKCFM0CTRLB register value.
| value | Specifies the value to write. |
| void CLKCTRL_WriteCfm0RefNum | ( | uint16_t | value | ) |
Overwrites the MCLKCFM0REFNUM register value.
| value | Specifies the value to write. |
| void CLKCTRL_WriteCfm0WindowHigh | ( | uint16_t | value | ) |
Overwrites the MCLKCFM0WINHT register value.
| value | Specifies the value to write. |
| void CLKCTRL_WriteCfm0WindowLow | ( | uint16_t | value | ) |
Overwrites the MCLKCFM0WINLT register value.
| value | Specifies the value to write. |
| void CLKCTRL_WriteCfm1ControlA | ( | uint8_t | value | ) |
Overwrites the MCLKCFM1CTRLA register value.
| value | Specifies the value to write. |
| void CLKCTRL_WriteCfm1ControlB | ( | uint8_t | value | ) |
Overwrites the MCLKCFM1CTRLB register value.
| value | Specifies the value to write. |
| void CLKCTRL_WriteCfm1RefNum | ( | uint16_t | value | ) |
Overwrites the MCLKCFM1REFNUM register value.
| value | Specifies the value to write. |
| void CLKCTRL_WriteCfm1WindowHigh | ( | uint16_t | value | ) |
Overwrites the MCLKCFM1WINHT register value.
| value | Specifies the value to write. |
| void CLKCTRL_WriteCfm1WindowLow | ( | uint16_t | value | ) |
Overwrites the MCLKCFM1WINLT register value.
| value | Specifies the value to write. |
| void CLKCTRL_WriteIntFlags | ( | uint8_t | value | ) |
Overwrites the MCLKINTFLAGS register value.
| value | Specifies the value to write. |
| void CLKCTRL_WriteMainControlB | ( | uint8_t | value | ) |
Overwrites the MCLKCTRLB register value.
| value | Specifies the value to write. |