36 BOD.INTCTRL |= bitmask;
41 const uint8_t currentValue = BOD.INTCTRL;
42 const uint8_t clearedConfig = currentValue & (uint8_t)(~groupMask);
43 const uint8_t newConfig = groupConfig & groupMask;
44 const uint8_t updatedValue = clearedConfig | newConfig;
46 BOD.INTCTRL = updatedValue;
void BODCTRL_WriteVlmControlA(uint8_t value)
Overwrites the VLMCTRLA register value.
void BODCTRL_SetIntControl(uint8_t bitmask)
Sets specific bits in the INTCTRL register.
void BODCTRL_WriteIntFlags(uint8_t value)
Overwrites the INTFLAGS register value.
uint8_t BODCTRL_ReadIntFlags(void)
Reads the INTFLAGS register value.
void BODCTRL_ModifyIntControl(uint8_t groupMask, uint8_t groupConfig)
Modifies specific bit field(s) in the INTCTRL register.