#[repr(transparent)]pub struct MacAuxiliaryControl(pub u32);Expand description
F70RM Rev. 1 section 51.7.1.39; manual text line 153111.
Tuple Fields§
§0: u32Implementations§
Source§impl MacAuxiliaryControl
impl MacAuxiliaryControl
Sourcepub const fn atsfc(&self) -> bool
pub const fn atsfc(&self) -> bool
Auxiliary Snapshot FIFO Clear. When set, this bit resets the pointers of the Auxiliary Snapshot FIFO. This bit is cleared when the pointers are reset and the FIFO is empty. When this bit is high, the auxiliary snapshots are stored in the FIFO. Access restriction applies. Setting 1 sets. Self-cleared. Setting 0 has no effect. NOTE This field is not testable by an automated register test. 0b - Auxiliary Snapshot FIFO Clear is disabled 1b - Auxiliary Snapshot FIFO Clear is enabled
Sourcepub const fn set_atsfc(&mut self, val: bool)
pub const fn set_atsfc(&mut self, val: bool)
Auxiliary Snapshot FIFO Clear. When set, this bit resets the pointers of the Auxiliary Snapshot FIFO. This bit is cleared when the pointers are reset and the FIFO is empty. When this bit is high, the auxiliary snapshots are stored in the FIFO. Access restriction applies. Setting 1 sets. Self-cleared. Setting 0 has no effect. NOTE This field is not testable by an automated register test. 0b - Auxiliary Snapshot FIFO Clear is disabled 1b - Auxiliary Snapshot FIFO Clear is enabled
Sourcepub const fn atsen0(&self) -> bool
pub const fn atsen0(&self) -> bool
Auxiliary Snapshot 0 Enable. This bit controls the capturing of Auxiliary Snapshot Trigger 0. When this bit is set, the auxiliary snapshot of the event on ptp_aux_trig_i[0] input is enabled. When this bit is reset, the events on this input are ignored. 0b - Auxiliary Snapshot $i is disabled 1b - Auxiliary Snapshot $i is enabled
Sourcepub const fn set_atsen0(&mut self, val: bool)
pub const fn set_atsen0(&mut self, val: bool)
Auxiliary Snapshot 0 Enable. This bit controls the capturing of Auxiliary Snapshot Trigger 0. When this bit is set, the auxiliary snapshot of the event on ptp_aux_trig_i[0] input is enabled. When this bit is reset, the events on this input are ignored. 0b - Auxiliary Snapshot $i is disabled 1b - Auxiliary Snapshot $i is enabled
Sourcepub const fn atsen1(&self) -> bool
pub const fn atsen1(&self) -> bool
Auxiliary Snapshot 1 Enable. This bit controls the capturing of Auxiliary Snapshot Trigger 1. When this bit is set, the auxiliary snapshot of the event on ptp_aux_trig_i[1] input is enabled. When this bit is reset, the events on this input are ignored. 0b - Auxiliary Snapshot $i is disabled 1b - Auxiliary Snapshot $i is enabled
Sourcepub const fn set_atsen1(&mut self, val: bool)
pub const fn set_atsen1(&mut self, val: bool)
Auxiliary Snapshot 1 Enable. This bit controls the capturing of Auxiliary Snapshot Trigger 1. When this bit is set, the auxiliary snapshot of the event on ptp_aux_trig_i[1] input is enabled. When this bit is reset, the events on this input are ignored. 0b - Auxiliary Snapshot $i is disabled 1b - Auxiliary Snapshot $i is enabled
Trait Implementations§
Source§impl Clone for MacAuxiliaryControl
impl Clone for MacAuxiliaryControl
Source§fn clone(&self) -> MacAuxiliaryControl
fn clone(&self) -> MacAuxiliaryControl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more