Home
last modified time | relevance | path

Searched refs:invert_mask (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/pwm/
Dpwm_sam0_tc.c85 uint32_t invert_mask = 1 << channel; in pwm_sam0_set_cycles() local
101 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()
Dpwm_sam0_tcc.c66 uint32_t invert_mask = 1 << channel; in pwm_sam0_set_cycles() local
68 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()