Enum efm32gg11b_pac::efm32gg11b840::vdac0::ch1ctrl::TRIGMODE_A
source · #[repr(u8)]
pub enum TRIGMODE_A {
SW,
PRS,
REFRESH,
SWPRS,
SWREFRESH,
LESENSE,
}
Expand description
Channel 1 Trigger Mode
Value on reset: 0
Variants§
SW
0: Channel 1 is triggered by CH1DATA or COMBDATA write
PRS
1: Channel 1 is triggered by PRS input
REFRESH
2: Channel 1 is triggered by Refresh timer
SWPRS
3: Channel 1 is triggered by CH1DATA/COMBDATA write or PRS input
SWREFRESH
4: Channel 1 is triggered by CH1DATA/COMBDATA write or Refresh timer
LESENSE
5: Channel 1 is triggered by LESENSE
Trait Implementations§
source§impl Clone for TRIGMODE_A
impl Clone for TRIGMODE_A
source§fn clone(&self) -> TRIGMODE_A
fn clone(&self) -> TRIGMODE_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 TRIGMODE_A
impl Debug for TRIGMODE_A
source§impl From<TRIGMODE_A> for u8
impl From<TRIGMODE_A> for u8
source§fn from(variant: TRIGMODE_A) -> Self
fn from(variant: TRIGMODE_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<TRIGMODE_A> for TRIGMODE_A
impl PartialEq<TRIGMODE_A> for TRIGMODE_A
source§fn eq(&self, other: &TRIGMODE_A) -> bool
fn eq(&self, other: &TRIGMODE_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.