pub type INPUTMODE_R = FieldReader<u8, INPUTMODE_A>;
Expand description

Field INPUTMODE reader - 5V Input Mode

Implementations§

source§

impl INPUTMODE_R

source

pub fn variant(&self) -> Option<INPUTMODE_A>

Get enumerated values variant

source

pub fn is_auto(&self) -> bool

Checks if the value of the field is AUTO

source

pub fn is_vbus(&self) -> bool

Checks if the value of the field is VBUS

source

pub fn is_vregi(&self) -> bool

Checks if the value of the field is VREGI