Enum msp430g2553::adc10::adc10ctl0::ADC10SHT_A
source · [−]#[repr(u8)]
pub enum ADC10SHT_A {
ADC10SHT_0,
ADC10SHT_1,
ADC10SHT_2,
ADC10SHT_3,
}
Expand description
ADC10 Sample Hold Select Bit: 0
Value on reset: 0
Variants
ADC10SHT_0
0: 4 x ADC10CLKs
ADC10SHT_1
1: 8 x ADC10CLKs
ADC10SHT_2
2: 16 x ADC10CLKs
ADC10SHT_3
3: 64 x ADC10CLKs
Trait Implementations
sourceimpl Clone for ADC10SHT_A
impl Clone for ADC10SHT_A
sourcefn clone(&self) -> ADC10SHT_A
fn clone(&self) -> ADC10SHT_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 ADC10SHT_A
impl Debug for ADC10SHT_A
sourceimpl From<ADC10SHT_A> for u8
impl From<ADC10SHT_A> for u8
sourcefn from(variant: ADC10SHT_A) -> Self
fn from(variant: ADC10SHT_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ADC10SHT_A> for ADC10SHT_A
impl PartialEq<ADC10SHT_A> for ADC10SHT_A
sourcefn eq(&self, other: &ADC10SHT_A) -> bool
fn eq(&self, other: &ADC10SHT_A) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for ADC10SHT_A
impl Eq for ADC10SHT_A
impl StructuralEq for ADC10SHT_A
impl StructuralPartialEq for ADC10SHT_A
Auto Trait Implementations
impl RefUnwindSafe for ADC10SHT_A
impl Send for ADC10SHT_A
impl Sync for ADC10SHT_A
impl Unpin for ADC10SHT_A
impl UnwindSafe for ADC10SHT_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