nrf52840_pac::timer3::bitmode

Type Alias BITMODE_R

Source
pub type BITMODE_R = FieldReader<u8, BITMODE_A>;
Expand description

Field BITMODE reader - Timer bit width

Aliased Type§

struct BITMODE_R { /* private fields */ }

Implementations§

Source§

impl BITMODE_R

Source

pub fn variant(&self) -> BITMODE_A

Get enumerated values variant

Source

pub fn is_16bit(&self) -> bool

Checks if the value of the field is _16BIT

Source

pub fn is_08bit(&self) -> bool

Checks if the value of the field is _08BIT

Source

pub fn is_24bit(&self) -> bool

Checks if the value of the field is _24BIT

Source

pub fn is_32bit(&self) -> bool

Checks if the value of the field is _32BIT