Type Alias d1_pac::smhc::smhc_cmd::VOL_SW_R

source ·
pub type VOL_SW_R = BitReader<VOL_SW_A>;
Expand description

Field vol_sw reader - Voltage Switch

Aliased Type§

struct VOL_SW_R { /* private fields */ }

Implementations§

source§

impl VOL_SW_R

source

pub fn variant(&self) -> VOL_SW_A

Get enumerated values variant

source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

source

pub fn is_voltage_switch(&self) -> bool

Checks if the value of the field is VOLTAGE_SWITCH