#[repr(transparent)]pub struct MacPps0TargetTimeNanoseconds(pub u32);Expand description
F70RM Rev. 1 section 51.7.1.48; manual text line 153813.
Tuple Fields§
§0: u32Implementations§
Source§impl MacPps0TargetTimeNanoseconds
impl MacPps0TargetTimeNanoseconds
Sourcepub const fn ttsl0(&self) -> u32
pub const fn ttsl0(&self) -> u32
Target Time Low for PPS Register. This register stores the time in (signed) nanoseconds. When the value of the timestamp matches the value in both Target Timestamp registers, the MAC starts or stops the PPS signal output and generates an interrupt (if enabled) based on the TRGTMODSEL0 field (Bits [6:5]) in MAC_PPS_Control. When the TSCTRLSSR bit is reset in the MAC_Timestamp_Control register, this value must be (time in ns / 0.465). The actual start or stop time of the PPS signal output might have an error margin up to one unit of sub-second increment value. When the TSCTRLSSR bit is set in the MAC_Timestamp_Control register, this value must not exceed 0x3B9A_C9FF. The actual start or stop time of the PPS signal output might have an error margin up to one unit of sub-second increment value. Access restriction applies. Setting 1 sets. Self-cleared. Setting 0 has no effect.
Sourcepub const fn set_ttsl0(&mut self, val: u32)
pub const fn set_ttsl0(&mut self, val: u32)
Target Time Low for PPS Register. This register stores the time in (signed) nanoseconds. When the value of the timestamp matches the value in both Target Timestamp registers, the MAC starts or stops the PPS signal output and generates an interrupt (if enabled) based on the TRGTMODSEL0 field (Bits [6:5]) in MAC_PPS_Control. When the TSCTRLSSR bit is reset in the MAC_Timestamp_Control register, this value must be (time in ns / 0.465). The actual start or stop time of the PPS signal output might have an error margin up to one unit of sub-second increment value. When the TSCTRLSSR bit is set in the MAC_Timestamp_Control register, this value must not exceed 0x3B9A_C9FF. The actual start or stop time of the PPS signal output might have an error margin up to one unit of sub-second increment value. Access restriction applies. Setting 1 sets. Self-cleared. Setting 0 has no effect.
Trait Implementations§
Source§impl Clone for MacPps0TargetTimeNanoseconds
impl Clone for MacPps0TargetTimeNanoseconds
Source§fn clone(&self) -> MacPps0TargetTimeNanoseconds
fn clone(&self) -> MacPps0TargetTimeNanoseconds
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MacPps0TargetTimeNanoseconds
impl Debug for MacPps0TargetTimeNanoseconds
Source§impl Default for MacPps0TargetTimeNanoseconds
impl Default for MacPps0TargetTimeNanoseconds
Source§fn default() -> MacPps0TargetTimeNanoseconds
fn default() -> MacPps0TargetTimeNanoseconds
Source§impl PartialEq for MacPps0TargetTimeNanoseconds
impl PartialEq for MacPps0TargetTimeNanoseconds
Source§fn eq(&self, other: &MacPps0TargetTimeNanoseconds) -> bool
fn eq(&self, other: &MacPps0TargetTimeNanoseconds) -> bool
self and other values to be equal, and is used by ==.