#[repr(transparent)]pub struct Devid(pub u32);
Expand description
Indicates the capabilities of the component.
Tuple Fields§
§0: u32
Implementations§
Source§impl Devid
impl Devid
Sourcepub const fn muxnum(&self) -> u8
pub const fn muxnum(&self) -> u8
Indicates the hidden level of input multiplexing. When non-zero, this value indicates the type of multiplexing on the input to the ATB. Currently only 0x00 is supported, that is, no multiplexing is present. This value helps detect the ATB structure.
Sourcepub fn set_muxnum(&mut self, val: u8)
pub fn set_muxnum(&mut self, val: u8)
Indicates the hidden level of input multiplexing. When non-zero, this value indicates the type of multiplexing on the input to the ATB. Currently only 0x00 is supported, that is, no multiplexing is present. This value helps detect the ATB structure.
Sourcepub const fn clkrelat(&self) -> Clkrelat
pub const fn clkrelat(&self) -> Clkrelat
Indicates the relationship between atclk and traceclkin.
Sourcepub fn set_clkrelat(&mut self, val: Clkrelat)
pub fn set_clkrelat(&mut self, val: Clkrelat)
Indicates the relationship between atclk and traceclkin.
Sourcepub fn set_fifosize(&mut self, val: Fifosize)
pub fn set_fifosize(&mut self, val: Fifosize)
FIFO size in powers of 2.
Sourcepub fn set_tclkdata(&mut self, val: Tclkdata)
pub fn set_tclkdata(&mut self, val: Tclkdata)
Indicates whether trace clock plus data is supported.
Sourcepub const fn swoman(&self) -> bool
pub const fn swoman(&self) -> bool
Indicates whether Serial Wire Output, Manchester encoded format, is supported.
Sourcepub fn set_swoman(&mut self, val: bool)
pub fn set_swoman(&mut self, val: bool)
Indicates whether Serial Wire Output, Manchester encoded format, is supported.
Sourcepub const fn swouartnrz(&self) -> bool
pub const fn swouartnrz(&self) -> bool
Indicates whether Serial Wire Output, UART or NRZ, is supported.
Sourcepub fn set_swouartnrz(&mut self, val: bool)
pub fn set_swouartnrz(&mut self, val: bool)
Indicates whether Serial Wire Output, UART or NRZ, is supported.
Trait Implementations§
impl Copy for Devid
impl Eq for Devid
impl StructuralPartialEq for Devid
Auto Trait Implementations§
impl Freeze for Devid
impl RefUnwindSafe for Devid
impl Send for Devid
impl Sync for Devid
impl Unpin for Devid
impl UnwindSafe for Devid
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
)