Type Definition tm4c123x::usb0::pp::USB_R

source ·
pub type USB_R = R<u8, USB_A>;
Expand description

Reader of field USB

Implementations§

source§

impl USB_R

source

pub fn variant(&self) -> Variant<u8, USB_A>

Get enumerated values variant

source

pub fn is_device(&self) -> bool

Checks if the value of the field is DEVICE

source

pub fn is_hostdevice(&self) -> bool

Checks if the value of the field is HOSTDEVICE

source

pub fn is_otg(&self) -> bool

Checks if the value of the field is OTG