[][src]Struct stm32f1xx_hal::stm32::otg_fs_global::fs_gusbcfg::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W[src]

Writes raw bits to the register

pub fn tocal(&mut self) -> _TOCALW[src]

Bits 0:2 - FS timeout calibration

pub fn physel(&mut self) -> _PHYSELW[src]

Bit 6 - Full Speed serial transceiver select

pub fn srpcap(&mut self) -> _SRPCAPW[src]

Bit 8 - SRP-capable

pub fn hnpcap(&mut self) -> _HNPCAPW[src]

Bit 9 - HNP-capable

pub fn trdt(&mut self) -> _TRDTW[src]

Bits 10:13 - USB turnaround time

pub fn fhmod(&mut self) -> _FHMODW[src]

Bit 29 - Force host mode

pub fn fdmod(&mut self) -> _FDMODW[src]

Bit 30 - Force device mode

pub fn ctxpkt(&mut self) -> _CTXPKTW[src]

Bit 31 - Corrupt Tx packet

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

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

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

The type returned in the event of a conversion error.

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

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

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

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

impl<T> Same for T

type Output = T

Should always be Self