Searched refs:invert_mask (Results 1 – 2 of 2) sorted by relevance
85 uint32_t invert_mask = 1 << channel; in pwm_sam0_set_cycles() local101 inverted = ((regs->COUNT8.DRVCTRL.vec.INVEN & invert_mask) != 0); in pwm_sam0_set_cycles()110 regs->COUNT8.DRVCTRL.vec.INVEN ^= invert_mask; in pwm_sam0_set_cycles()115 inverted = ((regs->COUNT16.DRVCTRL.vec.INVEN & invert_mask) != 0); in pwm_sam0_set_cycles()124 regs->COUNT16.DRVCTRL.vec.INVEN ^= invert_mask; in pwm_sam0_set_cycles()
66 uint32_t invert_mask = 1 << channel; in pwm_sam0_set_cycles() local68 bool inverted = ((regs->DRVCTRL.vec.INVEN & invert_mask) != 0); in pwm_sam0_set_cycles()95 regs->DRVCTRL.vec.INVEN ^= invert_mask; in pwm_sam0_set_cycles()