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

type W = W<u8, DEVCTL>;

Writer for register DEVCTL

Methods

impl W[src]

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

Bit 0 - Session Start/End (OTG only)

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

Bit 1 - Host Request (OTG only)

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

Bit 2 - Host Mode

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

Bits 3:4 - VBUS Level (OTG only)

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

Bit 5 - Low-Speed Device Detected

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

Bit 6 - Full-Speed Device Detected

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

Bit 7 - Device Mode (OTG only)