Type Alias d1_pac::pwm::cer::CAP_EN_W

source ·
pub type CAP_EN_W<'a, const O: u8> = BitWriter<'a, u32, CER_SPEC, CAP_EN_A, O>;
Expand description

Field cap_en[0-7] writer - When enabling the capture function, the 16-bit up-counter starts working, and the capture channel is permitted to capture external falling edge or rising edge.

Aliased Type§

struct CAP_EN_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> CAP_EN_W<'a, O>

source

pub fn disable(self) -> &'a mut W

Capture disable

source

pub fn enable(self) -> &'a mut W

Capture enable