Struct Currenttestpatternmodes
#[repr(transparent)]pub struct Currenttestpatternmodes(pub u32);
Expand description
Current_test_pattern_mode indicates the current test pattern or mode selected.
Tuple Fields§
§0: u32
Implementations§
§impl Currenttestpatternmodes
impl Currenttestpatternmodes
pub const fn patw1(&self) -> bool
pub const fn patw1(&self) -> bool
Indicates whether the walking 1s pattern is supported as output over the trace port.
pub fn set_patw1(&mut self, val: bool)
pub fn set_patw1(&mut self, val: bool)
Indicates whether the walking 1s pattern is supported as output over the trace port.
pub const fn patw0(&self) -> bool
pub const fn patw0(&self) -> bool
Indicates whether the walking 0s pattern is supported as output over the trace port.
pub fn set_patw0(&mut self, val: bool)
pub fn set_patw0(&mut self, val: bool)
Indicates whether the walking 0s pattern is supported as output over the trace port.
pub const fn pata5(&self) -> bool
pub const fn pata5(&self) -> bool
Indicates whether the AA/55 pattern is supported as output over the trace port.
pub fn set_pata5(&mut self, val: bool)
pub fn set_pata5(&mut self, val: bool)
Indicates whether the AA/55 pattern is supported as output over the trace port.
pub const fn patf0(&self) -> bool
pub const fn patf0(&self) -> bool
Indicates whether the FF/00 pattern is supported as output over the trace port.
pub fn set_patf0(&mut self, val: bool)
pub fn set_patf0(&mut self, val: bool)
Indicates whether the FF/00 pattern is supported as output over the trace port.
pub fn set_ptimeen(&mut self, val: bool)
pub fn set_ptimeen(&mut self, val: bool)
Indicates whether timed mode is supported.
pub fn set_pconten(&mut self, val: bool)
pub fn set_pconten(&mut self, val: bool)
Indicates whether continuous mode is supported.
Trait Implementations§
§impl Clone for Currenttestpatternmodes
impl Clone for Currenttestpatternmodes
§fn clone(&self) -> Currenttestpatternmodes
fn clone(&self) -> Currenttestpatternmodes
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Default for Currenttestpatternmodes
impl Default for Currenttestpatternmodes
§fn default() -> Currenttestpatternmodes
fn default() -> Currenttestpatternmodes
§impl PartialEq for Currenttestpatternmodes
impl PartialEq for Currenttestpatternmodes
impl Copy for Currenttestpatternmodes
impl Eq for Currenttestpatternmodes
impl StructuralPartialEq for Currenttestpatternmodes
Auto Trait Implementations§
impl Freeze for Currenttestpatternmodes
impl RefUnwindSafe for Currenttestpatternmodes
impl Send for Currenttestpatternmodes
impl Sync for Currenttestpatternmodes
impl Unpin for Currenttestpatternmodes
impl UnwindSafe for Currenttestpatternmodes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)