Type Alias d1_pac::twi::twi_ccr::CLK_DUTY_R

source ·
pub type CLK_DUTY_R = BitReader<CLK_DUTY_A>;
Expand description

Field clk_duty reader - Setting duty cycle of clock as master

Aliased Type§

struct CLK_DUTY_R { /* private fields */ }

Implementations§

source§

impl CLK_DUTY_R

source

pub fn variant(&self) -> CLK_DUTY_A

Get enumerated values variant

source

pub fn is_p50(&self) -> bool

Checks if the value of the field is P50

source

pub fn is_p40(&self) -> bool

Checks if the value of the field is P40