[][src]Type Definition tm4c129x::usb0::gpcs::DEVMOD_R

type DEVMOD_R = R<u8, DEVMOD_A>;

Reader of field DEVMOD

Methods

impl DEVMOD_R[src]

pub fn variant(&self) -> Variant<u8, DEVMOD_A>[src]

Get enumerated values variant

pub fn is_otg(&self) -> bool[src]

Checks if the value of the field is OTG

pub fn is_host(&self) -> bool[src]

Checks if the value of the field is HOST

pub fn is_dev(&self) -> bool[src]

Checks if the value of the field is DEV

pub fn is_hostvbus(&self) -> bool[src]

Checks if the value of the field is HOSTVBUS

pub fn is_devvbus(&self) -> bool[src]

Checks if the value of the field is DEVVBUS