k210_pac::spi0::ctrlr0

Type Alias TMOD_R

Source
pub type TMOD_R = R<u8, TMOD_A>;
Expand description

Reader of field tmod

Aliased Type§

struct TMOD_R { /* private fields */ }

Implementations§

Source§

impl TMOD_R

Source

pub fn variant(&self) -> TMOD_A

Get enumerated values variant

Source

pub fn is_trans_recv(&self) -> bool

Checks if the value of the field is TRANS_RECV

Source

pub fn is_trans(&self) -> bool

Checks if the value of the field is TRANS

Source

pub fn is_recv(&self) -> bool

Checks if the value of the field is RECV

Source

pub fn is_eerom(&self) -> bool

Checks if the value of the field is EEROM