Type Alias atsame70n21b::usbhs::ctrl::UIMOD_R

source ·
pub type UIMOD_R = BitReader<UIMODSELECT_A>;
Expand description

Field UIMOD reader - USBHS Mode

Aliased Type§

struct UIMOD_R { /* private fields */ }

Implementations§

source§

impl UIMOD_R

source

pub fn variant(&self) -> UIMODSELECT_A

Get enumerated values variant

source

pub fn is_host(&self) -> bool

Checks if the value of the field is HOST

source

pub fn is_device(&self) -> bool

Checks if the value of the field is DEVICE