Struct stm32_metapac::i3c::regs::Epidr
#[repr(transparent)]pub struct Epidr(pub u32);
Expand description
I3C extended provisioned ID register.
Tuple Fields§
§0: u32
Implementations§
§impl Epidr
impl Epidr
pub const fn mipiid(&self) -> u8
pub const fn mipiid(&self) -> u8
4-bit MIPI Instance ID This field is written by software to set and identify individually each instance of this I3C IP with a specific number on a single I3C bus. This field represents the bits[15:12] of the 48-bit provisioned ID. Note: The bits[11:0] of the provisioned ID may be 0.
pub fn set_mipiid(&mut self, val: u8)
pub fn set_mipiid(&mut self, val: u8)
4-bit MIPI Instance ID This field is written by software to set and identify individually each instance of this I3C IP with a specific number on a single I3C bus. This field represents the bits[15:12] of the 48-bit provisioned ID. Note: The bits[11:0] of the provisioned ID may be 0.
pub const fn idtsel(&self) -> bool
pub const fn idtsel(&self) -> bool
provisioned ID type selector This field is set as 0 i.e. vendor fixed value. This field represents the bit[32] of the 48-bit provisioned ID. Note: The bits[31:16] of the provisioned ID may be 0.
pub fn set_idtsel(&mut self, val: bool)
pub fn set_idtsel(&mut self, val: bool)
provisioned ID type selector This field is set as 0 i.e. vendor fixed value. This field represents the bit[32] of the 48-bit provisioned ID. Note: The bits[31:16] of the provisioned ID may be 0.
pub const fn mipimid(&self) -> u16
pub const fn mipimid(&self) -> u16
15-bit MIPI manufacturer ID This read field is the 15-bit STMicroelectronics MIPI ID i.e. 0x0104. This field represents the bits[47:33] of the 48-bit provisioned ID.
pub fn set_mipimid(&mut self, val: u16)
pub fn set_mipimid(&mut self, val: u16)
15-bit MIPI manufacturer ID This read field is the 15-bit STMicroelectronics MIPI ID i.e. 0x0104. This field represents the bits[47:33] of the 48-bit provisioned ID.
Trait Implementations§
impl Copy for Epidr
impl Eq for Epidr
impl StructuralPartialEq for Epidr
Auto Trait Implementations§
impl Freeze for Epidr
impl RefUnwindSafe for Epidr
impl Send for Epidr
impl Sync for Epidr
impl Unpin for Epidr
impl UnwindSafe for Epidr
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
)