#[repr(u8)]pub enum P1ByteSelMd {
P1_BYTE_SEL_MD0 = 0,
P1_BYTE_SEL_MD1 = 1,
}Variants§
P1_BYTE_SEL_MD0 = 0
Normal Operation. The Address byte mode is determined by the Op Code Command.
P1_BYTE_SEL_MD1 = 1
Sets the Byte Mode to 3-byte and gives control of the function to the P1_BYTE_SEL in the P1 Filter Control Register. In this mode, any changes to P1_BYTE_SEL are latched and the internal state of P1_BYTE_SEL will retain this value when P1_BYTE_SEL_MD is cleared.
Implementations§
Source§impl P1ByteSelMd
impl P1ByteSelMd
Trait Implementations§
Source§impl Clone for P1ByteSelMd
impl Clone for P1ByteSelMd
Source§fn clone(&self) -> P1ByteSelMd
fn clone(&self) -> P1ByteSelMd
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 P1ByteSelMd
impl Debug for P1ByteSelMd
Source§impl From<P1ByteSelMd> for u8
impl From<P1ByteSelMd> for u8
Source§fn from(val: P1ByteSelMd) -> u8
fn from(val: P1ByteSelMd) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P1ByteSelMd
impl From<u8> for P1ByteSelMd
Source§fn from(val: u8) -> P1ByteSelMd
fn from(val: u8) -> P1ByteSelMd
Converts to this type from the input type.
Source§impl Ord for P1ByteSelMd
impl Ord for P1ByteSelMd
Source§fn cmp(&self, other: &P1ByteSelMd) -> Ordering
fn cmp(&self, other: &P1ByteSelMd) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for P1ByteSelMd
impl PartialEq for P1ByteSelMd
Source§impl PartialOrd for P1ByteSelMd
impl PartialOrd for P1ByteSelMd
impl Copy for P1ByteSelMd
impl Eq for P1ByteSelMd
impl StructuralPartialEq for P1ByteSelMd
Auto Trait Implementations§
impl Freeze for P1ByteSelMd
impl RefUnwindSafe for P1ByteSelMd
impl Send for P1ByteSelMd
impl Sync for P1ByteSelMd
impl Unpin for P1ByteSelMd
impl UnwindSafe for P1ByteSelMd
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