Struct stm32_metapac::dsihost::regs::Pttcr
#[repr(transparent)]pub struct Pttcr(pub u32);
Expand description
DSI Host PHY TX triggers configuration register.
Tuple Fields§
§0: u32
Implementations§
§impl Pttcr
impl Pttcr
pub const fn tx_trig(&self) -> u8
pub const fn tx_trig(&self) -> u8
Transmission trigger Escape mode transmit trigger 0-3. Only one bit of TX_TRIG is asserted at any given time.
pub fn set_tx_trig(&mut self, val: u8)
pub fn set_tx_trig(&mut self, val: u8)
Transmission trigger Escape mode transmit trigger 0-3. Only one bit of TX_TRIG is asserted at any given time.
Trait Implementations§
impl Copy for Pttcr
impl Eq for Pttcr
impl StructuralPartialEq for Pttcr
Auto Trait Implementations§
impl Freeze for Pttcr
impl RefUnwindSafe for Pttcr
impl Send for Pttcr
impl Sync for Pttcr
impl Unpin for Pttcr
impl UnwindSafe for Pttcr
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
)