Struct stm32f103xx::usb::cntr::W
[−]
[src]
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 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