Enum msp430g2553::adc10::adc10ctl1::ADC10DIV_A
source · [−]#[repr(u8)]
pub enum ADC10DIV_A {
ADC10DIV_0,
ADC10DIV_1,
ADC10DIV_2,
ADC10DIV_3,
ADC10DIV_4,
ADC10DIV_5,
ADC10DIV_6,
ADC10DIV_7,
}
Expand description
ADC10 Clock Divider Select Bit: 0
Value on reset: 0
Variants
ADC10DIV_0
0: ADC10 Clock Divider Select 0
ADC10DIV_1
1: ADC10 Clock Divider Select 1
ADC10DIV_2
2: ADC10 Clock Divider Select 2
ADC10DIV_3
3: ADC10 Clock Divider Select 3
ADC10DIV_4
4: ADC10 Clock Divider Select 4
ADC10DIV_5
5: ADC10 Clock Divider Select 5
ADC10DIV_6
6: ADC10 Clock Divider Select 6
ADC10DIV_7
7: ADC10 Clock Divider Select 7
Trait Implementations
sourceimpl Clone for ADC10DIV_A
impl Clone for ADC10DIV_A
sourcefn clone(&self) -> ADC10DIV_A
fn clone(&self) -> ADC10DIV_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ADC10DIV_A
impl Debug for ADC10DIV_A
sourceimpl From<ADC10DIV_A> for u8
impl From<ADC10DIV_A> for u8
sourcefn from(variant: ADC10DIV_A) -> Self
fn from(variant: ADC10DIV_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ADC10DIV_A> for ADC10DIV_A
impl PartialEq<ADC10DIV_A> for ADC10DIV_A
sourcefn eq(&self, other: &ADC10DIV_A) -> bool
fn eq(&self, other: &ADC10DIV_A) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for ADC10DIV_A
impl Eq for ADC10DIV_A
impl StructuralEq for ADC10DIV_A
impl StructuralPartialEq for ADC10DIV_A
Auto Trait Implementations
impl RefUnwindSafe for ADC10DIV_A
impl Send for ADC10DIV_A
impl Sync for ADC10DIV_A
impl Unpin for ADC10DIV_A
impl UnwindSafe for ADC10DIV_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more