Enum atsamd21e18a::tcc0::ctrla::RESOLUTIONR [−][src]
pub enum RESOLUTIONR { NONE, DITH4, DITH5, DITH6, }
Possible values of the field RESOLUTION
Variants
NONE
Dithering is disabled
DITH4
Dithering is done every 16 PWM frames
DITH5
Dithering is done every 32 PWM frames
DITH6
Dithering is done every 64 PWM frames
Methods
impl RESOLUTIONR
[src]
impl RESOLUTIONR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_none(&self) -> bool
[src]
pub fn is_none(&self) -> bool
Checks if the value of the field is NONE
pub fn is_dith4(&self) -> bool
[src]
pub fn is_dith4(&self) -> bool
Checks if the value of the field is DITH4
pub fn is_dith5(&self) -> bool
[src]
pub fn is_dith5(&self) -> bool
Checks if the value of the field is DITH5
pub fn is_dith6(&self) -> bool
[src]
pub fn is_dith6(&self) -> bool
Checks if the value of the field is DITH6
Trait Implementations
impl Clone for RESOLUTIONR
[src]
impl Clone for RESOLUTIONR
fn clone(&self) -> RESOLUTIONR
[src]
fn clone(&self) -> RESOLUTIONR
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 RESOLUTIONR
[src]
impl Copy for RESOLUTIONR
impl Debug for RESOLUTIONR
[src]
impl Debug for RESOLUTIONR
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 RESOLUTIONR
[src]
impl PartialEq for RESOLUTIONR
Auto Trait Implementations
impl Send for RESOLUTIONR
impl Send for RESOLUTIONR
impl Sync for RESOLUTIONR
impl Sync for RESOLUTIONR