Struct stm32_metapac::dsihost::regs::Gvcidr
#[repr(transparent)]pub struct Gvcidr(pub u32);
Expand description
DSI Host generic VCID register.
Tuple Fields§
§0: u32
Implementations§
§impl Gvcidr
impl Gvcidr
pub const fn vcidrx(&self) -> u8
pub const fn vcidrx(&self) -> u8
Virtual channel ID for reception This field indicates the generic interface read-back virtual channel identification.
pub fn set_vcidrx(&mut self, val: u8)
pub fn set_vcidrx(&mut self, val: u8)
Virtual channel ID for reception This field indicates the generic interface read-back virtual channel identification.
pub const fn vcidtx(&self) -> u8
pub const fn vcidtx(&self) -> u8
Virtual channel ID for transmission This field indicates the generic interface virtual channel identification where the generic packet is automatically generated and transmitted.
pub fn set_vcidtx(&mut self, val: u8)
pub fn set_vcidtx(&mut self, val: u8)
Virtual channel ID for transmission This field indicates the generic interface virtual channel identification where the generic packet is automatically generated and transmitted.
Trait Implementations§
impl Copy for Gvcidr
impl Eq for Gvcidr
impl StructuralPartialEq for Gvcidr
Auto Trait Implementations§
impl Freeze for Gvcidr
impl RefUnwindSafe for Gvcidr
impl Send for Gvcidr
impl Sync for Gvcidr
impl Unpin for Gvcidr
impl UnwindSafe for Gvcidr
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)