Struct stm32f30x::usb_fs::UsbCntr
[−]
[src]
pub struct UsbCntr { /* fields omitted */ }
control register
Methods
impl UsbCntr
[src]
fn modify<F>(&self, f: F) where
F: FnOnce(&R, &'w mut W) -> &'w mut W,
F: FnOnce(&R, &'w mut W) -> &'w mut W,
Modifies the contents of the register
fn read(&self) -> R
Reads the contents of the register
fn write<F>(&self, f: F) where
F: FnOnce(&mut W) -> &mut W,
F: FnOnce(&mut W) -> &mut W,
Writes to the register
fn reset(&self)
Writes the reset value to the register