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

type R = R<u32, CAP_CH0_CFG>;

Reader of register CAP_CH0_CFG

Implementations

impl R[src]

pub fn cap0_sw(&self) -> CAP0_SW_R[src]

Bit 12

pub fn cap0_in_invert(&self) -> CAP0_IN_INVERT_R[src]

Bit 11

pub fn cap0_prescale(&self) -> CAP0_PRESCALE_R[src]

Bits 3:10

pub fn cap0_mode(&self) -> CAP0_MODE_R[src]

Bits 1:2

pub fn cap0_en(&self) -> CAP0_EN_R[src]

Bit 0