Struct stm32_metapac::otg::regs::Gotgctl
#[repr(transparent)]pub struct Gotgctl(pub u32);
Expand description
Control and status register
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Gotgctl
impl Gotgctl
pub fn set_srqscs(&mut self, val: bool)
pub fn set_srqscs(&mut self, val: bool)
Session request success
pub fn set_vbvaloen(&mut self, val: bool)
pub fn set_vbvaloen(&mut self, val: bool)
VBUS valid override enable
pub fn set_vbvaloval(&mut self, val: bool)
pub fn set_vbvaloval(&mut self, val: bool)
VBUS valid override value
pub fn set_avaloen(&mut self, val: bool)
pub fn set_avaloen(&mut self, val: bool)
A-peripheral session valid override enable
pub fn set_avaloval(&mut self, val: bool)
pub fn set_avaloval(&mut self, val: bool)
A-peripheral session valid override value
pub fn set_bvaloen(&mut self, val: bool)
pub fn set_bvaloen(&mut self, val: bool)
B-peripheral session valid override enable
pub fn set_bvaloval(&mut self, val: bool)
pub fn set_bvaloval(&mut self, val: bool)
B-peripheral session valid override value
pub fn set_hngscs(&mut self, val: bool)
pub fn set_hngscs(&mut self, val: bool)
Host negotiation success
pub fn set_hshnpen(&mut self, val: bool)
pub fn set_hshnpen(&mut self, val: bool)
Host set HNP enable
pub fn set_dhnpen(&mut self, val: bool)
pub fn set_dhnpen(&mut self, val: bool)
Device HNP enabled
pub fn set_cidsts(&mut self, val: bool)
pub fn set_cidsts(&mut self, val: bool)
Connector ID status
Trait Implementationsยง
ยงimpl PartialEq for Gotgctl
impl PartialEq for Gotgctl
impl Copy for Gotgctl
impl Eq for Gotgctl
impl StructuralEq for Gotgctl
impl StructuralPartialEq for Gotgctl
Auto Trait Implementationsยง
impl RefUnwindSafe for Gotgctl
impl Send for Gotgctl
impl Sync for Gotgctl
impl Unpin for Gotgctl
impl UnwindSafe for Gotgctl
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