pub enum SdrrCsState {
ActiveLow,
ActiveHigh,
NotUsed,
}
Expand description
SDRR chip select active options
Reflects sdrr_cs_state_t
from sdrr/include/config_base.h
Variants§
ActiveLow
Chip select line is active low
ActiveHigh
Chip select line is active high
NotUsed
Chip select line is not used
Trait Implementations§
Source§impl Clone for SdrrCsState
impl Clone for SdrrCsState
Source§fn clone(&self) -> SdrrCsState
fn clone(&self) -> SdrrCsState
Returns a duplicate 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 SdrrCsState
impl Debug for SdrrCsState
Source§impl DekuContainerRead<'_> for SdrrCsState
impl DekuContainerRead<'_> for SdrrCsState
Source§impl DekuContainerWrite for SdrrCsState
impl DekuContainerWrite for SdrrCsState
Source§impl<'__deku> DekuEnumExt<'_, u8> for SdrrCsState
impl<'__deku> DekuEnumExt<'_, u8> for SdrrCsState
Source§impl DekuReader<'_> for SdrrCsState
impl DekuReader<'_> for SdrrCsState
Source§impl DekuUpdate for SdrrCsState
impl DekuUpdate for SdrrCsState
Source§impl DekuWriter for SdrrCsState
impl DekuWriter for SdrrCsState
Source§impl<'de> Deserialize<'de> for SdrrCsState
impl<'de> Deserialize<'de> for SdrrCsState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SdrrCsState
impl Display for SdrrCsState
Source§impl PartialEq for SdrrCsState
impl PartialEq for SdrrCsState
Source§impl Serialize for SdrrCsState
impl Serialize for SdrrCsState
Source§impl TryFrom<&[u8]> for SdrrCsState
impl TryFrom<&[u8]> for SdrrCsState
impl Copy for SdrrCsState
impl Eq for SdrrCsState
impl StructuralPartialEq for SdrrCsState
Auto Trait Implementations§
impl Freeze for SdrrCsState
impl RefUnwindSafe for SdrrCsState
impl Send for SdrrCsState
impl Sync for SdrrCsState
impl Unpin for SdrrCsState
impl UnwindSafe for SdrrCsState
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