Type Alias d1_pac::pwm::cer::CAP_EN_R

source ·
pub type CAP_EN_R = BitReader<CAP_EN_A>;
Expand description

Field cap_en[0-7] reader - 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_R { /* private fields */ }

Implementations§

source§

impl CAP_EN_R

source

pub fn variant(&self) -> CAP_EN_A

Get enumerated values variant

source

pub fn is_disable(&self) -> bool

Checks if the value of the field is DISABLE

source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE