Struct gd32f1x0_hal::pac::usart0::ctl2::OSB_R [−][src]
pub struct OSB_R(_);
Expand description
Field OSB
reader - One sample bit method
Implementations
impl OSB_R
[src]
impl OSB_R
[src]pub fn is_sample3(&self) -> bool
[src]
pub fn is_sample3(&self) -> bool
[src]Checks if the value of the field is SAMPLE3
pub fn is_sample1(&self) -> bool
[src]
pub fn is_sample1(&self) -> bool
[src]Checks if the value of the field is SAMPLE1
Methods from Deref<Target = FieldReader<bool, OSB_A>>
pub fn bit_is_clear(&self) -> bool
[src]
pub fn bit_is_clear(&self) -> bool
[src]Returns true
if the bit is clear (0).
pub fn bit_is_set(&self) -> bool
[src]
pub fn bit_is_set(&self) -> bool
[src]Returns true
if the bit is set (1).