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

type R = R<u32, CARRIER2_CFG>;

Reader of register CARRIER2_CFG

Implementations

impl R[src]

pub fn carrier2_in_invert(&self) -> CARRIER2_IN_INVERT_R[src]

Bit 13

pub fn carrier2_out_invert(&self) -> CARRIER2_OUT_INVERT_R[src]

Bit 12

pub fn carrier2_oshwth(&self) -> CARRIER2_OSHWTH_R[src]

Bits 8:11

pub fn carrier2_duty(&self) -> CARRIER2_DUTY_R[src]

Bits 5:7

pub fn carrier2_prescale(&self) -> CARRIER2_PRESCALE_R[src]

Bits 1:4

pub fn carrier2_en(&self) -> CARRIER2_EN_R[src]

Bit 0