Type Definition atsam4e8c_pac::can0::mmr0::MOT_W
source · Expand description
Field MOT
writer - Mailbox Object Type
Implementations§
source§impl<'a, const O: u8> MOT_W<'a, O>
impl<'a, const O: u8> MOT_W<'a, O>
sourcepub fn mb_disabled(self) -> &'a mut W
pub fn mb_disabled(self) -> &'a mut W
Mailbox is disabled. This prevents receiving or transmitting any messages with this mailbox.
sourcepub fn mb_rx(self) -> &'a mut W
pub fn mb_rx(self) -> &'a mut W
Reception Mailbox. Mailbox is configured for reception. If a message is received while the mailbox data register is full, it is discarded.
sourcepub fn mb_rx_overwrite(self) -> &'a mut W
pub fn mb_rx_overwrite(self) -> &'a mut W
Reception mailbox with overwrite. Mailbox is configured for reception. If a message is received while the mailbox is full, it overwrites the previous message.
sourcepub fn mb_consumer(self) -> &'a mut W
pub fn mb_consumer(self) -> &'a mut W
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.
sourcepub fn mb_producer(self) -> &'a mut W
pub fn mb_producer(self) -> &'a mut W
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.