Type Definition tm4c123x::sysctl::dc6::USB0_R

source ·
pub type USB0_R = R<u8, USB0_A>;
Expand description

Reader of field USB0

Implementations§

source§

impl USB0_R

source

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

Get enumerated values variant

source

pub fn is_dev(&self) -> bool

Checks if the value of the field is DEV

source

pub fn is_hostdev(&self) -> bool

Checks if the value of the field is HOSTDEV

source

pub fn is_otg(&self) -> bool

Checks if the value of the field is OTG