[−][src]Struct gd32vf103_pac::USBFS_GLOBAL
USB full speed global registers
Implementations
impl USBFS_GLOBAL
[src]
pub const fn ptr() -> *const RegisterBlock
[src]
Returns a pointer to the register block
Methods from Deref<Target = RegisterBlock>
pub fn grstatr_host(&self) -> &GRSTATR_HOST
[src]
0x1c - Global Receive status read(Host mode)
pub fn grstatr_host_mut(&self) -> &mut GRSTATR_HOST
[src]
0x1c - Global Receive status read(Host mode)
pub fn grstatr_device(&self) -> &GRSTATR_DEVICE
[src]
0x1c - Global Receive status read(Device mode)
pub fn grstatr_device_mut(&self) -> &mut GRSTATR_DEVICE
[src]
0x1c - Global Receive status read(Device mode)
pub fn grstatp_host(&self) -> &GRSTATP_HOST
[src]
0x20 - Global Receive status pop(Host mode)
pub fn grstatp_host_mut(&self) -> &mut GRSTATP_HOST
[src]
0x20 - Global Receive status pop(Host mode)
pub fn grstatp_device(&self) -> &GRSTATP_DEVICE
[src]
0x20 - Global Receive status pop(Device mode)
pub fn grstatp_device_mut(&self) -> &mut GRSTATP_DEVICE
[src]
0x20 - Global Receive status pop(Device mode)
pub fn diep0tflen(&self) -> &DIEP0TFLEN
[src]
0x28 - Device IN endpoint 0 transmit FIFO length (Device mode)
pub fn diep0tflen_mut(&self) -> &mut DIEP0TFLEN
[src]
0x28 - Device IN endpoint 0 transmit FIFO length (Device mode)
pub fn hnptflen(&self) -> &HNPTFLEN
[src]
0x28 - Host non-periodic transmit FIFO length register (Host mode)
pub fn hnptflen_mut(&self) -> &mut HNPTFLEN
[src]
0x28 - Host non-periodic transmit FIFO length register (Host mode)
Trait Implementations
impl Deref for USBFS_GLOBAL
[src]
type Target = RegisterBlock
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl Send for USBFS_GLOBAL
[src]
Auto Trait Implementations
impl !Sync for USBFS_GLOBAL
impl Unpin for USBFS_GLOBAL
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,