Struct Ffcr
#[repr(transparent)]pub struct Ffcr(pub u32);Expand description
ETB Formatter and Flush Control Register
Tuple Fields§
§0: u32Implementations§
§impl Ffcr
impl Ffcr
pub const fn enftc(&self) -> bool
pub const fn enftc(&self) -> bool
Do not embed Triggers into the formatted stream. Trace disable cycles and triggers are indicated by TRACECTL, where fitted. Can only be changed when FtStopped is HIGH. This bit is clear on reset.
pub const fn set_enftc(&mut self, val: bool)
pub const fn set_enftc(&mut self, val: bool)
Do not embed Triggers into the formatted stream. Trace disable cycles and triggers are indicated by TRACECTL, where fitted. Can only be changed when FtStopped is HIGH. This bit is clear on reset.
pub const fn enfcont(&self) -> bool
pub const fn enfcont(&self) -> bool
Continuous mode in the ETB corresponds to normal mode with the embedding of triggers. Can only be changed when FtStopped is HIGH. This bit is clear on reset.
pub const fn set_enfcont(&mut self, val: bool)
pub const fn set_enfcont(&mut self, val: bool)
Continuous mode in the ETB corresponds to normal mode with the embedding of triggers. Can only be changed when FtStopped is HIGH. This bit is clear on reset.
pub const fn fonflin(&self) -> bool
pub const fn fonflin(&self) -> bool
Set this bit to enable use of the flushin connection. This is clear on reset.
pub const fn set_fonflin(&mut self, val: bool)
pub const fn set_fonflin(&mut self, val: bool)
Set this bit to enable use of the flushin connection. This is clear on reset.
pub const fn fontrig(&self) -> bool
pub const fn fontrig(&self) -> bool
Generate flush using Trigger event. Set this bit to cause a flush of data in the system when a Trigger Event occurs. This bit is clear on reset. A Trigger Event is defined as when the Trigger counter reaches zero (where fitted) or, in the case of the trigger counter being zero (or not fitted), when trigin is HIGH.
pub const fn set_fontrig(&mut self, val: bool)
pub const fn set_fontrig(&mut self, val: bool)
Generate flush using Trigger event. Set this bit to cause a flush of data in the system when a Trigger Event occurs. This bit is clear on reset. A Trigger Event is defined as when the Trigger counter reaches zero (where fitted) or, in the case of the trigger counter being zero (or not fitted), when trigin is HIGH.
pub const fn fonman(&self) -> bool
pub const fn fonman(&self) -> bool
Setting this bit causes a flush to be generated. This is cleared when this flush has been serviced. This bit is clear on reset.
pub const fn set_fonman(&mut self, val: bool)
pub const fn set_fonman(&mut self, val: bool)
Setting this bit causes a flush to be generated. This is cleared when this flush has been serviced. This bit is clear on reset.
pub const fn set_trigin(&mut self, val: bool)
pub const fn set_trigin(&mut self, val: bool)
Indicate a trigger on trigin being asserted.
pub const fn set_trigevt(&mut self, val: bool)
pub const fn set_trigevt(&mut self, val: bool)
Indicate a trigger on a Trigger Event.
pub const fn trigfl(&self) -> bool
pub const fn trigfl(&self) -> bool
Indicates a trigger on Flush completion (afreadys being returned).
pub const fn set_trigfl(&mut self, val: bool)
pub const fn set_trigfl(&mut self, val: bool)
Indicates a trigger on Flush completion (afreadys being returned).
pub const fn stopfl(&self) -> bool
pub const fn stopfl(&self) -> bool
This forces the FIFO to drain off any part-completed packets. Setting this bit enables this function but this is clear on reset (disabled).
pub const fn set_stopfl(&mut self, val: bool)
pub const fn set_stopfl(&mut self, val: bool)
This forces the FIFO to drain off any part-completed packets. Setting this bit enables this function but this is clear on reset (disabled).
pub const fn stoptrig(&self) -> bool
pub const fn stoptrig(&self) -> bool
Stop the formatter after a Trigger Event is observed. Reset to disabled (zero).
pub const fn set_stoptrig(&mut self, val: bool)
pub const fn set_stoptrig(&mut self, val: bool)
Stop the formatter after a Trigger Event is observed. Reset to disabled (zero).