AVR SD Safety Framework 1.0.0
Loading...
Searching...
No Matches
driver_clkctrl.h File Reference

Contains API prototypes for the CLKCTRL (Clock Controller) driver. More...

#include <stdint.h>

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.

Detailed Description

Contains API prototypes for the CLKCTRL (Clock Controller) driver.

Version
1.0.0

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.