Struct gd32f1x0_hal::pac::cmp::cs::CMP0OSEL_R [−][src]
pub struct CMP0OSEL_R(_);
Expand description
Field CMP0OSEL
reader - Comparator 0 output selection
Implementations
impl CMP0OSEL_R
[src]
impl CMP0OSEL_R
[src]pub fn variant(&self) -> CMP0OSEL_A
[src]
pub fn variant(&self) -> CMP0OSEL_A
[src]Get enumerated values variant
pub fn is_no_selection(&self) -> bool
[src]
pub fn is_no_selection(&self) -> bool
[src]Checks if the value of the field is NOSELECTION
pub fn is_timer0break_input(&self) -> bool
[src]
pub fn is_timer0break_input(&self) -> bool
[src]Checks if the value of the field is TIMER0BREAKINPUT
pub fn is_timer0input_capture0(&self) -> bool
[src]
pub fn is_timer0input_capture0(&self) -> bool
[src]Checks if the value of the field is TIMER0INPUTCAPTURE0
pub fn is_timer0ocpreclear_input(&self) -> bool
[src]
pub fn is_timer0ocpreclear_input(&self) -> bool
[src]Checks if the value of the field is TIMER0OCPRECLEARINPUT
pub fn is_timer1input_capture3(&self) -> bool
[src]
pub fn is_timer1input_capture3(&self) -> bool
[src]Checks if the value of the field is TIMER1INPUTCAPTURE3
pub fn is_timer1ocpreclear_input(&self) -> bool
[src]
pub fn is_timer1ocpreclear_input(&self) -> bool
[src]Checks if the value of the field is TIMER1OCPRECLEARINPUT
pub fn is_timer2input_capture0(&self) -> bool
[src]
pub fn is_timer2input_capture0(&self) -> bool
[src]Checks if the value of the field is TIMER2INPUTCAPTURE0
pub fn is_timer2ocpreclear_input(&self) -> bool
[src]
pub fn is_timer2ocpreclear_input(&self) -> bool
[src]Checks if the value of the field is TIMER2OCPRECLEARINPUT
Methods from Deref<Target = FieldReader<u8, CMP0OSEL_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).
Trait Implementations
impl Deref for CMP0OSEL_R
[src]
impl Deref for CMP0OSEL_R
[src]type Target = FieldReader<u8, CMP0OSEL_A>
type Target = FieldReader<u8, CMP0OSEL_A>
The resulting type after dereferencing.
pub fn deref(&self) -> &<CMP0OSEL_R as Deref>::Target
[src]
pub fn deref(&self) -> &<CMP0OSEL_R as Deref>::Target
[src]Dereferences the value.