#[repr(transparent)]pub struct MacSystemTimeSecondsUpdate(pub u32);Expand description
F70RM Rev. 1 section 51.7.1.31; manual text line 152497.
Tuple Fields§
§0: u32Implementations§
Source§impl MacSystemTimeSecondsUpdate
impl MacSystemTimeSecondsUpdate
Sourcepub const fn tss(&self) -> u32
pub const fn tss(&self) -> u32
Timestamp Seconds. The value in this field is the seconds part of the update. When ADDSUB is reset, this field must be programmed with the seconds part of the update value. When ADDSUB is set, this field must be programmed with the complement of the seconds part of the update value. For example, to subtract 2.000000001 seconds from the system time, the TSS field in the MAC_Timestamp_Seconds_Update register must be 0xFFFF_FFFE (that is, 2^32 - 2).
Sourcepub const fn set_tss(&mut self, val: u32)
pub const fn set_tss(&mut self, val: u32)
Timestamp Seconds. The value in this field is the seconds part of the update. When ADDSUB is reset, this field must be programmed with the seconds part of the update value. When ADDSUB is set, this field must be programmed with the complement of the seconds part of the update value. For example, to subtract 2.000000001 seconds from the system time, the TSS field in the MAC_Timestamp_Seconds_Update register must be 0xFFFF_FFFE (that is, 2^32 - 2).
Trait Implementations§
Source§impl Clone for MacSystemTimeSecondsUpdate
impl Clone for MacSystemTimeSecondsUpdate
Source§fn clone(&self) -> MacSystemTimeSecondsUpdate
fn clone(&self) -> MacSystemTimeSecondsUpdate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more