[][src]Struct gd32vf103_pac::USBFS_GLOBAL

pub struct USBFS_GLOBAL { /* fields omitted */ }

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.

impl Send for USBFS_GLOBAL[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.