Struct Trcextinselr
#[repr(transparent)]pub struct Trcextinselr(pub u32);
Expand description
Use this to set, or read, which external inputs are resources to the trace unit. Might ignore writes when the trace unit is enabled or not idle. Only returns stable data when TRCSTATR.PMSTABLE == 1. When the sequencer is used, all sequencer state transitions must be programmed with a valid event.
Tuple Fields§
§0: u32
Implementations§
§impl Trcextinselr
impl Trcextinselr
pub const fn sel_0(&self) -> u8
pub const fn sel_0(&self) -> u8
Each field in this collection selects an external input as a resource for the trace unit.
pub fn set_sel_0(&mut self, val: u8)
pub fn set_sel_0(&mut self, val: u8)
Each field in this collection selects an external input as a resource for the trace unit.
pub const fn sel_1(&self) -> u8
pub const fn sel_1(&self) -> u8
Each field in this collection selects an external input as a resource for the trace unit.
pub fn set_sel_1(&mut self, val: u8)
pub fn set_sel_1(&mut self, val: u8)
Each field in this collection selects an external input as a resource for the trace unit.
pub const fn sel_2(&self) -> u8
pub const fn sel_2(&self) -> u8
Each field in this collection selects an external input as a resource for the trace unit.
pub fn set_sel_2(&mut self, val: u8)
pub fn set_sel_2(&mut self, val: u8)
Each field in this collection selects an external input as a resource for the trace unit.
Trait Implementations§
§impl Clone for Trcextinselr
impl Clone for Trcextinselr
§fn clone(&self) -> Trcextinselr
fn clone(&self) -> Trcextinselr
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Default for Trcextinselr
impl Default for Trcextinselr
§fn default() -> Trcextinselr
fn default() -> Trcextinselr
§impl PartialEq for Trcextinselr
impl PartialEq for Trcextinselr
impl Copy for Trcextinselr
impl Eq for Trcextinselr
impl StructuralPartialEq for Trcextinselr
Auto Trait Implementations§
impl Freeze for Trcextinselr
impl RefUnwindSafe for Trcextinselr
impl Send for Trcextinselr
impl Sync for Trcextinselr
impl Unpin for Trcextinselr
impl UnwindSafe for Trcextinselr
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
)