#[repr(u32)]pub enum Pcs {
Pcs0 = 0,
Pcs1 = 1,
Pcs2 = 2,
Pcs3 = 3,
}Expand description
Peripheral chip select.
Use this in Transaction to select the hardware-managed
chip select. Note that the hardware only uses the hardware-managed
chip select if the pin is muxed for its PCS alternate.
Variants§
Pcs0 = 0
Use PCS0 (default) for the next transaction.
Pcs1 = 1
Use PCS1 for the next transaction.
Pcs2 = 2
Use PCS2 for the next transaction.
Pcs3 = 3
Use PCS3 for the next transaction.
Trait Implementations§
impl Copy for Pcs
impl Eq for Pcs
impl StructuralPartialEq for Pcs
Auto Trait Implementations§
impl Freeze for Pcs
impl RefUnwindSafe for Pcs
impl Send for Pcs
impl Sync for Pcs
impl Unpin for Pcs
impl UnsafeUnpin for Pcs
impl UnwindSafe for Pcs
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