37 const uint8_t currentValue = CPU_CTRLA;
38 const uint8_t updatedValue = currentValue | bitmask;
44 const uint8_t currentValue = CPU_CTRLA;
45 const uint8_t updatedValue = currentValue & (uint8_t)(~bitmask);
71 CPU_SREG &= (uint8_t)(~bitmask);
void ASM_WriteCcp8(register8_t *regAddr, uint8_t value)
Writes value to a Configuration Change Protected (CCP) 8-bit register.
void CPUCTRL_WriteSplim(uint16_t value)
Overwrites the SPLIM register value.
void CPUCTRL_ClearControlA(uint8_t bitmask)
Clears specific bits in the CTRLA register.
uint8_t CPUCTRL_ReadStatusRegister(void)
Reads the SREG register value.
void CPUCTRL_ClearStatusRegister(uint8_t bitmask)
Clears specific bits in the SREG register.
void CPUCTRL_SetControlA(uint8_t bitmask)
Sets specific bits in the CTRLA register.
void CPUCTRL_SetStatusRegister(uint8_t bitmask)
Sets specific bits in the SREG register.
uint8_t CPUCTRL_ReadIntFlags(void)
Reads the INTFLAGS register value.
void CPUCTRL_WriteIntFlags(uint8_t value)
Overwrites the INTFLAGS register value.