pub type MODE4_R = FieldReader<u8, MODE4_A>;
Expand description

Field MODE4 reader - Pin 4 Mode

Implementations§

source§

impl MODE4_R

source

pub fn variant(&self) -> MODE4_A

Get enumerated values variant

source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

source

pub fn is_input(&self) -> bool

Checks if the value of the field is INPUT

source

pub fn is_inputpull(&self) -> bool

Checks if the value of the field is INPUTPULL

source

pub fn is_inputpullfilter(&self) -> bool

Checks if the value of the field is INPUTPULLFILTER

source

pub fn is_pushpull(&self) -> bool

Checks if the value of the field is PUSHPULL

source

pub fn is_pushpullalt(&self) -> bool

Checks if the value of the field is PUSHPULLALT

source

pub fn is_wiredor(&self) -> bool

Checks if the value of the field is WIREDOR

source

pub fn is_wiredorpulldown(&self) -> bool

Checks if the value of the field is WIREDORPULLDOWN

source

pub fn is_wiredand(&self) -> bool

Checks if the value of the field is WIREDAND

source

pub fn is_wiredandfilter(&self) -> bool

Checks if the value of the field is WIREDANDFILTER

source

pub fn is_wiredandpullup(&self) -> bool

Checks if the value of the field is WIREDANDPULLUP

source

pub fn is_wiredandpullupfilter(&self) -> bool

Checks if the value of the field is WIREDANDPULLUPFILTER

source

pub fn is_wiredandalt(&self) -> bool

Checks if the value of the field is WIREDANDALT

source

pub fn is_wiredandaltfilter(&self) -> bool

Checks if the value of the field is WIREDANDALTFILTER

source

pub fn is_wiredandaltpullup(&self) -> bool

Checks if the value of the field is WIREDANDALTPULLUP

source

pub fn is_wiredandaltpullupfilter(&self) -> bool

Checks if the value of the field is WIREDANDALTPULLUPFILTER