Enum atsam4lc4c_pac::iisc::mr::MODESELECT_A
source · pub enum MODESELECT_A {
SLAVE,
MASTER,
}
Expand description
Master/Slave/Controller Mode
Value on reset: 0
Variants§
SLAVE
0: Slave mode (only serial data handled, clocks received from external master or controller)
MASTER
1: Master mode (clocks generated and output by IISC, serial data handled if CR.RXEN and/or CR.TXEN written to 1)
Trait Implementations§
source§impl Clone for MODESELECT_A
impl Clone for MODESELECT_A
source§fn clone(&self) -> MODESELECT_A
fn clone(&self) -> MODESELECT_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MODESELECT_A
impl Debug for MODESELECT_A
source§impl From<MODESELECT_A> for bool
impl From<MODESELECT_A> for bool
source§fn from(variant: MODESELECT_A) -> Self
fn from(variant: MODESELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<MODESELECT_A> for MODESELECT_A
impl PartialEq<MODESELECT_A> for MODESELECT_A
source§fn eq(&self, other: &MODESELECT_A) -> bool
fn eq(&self, other: &MODESELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MODESELECT_A
impl Eq for MODESELECT_A
impl StructuralEq for MODESELECT_A
impl StructuralPartialEq for MODESELECT_A
Auto Trait Implementations§
impl RefUnwindSafe for MODESELECT_A
impl Send for MODESELECT_A
impl Sync for MODESELECT_A
impl Unpin for MODESELECT_A
impl UnwindSafe for MODESELECT_A
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more