[−][src]Struct k64::usb0::otgstat::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: u8) -> &mut Self
[src]
Writes raw bits to the register
pub fn avbusvld(&mut self) -> _AVBUSVLDW
[src]
Bit 0 - A VBUS Valid
pub fn bsessend(&mut self) -> _BSESSENDW
[src]
Bit 2 - B Session End
pub fn sess_vld(&mut self) -> _SESS_VLDW
[src]
Bit 3 - Session Valid
pub fn linestatestable(&mut self) -> _LINESTATESTABLEW
[src]
Bit 5 - Indicates that the internal signals that control the LINE_STATE_CHG field of OTGISTAT are stable for at least 1 millisecond
pub fn onemsecen(&mut self) -> _ONEMSECENW
[src]
Bit 6 - This bit is reserved for the 1ms count, but it is not useful to software.
pub fn id(&mut self) -> _IDW
[src]
Bit 7 - Indicates the current state of the ID pin on the USB connector
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,