Enum efm32gg11b_pac::efm32gg11b840::vdac0::ctrl::REFRESHPERIOD_A
source · #[repr(u8)]
pub enum REFRESHPERIOD_A {
_8CYCLES,
_16CYCLES,
_32CYCLES,
_64CYCLES,
}
Expand description
Refresh Period
Value on reset: 0
Variants§
_8CYCLES
0: All channels with enabled refresh are refreshed every 8 DAC_CLK cycles
_16CYCLES
1: All channels with enabled refresh are refreshed every 16 DAC_CLK cycles
_32CYCLES
2: All channels with enabled refresh are refreshed every 32 DAC_CLK cycles
_64CYCLES
3: All channels with enabled refresh are refreshed every 64 DAC_CLK cycles
Trait Implementations§
source§impl Clone for REFRESHPERIOD_A
impl Clone for REFRESHPERIOD_A
source§fn clone(&self) -> REFRESHPERIOD_A
fn clone(&self) -> REFRESHPERIOD_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for REFRESHPERIOD_A
impl Debug for REFRESHPERIOD_A
source§impl From<REFRESHPERIOD_A> for u8
impl From<REFRESHPERIOD_A> for u8
source§fn from(variant: REFRESHPERIOD_A) -> Self
fn from(variant: REFRESHPERIOD_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<REFRESHPERIOD_A> for REFRESHPERIOD_A
impl PartialEq<REFRESHPERIOD_A> for REFRESHPERIOD_A
source§fn eq(&self, other: &REFRESHPERIOD_A) -> bool
fn eq(&self, other: &REFRESHPERIOD_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.