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

type W = W<u32, CAP_CH2_CFG>;

Writer for register CAP_CH2_CFG

Implementations

impl W[src]

pub fn cap2_sw(&mut self) -> CAP2_SW_W<'_>[src]

Bit 12

pub fn cap2_in_invert(&mut self) -> CAP2_IN_INVERT_W<'_>[src]

Bit 11

pub fn cap2_prescale(&mut self) -> CAP2_PRESCALE_W<'_>[src]

Bits 3:10

pub fn cap2_mode(&mut self) -> CAP2_MODE_W<'_>[src]

Bits 1:2

pub fn cap2_en(&mut self) -> CAP2_EN_W<'_>[src]

Bit 0