#[repr(u8)]pub enum TaccShift16 {
ZERO = 0,
ONE = 1,
}Variants§
ZERO = 0
Disabled.
ONE = 1
Indicates to the transmit data FIFO that the written frames contain two additional octets before the frame data. This means the actual frame begins at bit 16 of the first word written into the FIFO. This function allows putting the frame payload on a 32-bit boundary in memory, as the 14-byte Ethernet header is extended to a 16-byte header.
Implementations§
Source§impl TaccShift16
impl TaccShift16
Trait Implementations§
Source§impl Clone for TaccShift16
impl Clone for TaccShift16
Source§fn clone(&self) -> TaccShift16
fn clone(&self) -> TaccShift16
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 TaccShift16
impl Debug for TaccShift16
Source§impl From<TaccShift16> for u8
impl From<TaccShift16> for u8
Source§fn from(val: TaccShift16) -> u8
fn from(val: TaccShift16) -> u8
Converts to this type from the input type.
Source§impl From<u8> for TaccShift16
impl From<u8> for TaccShift16
Source§fn from(val: u8) -> TaccShift16
fn from(val: u8) -> TaccShift16
Converts to this type from the input type.
Source§impl Ord for TaccShift16
impl Ord for TaccShift16
Source§fn cmp(&self, other: &TaccShift16) -> Ordering
fn cmp(&self, other: &TaccShift16) -> 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 TaccShift16
impl PartialEq for TaccShift16
Source§impl PartialOrd for TaccShift16
impl PartialOrd for TaccShift16
impl Copy for TaccShift16
impl Eq for TaccShift16
impl StructuralPartialEq for TaccShift16
Auto Trait Implementations§
impl Freeze for TaccShift16
impl RefUnwindSafe for TaccShift16
impl Send for TaccShift16
impl Sync for TaccShift16
impl Unpin for TaccShift16
impl UnwindSafe for TaccShift16
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