[−][src]Enum sam3x8e::can1::mmr5::MOTR
Possible values of the field MOT
Variants
MB_DISABLED
Mailbox is disabled. This prevents receiving or transmitting any messages with this mailbox.
MB_RX
Reception Mailbox. Mailbox is configured for reception. If a message is received while the mailbox data register is full, it is discarded.
MB_RX_OVERWRITE
Reception mailbox with overwrite. Mailbox is configured for reception. If a message is received while the mailbox is full, it overwrites the previous message.
MB_TX
Transmit mailbox. Mailbox is configured for transmission.
MB_CONSUMER
Consumer Mailbox. Mailbox is configured in reception but behaves as a Transmit Mailbox, i.e., it sends a remote frame and waits for an answer.
MB_PRODUCER
Producer Mailbox. Mailbox is configured in transmission but also behaves like a reception mailbox, i.e., it waits to receive a Remote Frame before sending its contents.
_Reserved(u8)
Reserved
Methods
impl MOTR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_mb_disabled(&self) -> bool
[src]
Checks if the value of the field is MB_DISABLED
pub fn is_mb_rx(&self) -> bool
[src]
Checks if the value of the field is MB_RX
pub fn is_mb_rx_overwrite(&self) -> bool
[src]
Checks if the value of the field is MB_RX_OVERWRITE
pub fn is_mb_tx(&self) -> bool
[src]
Checks if the value of the field is MB_TX
pub fn is_mb_consumer(&self) -> bool
[src]
Checks if the value of the field is MB_CONSUMER
pub fn is_mb_producer(&self) -> bool
[src]
Checks if the value of the field is MB_PRODUCER
Trait Implementations
impl Copy for MOTR
[src]
impl PartialEq<MOTR> for MOTR
[src]
impl Clone for MOTR
[src]
fn clone(&self) -> MOTR
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for MOTR
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,