Struct atsam4e16c_pac::can1::mmr5::MOT_W[][src]

pub struct MOT_W<'a> { /* fields omitted */ }

Write proxy for field MOT

Implementations

impl<'a> MOT_W<'a>[src]

pub fn variant(self, variant: MOT_A) -> &'a mut W[src]

Writes variant to the field

pub fn mb_disabled(self) -> &'a mut W[src]

Mailbox is disabled. This prevents receiving or transmitting any messages with this mailbox.

pub fn mb_rx(self) -> &'a mut W[src]

Reception Mailbox. Mailbox is configured for reception. If a message is received while the mailbox data register is full, it is discarded.

pub fn mb_rx_overwrite(self) -> &'a mut W[src]

Reception mailbox with overwrite. Mailbox is configured for reception. If a message is received while the mailbox is full, it overwrites the previous message.

pub fn mb_tx(self) -> &'a mut W[src]

Transmit mailbox. Mailbox is configured for transmission.

pub fn mb_consumer(self) -> &'a mut W[src]

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.

pub fn mb_producer(self) -> &'a mut W[src]

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.

pub unsafe fn bits(self, value: u8) -> &'a mut W[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for MOT_W<'a>

impl<'a> !Sync for MOT_W<'a>

impl<'a> Unpin for MOT_W<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.