[−][src]Struct stm32f103xx::usb::cntr::W
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 Self
[src]
Writes raw bits to the register
pub fn fres(&mut self) -> _FRESW
[src]
Bit 0 - Force USB Reset
pub fn pdwn(&mut self) -> _PDWNW
[src]
Bit 1 - Power down
pub fn lpmode(&mut self) -> _LPMODEW
[src]
Bit 2 - Low-power mode
pub fn fsusp(&mut self) -> _FSUSPW
[src]
Bit 3 - Force suspend
pub fn resume(&mut self) -> _RESUMEW
[src]
Bit 4 - Resume request
pub fn esofm(&mut self) -> _ESOFMW
[src]
Bit 8 - Expected start of frame interrupt mask
pub fn sofm(&mut self) -> _SOFMW
[src]
Bit 9 - Start of frame interrupt mask
pub fn resetm(&mut self) -> _RESETMW
[src]
Bit 10 - USB reset interrupt mask
pub fn suspm(&mut self) -> _SUSPMW
[src]
Bit 11 - Suspend mode interrupt mask
pub fn wkupm(&mut self) -> _WKUPMW
[src]
Bit 12 - Wakeup interrupt mask
pub fn errm(&mut self) -> _ERRMW
[src]
Bit 13 - Error interrupt mask
pub fn pmaovrm(&mut self) -> _PMAOVRMW
[src]
Bit 14 - Packet memory area over / underrun interrupt mask
pub fn ctrm(&mut self) -> _CTRMW
[src]
Bit 15 - Correct transfer interrupt mask
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,