![]() |
FuSa 8-Bit Libraries Safety Framework
|
Contains API prototypes for the CLKCTRL (Clock Controller) driver. More...
Files | |
| file | driver_clkctrl.c |
| Implements APIs 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_WriteIntControl (uint8_t value) |
| Overwrites 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_SetCfd0ControlA (uint8_t bitmask) |
| Sets specific bits in the MCLKCFD0CTRLA register. | |
| 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_SetCfd1ControlA (uint8_t bitmask) |
| Sets specific bits in the MCLKCFD1CTRLA register. | |
| 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. |
Definition at line 103 of file driver_clkctrl.c.
| void CLKCTRL_ClearCfd1ControlA | ( | uint8_t | bitmask | ) |
Clears specific bits in the MCLKCFD1CTRLA register.
| bitmask | Specifies which bits to clear. |
Definition at line 127 of file driver_clkctrl.c.
| void CLKCTRL_ClearCfm0ControlA | ( | uint8_t | bitmask | ) |
Clears specific bits in the MCLKCFM0CTRLA register.
| bitmask | Specifies which bits to clear. |
Definition at line 174 of file driver_clkctrl.c.
| void CLKCTRL_ClearCfm1ControlA | ( | uint8_t | bitmask | ) |
Clears specific bits in the MCLKCFM1CTRLA register.
| bitmask | Specifies which bits to clear. |
Definition at line 231 of file driver_clkctrl.c.
| void CLKCTRL_ClearIntControl | ( | uint8_t | bitmask | ) |
Clears specific bits in the MCLKINTCTRL register.
| bitmask | Specifies which bits to clear. |
Definition at line 69 of file driver_clkctrl.c.
| 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. |
Definition at line 30 of file driver_clkctrl.c.
| 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. |
Definition at line 248 of file driver_clkctrl.c.
| uint8_t CLKCTRL_ReadCfd0ControlA | ( | void | ) |
Reads the MCLKCFD0CTRLA register value.
Definition at line 86 of file driver_clkctrl.c.
| uint8_t CLKCTRL_ReadCfd1ControlA | ( | void | ) |
Reads the MCLKCFD1CTRLA register value.
Definition at line 110 of file driver_clkctrl.c.
| uint8_t CLKCTRL_ReadCfm0ControlA | ( | void | ) |
Reads the MCLKCFM0CTRLA register value.
Definition at line 164 of file driver_clkctrl.c.
| uint8_t CLKCTRL_ReadCfm0ControlB | ( | void | ) |
Reads the MCLKCFM0CTRLB register value.
Definition at line 181 of file driver_clkctrl.c.
| uint16_t CLKCTRL_ReadCfm0RefNum | ( | void | ) |
Reads the MCLKCFM0REFNUM register value.
Definition at line 154 of file driver_clkctrl.c.
| uint16_t CLKCTRL_ReadCfm0WindowHigh | ( | void | ) |
Reads the MCLKCFM0WINHT register value.
Definition at line 144 of file driver_clkctrl.c.
| uint16_t CLKCTRL_ReadCfm0WindowLow | ( | void | ) |
Reads the MCLKCFM0WINLT register value.
Definition at line 134 of file driver_clkctrl.c.
| uint8_t CLKCTRL_ReadCfm1ControlA | ( | void | ) |
Reads the MCLKCFM1CTRLA register value.
Definition at line 221 of file driver_clkctrl.c.
| uint8_t CLKCTRL_ReadCfm1ControlB | ( | void | ) |
Reads the MCLKCFM1CTRLB register value.
Definition at line 238 of file driver_clkctrl.c.
| uint16_t CLKCTRL_ReadCfm1RefNum | ( | void | ) |
Reads the MCLKCFM1REFNUM register value.
Definition at line 211 of file driver_clkctrl.c.
| uint16_t CLKCTRL_ReadCfm1WindowHigh | ( | void | ) |
Reads the MCLKCFM1WINHT register value.
Definition at line 201 of file driver_clkctrl.c.
| uint16_t CLKCTRL_ReadCfm1WindowLow | ( | void | ) |
Reads the MCLKCFM1WINLT register value.
Definition at line 191 of file driver_clkctrl.c.
| uint8_t CLKCTRL_ReadIntControl | ( | void | ) |
Reads the MCLKINTCTRL register value.
Definition at line 52 of file driver_clkctrl.c.
| uint8_t CLKCTRL_ReadIntFlags | ( | void | ) |
Reads the MCLKINTFLAGS register value.
Definition at line 76 of file driver_clkctrl.c.
| void CLKCTRL_SetCfd0ControlA | ( | uint8_t | bitmask | ) |
Sets specific bits in the MCLKCFD0CTRLA register.
| bitmask | Specifies which bits to set. |
Definition at line 96 of file driver_clkctrl.c.
| void CLKCTRL_SetCfd1ControlA | ( | uint8_t | bitmask | ) |
Sets specific bits in the MCLKCFD1CTRLA register.
| bitmask | Specifies which bits to set. |
Definition at line 120 of file driver_clkctrl.c.
| void CLKCTRL_SetIntControl | ( | uint8_t | bitmask | ) |
Sets specific bits in the MCLKINTCTRL register.
| bitmask | Specifies which bits to set. |
Definition at line 62 of file driver_clkctrl.c.
| void CLKCTRL_SetMainControlC | ( | uint8_t | bitmask | ) |
Sets specific bits in the MCLKCTRLC register.
| bitmask | Specifies which bits to set. |
Definition at line 45 of file driver_clkctrl.c.
| void CLKCTRL_WriteCfd0ControlA | ( | uint8_t | value | ) |
Overwrites the MCLKCFD0CTRLA register value.
| value | Specifies the value to write. |
Definition at line 91 of file driver_clkctrl.c.
| void CLKCTRL_WriteCfd1ControlA | ( | uint8_t | value | ) |
Overwrites the MCLKCFD1CTRLA register value.
| value | Specifies the value to write. |
Definition at line 115 of file driver_clkctrl.c.
| void CLKCTRL_WriteCfm0ControlA | ( | uint8_t | value | ) |
Overwrites the MCLKCFM0CTRLA register value.
| value | Specifies the value to write. |
Definition at line 169 of file driver_clkctrl.c.
| void CLKCTRL_WriteCfm0ControlB | ( | uint8_t | value | ) |
Overwrites the MCLKCFM0CTRLB register value.
| value | Specifies the value to write. |
Definition at line 186 of file driver_clkctrl.c.
| void CLKCTRL_WriteCfm0RefNum | ( | uint16_t | value | ) |
Overwrites the MCLKCFM0REFNUM register value.
| value | Specifies the value to write. |
Definition at line 159 of file driver_clkctrl.c.
| void CLKCTRL_WriteCfm0WindowHigh | ( | uint16_t | value | ) |
Overwrites the MCLKCFM0WINHT register value.
| value | Specifies the value to write. |
Definition at line 149 of file driver_clkctrl.c.
| void CLKCTRL_WriteCfm0WindowLow | ( | uint16_t | value | ) |
Overwrites the MCLKCFM0WINLT register value.
| value | Specifies the value to write. |
Definition at line 139 of file driver_clkctrl.c.
| void CLKCTRL_WriteCfm1ControlA | ( | uint8_t | value | ) |
Overwrites the MCLKCFM1CTRLA register value.
| value | Specifies the value to write. |
Definition at line 226 of file driver_clkctrl.c.
| void CLKCTRL_WriteCfm1ControlB | ( | uint8_t | value | ) |
Overwrites the MCLKCFM1CTRLB register value.
| value | Specifies the value to write. |
Definition at line 243 of file driver_clkctrl.c.
| void CLKCTRL_WriteCfm1RefNum | ( | uint16_t | value | ) |
Overwrites the MCLKCFM1REFNUM register value.
| value | Specifies the value to write. |
Definition at line 216 of file driver_clkctrl.c.
| void CLKCTRL_WriteCfm1WindowHigh | ( | uint16_t | value | ) |
Overwrites the MCLKCFM1WINHT register value.
| value | Specifies the value to write. |
Definition at line 206 of file driver_clkctrl.c.
| void CLKCTRL_WriteCfm1WindowLow | ( | uint16_t | value | ) |
Overwrites the MCLKCFM1WINLT register value.
| value | Specifies the value to write. |
Definition at line 196 of file driver_clkctrl.c.
| void CLKCTRL_WriteIntControl | ( | uint8_t | value | ) |
Overwrites the MCLKINTCTRL register value.
| value | Specifies the value to write. |
Definition at line 57 of file driver_clkctrl.c.
| void CLKCTRL_WriteIntFlags | ( | uint8_t | value | ) |
Overwrites the MCLKINTFLAGS register value.
| value | Specifies the value to write. |
Definition at line 81 of file driver_clkctrl.c.
| void CLKCTRL_WriteMainControlB | ( | uint8_t | value | ) |
Overwrites the MCLKCTRLB register value.
| value | Specifies the value to write. |
Definition at line 40 of file driver_clkctrl.c.