[][src]Type Definition tm4c129x::usb0::devctl::R

type R = R<u8, DEVCTL>;

Reader of register DEVCTL

Methods

impl R[src]

pub fn session(&self) -> SESSION_R[src]

Bit 0 - Session Start/End (OTG only)

pub fn hostreq(&self) -> HOSTREQ_R[src]

Bit 1 - Host Request (OTG only)

pub fn host(&self) -> HOST_R[src]

Bit 2 - Host Mode

pub fn vbus(&self) -> VBUS_R[src]

Bits 3:4 - VBUS Level (OTG only)

pub fn lsdev(&self) -> LSDEV_R[src]

Bit 5 - Low-Speed Device Detected

pub fn fsdev(&self) -> FSDEV_R[src]

Bit 6 - Full-Speed Device Detected

pub fn dev(&self) -> DEV_R[src]

Bit 7 - Device Mode (OTG only)