32 const uint8_t currentValue = CPUINT.CTRLA;
33 const uint8_t updatedValue = currentValue | bitmask;
39 const uint8_t currentValue = CPUINT.CTRLA;
40 const uint8_t updatedValue = currentValue & (uint8_t)(~bitmask);
46 CPUINT.LVL0PRI = value;
51 CPUINT.LVL1VEC = value;
void ASM_WriteCcp8(register8_t *regAddr, uint8_t value)
Writes value to a Configuration Change Protected (CCP) 8-bit register.
void CPUINT_ClearControlA(uint8_t bitmask)
Clears specific bits in the CTRLA register.
void CPUINT_SetControlA(uint8_t bitmask)
Sets specific bits in the CTRLA register.
void CPUINT_WriteIntPriority0(uint8_t value)
Overwrites the LVL0PRI register value.
void CPUINT_WriteIntPriority1(uint8_t value)
Overwrites the LVL1VEC register value.