Struct nrf52840::usbd::DPDMVALUE [−][src]
pub struct DPDMVALUE { /* fields omitted */ }
State D+ and D- lines will be forced into by the DPDMDRIVE task. The DPDMNODRIVE task reverts the control of the lines to MAC IP (no forcing).
Methods
impl DPDMVALUE
[src]
impl DPDMVALUE
pub fn modify<F>(&self, f: F) where
F: FnOnce(&R, &'w mut W) -> &'w mut W,
[src]
pub fn modify<F>(&self, f: F) where
F: FnOnce(&R, &'w mut W) -> &'w mut W,
Modifies the contents of the register
pub fn read(&self) -> R
[src]
pub fn read(&self) -> R
Reads the contents of the register
pub fn write<F>(&self, f: F) where
F: FnOnce(&mut W) -> &mut W,
[src]
pub fn write<F>(&self, f: F) where
F: FnOnce(&mut W) -> &mut W,
Writes to the register
pub fn reset(&self)
[src]
pub fn reset(&self)
Writes the reset value to the register