AVR SD Safety Framework 1.0.0
Loading...
Searching...
No Matches
CLKCTRL Driver

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.

Detailed Description

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.

UML Class Diagrams

Function Documentation

◆ CLKCTRL_ClearCfd0ControlA()

void CLKCTRL_ClearCfd0ControlA ( uint8_t bitmask)

Clears specific bits in the MCLKCFD0CTRLA register.

Parameters
bitmaskSpecifies which bits to clear.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CLKCTRL_ClearCfd1ControlA()

void CLKCTRL_ClearCfd1ControlA ( uint8_t bitmask)

Clears specific bits in the MCLKCFD1CTRLA register.

Parameters
bitmaskSpecifies which bits to clear.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CLKCTRL_ClearCfm0ControlA()

void CLKCTRL_ClearCfm0ControlA ( uint8_t bitmask)

Clears specific bits in the MCLKCFM0CTRLA register.

Parameters
bitmaskSpecifies which bits to clear.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CLKCTRL_ClearCfm1ControlA()

void CLKCTRL_ClearCfm1ControlA ( uint8_t bitmask)

Clears specific bits in the MCLKCFM1CTRLA register.

Parameters
bitmaskSpecifies which bits to clear.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CLKCTRL_ClearIntControl()

void CLKCTRL_ClearIntControl ( uint8_t bitmask)

Clears specific bits in the MCLKINTCTRL register.

Parameters
bitmaskSpecifies which bits to clear.
Here is the call graph for this function:

◆ CLKCTRL_ModifyMainControlA()

void CLKCTRL_ModifyMainControlA ( uint8_t groupMask,
uint8_t groupConfig )

Modifies specific bit field(s) in the MCLKCTRLA register.

Parameters
groupMaskSpecifies which bit field values to modify (clear and write).
groupConfigSpecifies the bit pattern to write to the specified bit fields.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CLKCTRL_ModifyOscHfControlA()

void CLKCTRL_ModifyOscHfControlA ( uint8_t groupMask,
uint8_t groupConfig )

Modifies specific bit field(s) in the OSCHFCTRLA register.

Parameters
groupMaskSpecifies which bit field values to modify (clear and write).
groupConfigSpecifies the bit pattern to write to the specified bit fields.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CLKCTRL_ReadCfd0ControlA()

uint8_t CLKCTRL_ReadCfd0ControlA ( void )

Reads the MCLKCFD0CTRLA register value.

Returns
The read value.

◆ CLKCTRL_ReadCfd1ControlA()

uint8_t CLKCTRL_ReadCfd1ControlA ( void )

Reads the MCLKCFD1CTRLA register value.

Returns
The read value.

◆ CLKCTRL_ReadCfm0ControlA()

uint8_t CLKCTRL_ReadCfm0ControlA ( void )

Reads the MCLKCFM0CTRLA register value.

Returns
The read value.

◆ CLKCTRL_ReadCfm0ControlB()

uint8_t CLKCTRL_ReadCfm0ControlB ( void )

Reads the MCLKCFM0CTRLB register value.

Returns
The read value.

◆ CLKCTRL_ReadCfm0RefNum()

uint16_t CLKCTRL_ReadCfm0RefNum ( void )

Reads the MCLKCFM0REFNUM register value.

Returns
The read value.

◆ CLKCTRL_ReadCfm0WindowHigh()

uint16_t CLKCTRL_ReadCfm0WindowHigh ( void )

Reads the MCLKCFM0WINHT register value.

Returns
The read value.

◆ CLKCTRL_ReadCfm0WindowLow()

uint16_t CLKCTRL_ReadCfm0WindowLow ( void )

Reads the MCLKCFM0WINLT register value.

Returns
The read value.

◆ CLKCTRL_ReadCfm1ControlA()

uint8_t CLKCTRL_ReadCfm1ControlA ( void )

Reads the MCLKCFM1CTRLA register value.

Returns
The read value.

◆ CLKCTRL_ReadCfm1ControlB()

uint8_t CLKCTRL_ReadCfm1ControlB ( void )

Reads the MCLKCFM1CTRLB register value.

Returns
The read value.

◆ CLKCTRL_ReadCfm1RefNum()

uint16_t CLKCTRL_ReadCfm1RefNum ( void )

Reads the MCLKCFM1REFNUM register value.

Returns
The read value.

◆ CLKCTRL_ReadCfm1WindowHigh()

uint16_t CLKCTRL_ReadCfm1WindowHigh ( void )

Reads the MCLKCFM1WINHT register value.

Returns
The read value.

◆ CLKCTRL_ReadCfm1WindowLow()

uint16_t CLKCTRL_ReadCfm1WindowLow ( void )

Reads the MCLKCFM1WINLT register value.

Returns
The read value.

◆ CLKCTRL_ReadIntControl()

uint8_t CLKCTRL_ReadIntControl ( void )

Reads the MCLKINTCTRL register value.

Returns
The read value.

◆ CLKCTRL_ReadIntFlags()

uint8_t CLKCTRL_ReadIntFlags ( void )

Reads the MCLKINTFLAGS register value.

Returns
The read value.
Here is the caller graph for this function:

◆ CLKCTRL_SetIntControl()

void CLKCTRL_SetIntControl ( uint8_t bitmask)

Sets specific bits in the MCLKINTCTRL register.

Parameters
bitmaskSpecifies which bits to set.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CLKCTRL_SetMainControlC()

void CLKCTRL_SetMainControlC ( uint8_t bitmask)

Sets specific bits in the MCLKCTRLC register.

Parameters
bitmaskSpecifies which bits to set.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CLKCTRL_WriteCfd0ControlA()

void CLKCTRL_WriteCfd0ControlA ( uint8_t value)

Overwrites the MCLKCFD0CTRLA register value.

Parameters
valueSpecifies the value to write.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CLKCTRL_WriteCfd1ControlA()

void CLKCTRL_WriteCfd1ControlA ( uint8_t value)

Overwrites the MCLKCFD1CTRLA register value.

Parameters
valueSpecifies the value to write.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CLKCTRL_WriteCfm0ControlA()

void CLKCTRL_WriteCfm0ControlA ( uint8_t value)

Overwrites the MCLKCFM0CTRLA register value.

Parameters
valueSpecifies the value to write.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CLKCTRL_WriteCfm0ControlB()

void CLKCTRL_WriteCfm0ControlB ( uint8_t value)

Overwrites the MCLKCFM0CTRLB register value.

Parameters
valueSpecifies the value to write.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CLKCTRL_WriteCfm0RefNum()

void CLKCTRL_WriteCfm0RefNum ( uint16_t value)

Overwrites the MCLKCFM0REFNUM register value.

Parameters
valueSpecifies the value to write.
Here is the caller graph for this function:

◆ CLKCTRL_WriteCfm0WindowHigh()

void CLKCTRL_WriteCfm0WindowHigh ( uint16_t value)

Overwrites the MCLKCFM0WINHT register value.

Parameters
valueSpecifies the value to write.
Here is the caller graph for this function:

◆ CLKCTRL_WriteCfm0WindowLow()

void CLKCTRL_WriteCfm0WindowLow ( uint16_t value)

Overwrites the MCLKCFM0WINLT register value.

Parameters
valueSpecifies the value to write.
Here is the caller graph for this function:

◆ CLKCTRL_WriteCfm1ControlA()

void CLKCTRL_WriteCfm1ControlA ( uint8_t value)

Overwrites the MCLKCFM1CTRLA register value.

Parameters
valueSpecifies the value to write.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CLKCTRL_WriteCfm1ControlB()

void CLKCTRL_WriteCfm1ControlB ( uint8_t value)

Overwrites the MCLKCFM1CTRLB register value.

Parameters
valueSpecifies the value to write.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CLKCTRL_WriteCfm1RefNum()

void CLKCTRL_WriteCfm1RefNum ( uint16_t value)

Overwrites the MCLKCFM1REFNUM register value.

Parameters
valueSpecifies the value to write.
Here is the caller graph for this function:

◆ CLKCTRL_WriteCfm1WindowHigh()

void CLKCTRL_WriteCfm1WindowHigh ( uint16_t value)

Overwrites the MCLKCFM1WINHT register value.

Parameters
valueSpecifies the value to write.
Here is the caller graph for this function:

◆ CLKCTRL_WriteCfm1WindowLow()

void CLKCTRL_WriteCfm1WindowLow ( uint16_t value)

Overwrites the MCLKCFM1WINLT register value.

Parameters
valueSpecifies the value to write.
Here is the caller graph for this function:

◆ CLKCTRL_WriteIntFlags()

void CLKCTRL_WriteIntFlags ( uint8_t value)

Overwrites the MCLKINTFLAGS register value.

Parameters
valueSpecifies the value to write.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CLKCTRL_WriteMainControlB()

void CLKCTRL_WriteMainControlB ( uint8_t value)

Overwrites the MCLKCTRLB register value.

Parameters
valueSpecifies the value to write.
Here is the call graph for this function:
Here is the caller graph for this function: