Enum atsam4lc4c_pac::spi::mr::PCSDECSELECT_A
source · pub enum PCSDECSELECT_A {
_0,
_1,
}
Expand description
Chip Select Decode
Value on reset: 0
Variants§
_0
0: The chip selects are directly connected to a peripheral device.
_1
1: The four chip select lines are connected to a 4- to 16-bit decoder.When PCSDEC equals one, up to 15 Chip Select signals can be generated with the four lines using an external 4- to 16-bitdecoder. The Chip Select Registers define the characteristics of the 16 chip selects according to the following rules:CSR0 defines peripheral chip select signals 0 to 3.CSR1 defines peripheral chip select signals 4 to 7.CSR2 defines peripheral chip select signals 8 to 11.CSR3 defines peripheral chip select signals 12 to 15.
Trait Implementations§
source§impl Clone for PCSDECSELECT_A
impl Clone for PCSDECSELECT_A
source§fn clone(&self) -> PCSDECSELECT_A
fn clone(&self) -> PCSDECSELECT_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 PCSDECSELECT_A
impl Debug for PCSDECSELECT_A
source§impl From<PCSDECSELECT_A> for bool
impl From<PCSDECSELECT_A> for bool
source§fn from(variant: PCSDECSELECT_A) -> Self
fn from(variant: PCSDECSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<PCSDECSELECT_A> for PCSDECSELECT_A
impl PartialEq<PCSDECSELECT_A> for PCSDECSELECT_A
source§fn eq(&self, other: &PCSDECSELECT_A) -> bool
fn eq(&self, other: &PCSDECSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PCSDECSELECT_A
impl Eq for PCSDECSELECT_A
impl StructuralEq for PCSDECSELECT_A
impl StructuralPartialEq for PCSDECSELECT_A
Auto Trait Implementations§
impl RefUnwindSafe for PCSDECSELECT_A
impl Send for PCSDECSELECT_A
impl Sync for PCSDECSELECT_A
impl Unpin for PCSDECSELECT_A
impl UnwindSafe for PCSDECSELECT_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