Type Definition gd32f1::gd32f130::adc::ctl1::VBATEN_R [−][src]
type VBATEN_R = R<bool, VBATEN_A>;
Reader of field VBATEN
Implementations
impl VBATEN_R
[src]
pub fn variant(&self) -> VBATEN_A
[src]
Get enumerated values variant
pub fn is_disabled(&self) -> bool
[src]
Checks if the value of the field is DISABLED
pub fn is_enabled(&self) -> bool
[src]
Checks if the value of the field is ENABLED