#[repr(transparent)]pub struct Miscctrl(pub u8);Expand description
Miscellaneous Control
Tuple Fields§
§0: u8Implementations§
Source§impl Miscctrl
impl Miscctrl
Sourcepub const fn sofdynthld(&self) -> Sofdynthld
pub const fn sofdynthld(&self) -> Sofdynthld
Dynamic SOF Threshold Compare mode
Sourcepub const fn set_sofdynthld(&mut self, val: Sofdynthld)
pub const fn set_sofdynthld(&mut self, val: Sofdynthld)
Dynamic SOF Threshold Compare mode
Sourcepub const fn set_sofbusset(&mut self, val: Sofbusset)
pub const fn set_sofbusset(&mut self, val: Sofbusset)
SOF_TOK Interrupt Generation Mode Select
Sourcepub const fn ownerrisodis(&self) -> Ownerrisodis
pub const fn ownerrisodis(&self) -> Ownerrisodis
OWN Error Detect for ISO IN and ISO OUT Disable
Sourcepub const fn set_ownerrisodis(&mut self, val: Ownerrisodis)
pub const fn set_ownerrisodis(&mut self, val: Ownerrisodis)
OWN Error Detect for ISO IN and ISO OUT Disable
Sourcepub const fn set_vredg_en(&mut self, val: VredgEn)
pub const fn set_vredg_en(&mut self, val: VredgEn)
VREGIN Rising Edge Interrupt Enable
Sourcepub const fn set_vfedg_en(&mut self, val: VfedgEn)
pub const fn set_vfedg_en(&mut self, val: VfedgEn)
VREGIN Falling Edge Interrupt Enable
Sourcepub const fn stl_adj_en(&self) -> StlAdjEn
pub const fn stl_adj_en(&self) -> StlAdjEn
USB Peripheral Mode Stall Adjust Enable
Sourcepub const fn set_stl_adj_en(&mut self, val: StlAdjEn)
pub const fn set_stl_adj_en(&mut self, val: StlAdjEn)
USB Peripheral Mode Stall Adjust Enable
Trait Implementations§
impl Copy for Miscctrl
impl Eq for Miscctrl
impl StructuralPartialEq for Miscctrl
Auto Trait Implementations§
impl Freeze for Miscctrl
impl RefUnwindSafe for Miscctrl
impl Send for Miscctrl
impl Sync for Miscctrl
impl Unpin for Miscctrl
impl UnwindSafe for Miscctrl
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