Struct Devid
#[repr(transparent)]pub struct Devid(pub u32);Expand description
Indicates the capabilities of the component.
Tuple Fields§
§0: u32Implementations§
§impl Devid
impl Devid
pub 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.
pub const fn set_muxnum(&mut self, val: u8)
pub const 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.
pub const fn set_clkrelat(&mut self, val: Clkrelat)
pub const fn set_clkrelat(&mut self, val: Clkrelat)
Indicates the relationship between atclk and traceclkin.
pub const fn set_fifosize(&mut self, val: Fifosize)
pub const fn set_fifosize(&mut self, val: Fifosize)
FIFO size in powers of 2.
pub const fn set_tclkdata(&mut self, val: Tclkdata)
pub const fn set_tclkdata(&mut self, val: Tclkdata)
Indicates whether trace clock plus data is supported.
pub const fn swoman(&self) -> bool
pub const fn swoman(&self) -> bool
Indicates whether Serial Wire Output, Manchester encoded format, is supported.
pub const fn set_swoman(&mut self, val: bool)
pub const fn set_swoman(&mut self, val: bool)
Indicates whether Serial Wire Output, Manchester encoded format, is supported.
pub const fn swouartnrz(&self) -> bool
pub const fn swouartnrz(&self) -> bool
Indicates whether Serial Wire Output, UART or NRZ, is supported.
pub const fn set_swouartnrz(&mut self, val: bool)
pub const fn set_swouartnrz(&mut self, val: bool)
Indicates whether Serial Wire Output, UART or NRZ, is supported.