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

type R = R<u32, CAP_CH2_CFG>;

Reader of register CAP_CH2_CFG

Implementations

impl R[src]

pub fn cap2_sw(&self) -> CAP2_SW_R[src]

Bit 12

pub fn cap2_in_invert(&self) -> CAP2_IN_INVERT_R[src]

Bit 11

pub fn cap2_prescale(&self) -> CAP2_PRESCALE_R[src]

Bits 3:10

pub fn cap2_mode(&self) -> CAP2_MODE_R[src]

Bits 1:2

pub fn cap2_en(&self) -> CAP2_EN_R[src]

Bit 0