Type Alias nrf52840_pac::timer3::bitmode::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