Struct stm32_hal2::pac::ethernet_mac::mactscr::R
source · [−]pub struct R(_);
Expand description
Register MACTSCR
reader
Implementations
sourceimpl R
impl R
sourcepub fn tsctrlssr(&self) -> BitReaderRaw<bool>
pub fn tsctrlssr(&self) -> BitReaderRaw<bool>
Bit 9 - Timestamp Digital or Binary Rollover Control
sourcepub fn tsver2ena(&self) -> BitReaderRaw<bool>
pub fn tsver2ena(&self) -> BitReaderRaw<bool>
Bit 10 - Enable PTP Packet Processing for Version 2 Format
sourcepub fn tsipena(&self) -> BitReaderRaw<bool>
pub fn tsipena(&self) -> BitReaderRaw<bool>
Bit 11 - Enable Processing of PTP over Ethernet Packets
sourcepub fn tsipv6ena(&self) -> BitReaderRaw<bool>
pub fn tsipv6ena(&self) -> BitReaderRaw<bool>
Bit 12 - Enable Processing of PTP Packets Sent over IPv6-UDP
sourcepub fn tsipv4ena(&self) -> BitReaderRaw<bool>
pub fn tsipv4ena(&self) -> BitReaderRaw<bool>
Bit 13 - Enable Processing of PTP Packets Sent over IPv4-UDP
sourcepub fn tsevntena(&self) -> BitReaderRaw<bool>
pub fn tsevntena(&self) -> BitReaderRaw<bool>
Bit 14 - Enable Timestamp Snapshot for Event Messages
sourcepub fn tsmstrena(&self) -> BitReaderRaw<bool>
pub fn tsmstrena(&self) -> BitReaderRaw<bool>
Bit 15 - Enable Snapshot for Messages Relevant to Master
sourcepub fn snaptypsel(&self) -> FieldReaderRaw<u8, u8>
pub fn snaptypsel(&self) -> FieldReaderRaw<u8, u8>
Bits 16:17 - Select PTP packets for Taking Snapshots
sourcepub fn tsenmacaddr(&self) -> BitReaderRaw<bool>
pub fn tsenmacaddr(&self) -> BitReaderRaw<bool>
Bit 18 - Enable MAC Address for PTP Packet Filtering
Methods from Deref<Target = R<MACTSCR_SPEC>>
sourcepub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
sourceimpl From<R<MACTSCR_SPEC>> for R
impl From<R<MACTSCR_SPEC>> for R
sourcefn from(reader: R<MACTSCR_SPEC>) -> R
fn from(reader: R<MACTSCR_SPEC>) -> R
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more