Enum atmega32u4::timer4::tccr_a::COM_AR [−][src]
pub enum COM_AR { DISCONNECTED, MATCH_TOGGLE, MATCH_CLEAR, MATCH_SET, }
Possible values of the field COM_A
Variants
DISCONNECTED
Normal port operation, OC4x disconnected
MATCH_TOGGLE
Toggle OC4x on Compare Match (Might depend on WGM)
MATCH_CLEAR
Clear OC4x on Compare Match (If PWM is enabled, OC4x is set at TOP)
MATCH_SET
Set OC4x on Compare Match (If PWM is enabled, OC4x is cleared at TOP)
Methods
impl COM_AR
[src]
impl COM_AR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_disconnected(&self) -> bool
[src]
pub fn is_disconnected(&self) -> bool
Checks if the value of the field is DISCONNECTED
pub fn is_match_toggle(&self) -> bool
[src]
pub fn is_match_toggle(&self) -> bool
Checks if the value of the field is MATCH_TOGGLE
pub fn is_match_clear(&self) -> bool
[src]
pub fn is_match_clear(&self) -> bool
Checks if the value of the field is MATCH_CLEAR
pub fn is_match_set(&self) -> bool
[src]
pub fn is_match_set(&self) -> bool
Checks if the value of the field is MATCH_SET
Trait Implementations
impl Clone for COM_AR
[src]
impl Clone for COM_AR
fn clone(&self) -> COM_AR
[src]
fn clone(&self) -> COM_AR
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for COM_AR
[src]
impl Copy for COM_AR
impl Debug for COM_AR
[src]
impl Debug for COM_AR
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for COM_AR
[src]
impl PartialEq for COM_AR