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

type R = R<u32, CAP_CH1_CFG>;

Reader of register CAP_CH1_CFG

Implementations

impl R[src]

pub fn cap1_sw(&self) -> CAP1_SW_R[src]

Bit 12

pub fn cap1_in_invert(&self) -> CAP1_IN_INVERT_R[src]

Bit 11

pub fn cap1_prescale(&self) -> CAP1_PRESCALE_R[src]

Bits 3:10

pub fn cap1_mode(&self) -> CAP1_MODE_R[src]

Bits 1:2

pub fn cap1_en(&self) -> CAP1_EN_R[src]

Bit 0