Type Definition atsam4e16c_pac::can0::mmr4::MOT_R

source ·
pub type MOT_R = FieldReader<u8, MOT_A>;
Expand description

Field MOT reader - Mailbox Object Type

Implementations§

source§

impl MOT_R

source

pub fn variant(&self) -> Option<MOT_A>

Get enumerated values variant

source

pub fn is_mb_disabled(&self) -> bool

Checks if the value of the field is MB_DISABLED

source

pub fn is_mb_rx(&self) -> bool

Checks if the value of the field is MB_RX

source

pub fn is_mb_rx_overwrite(&self) -> bool

Checks if the value of the field is MB_RX_OVERWRITE

source

pub fn is_mb_tx(&self) -> bool

Checks if the value of the field is MB_TX

source

pub fn is_mb_consumer(&self) -> bool

Checks if the value of the field is MB_CONSUMER

source

pub fn is_mb_producer(&self) -> bool

Checks if the value of the field is MB_PRODUCER