[][src]Type Definition esp32::mcpwm::cap_ch1_cfg::W

type W = W<u32, CAP_CH1_CFG>;

Writer for register CAP_CH1_CFG

Implementations

impl W[src]

pub fn cap1_sw(&mut self) -> CAP1_SW_W<'_>[src]

Bit 12

pub fn cap1_in_invert(&mut self) -> CAP1_IN_INVERT_W<'_>[src]

Bit 11

pub fn cap1_prescale(&mut self) -> CAP1_PRESCALE_W<'_>[src]

Bits 3:10

pub fn cap1_mode(&mut self) -> CAP1_MODE_W<'_>[src]

Bits 1:2

pub fn cap1_en(&mut self) -> CAP1_EN_W<'_>[src]

Bit 0