[−][src]Enum stm32l0xx_hal::pac::adc::smpr::SMPR
Possible values of the field SMP
Variants
CYCLES1_5
1.5 ADC clock cycles
CYCLES3_5
3.5 ADC clock cycles
CYCLES7_5
7.5 ADC clock cycles
CYCLES12_5
12.5 ADC clock cycles
CYCLES19_5
19.5 ADC clock cycles
CYCLES39_5
39.5 ADC clock cycles
CYCLES79_5
79.5 ADC clock cycles
CYCLES160_5
160.5 ADC clock cycles
Methods
impl SMPR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_cycles1_5(&self) -> bool
[src]
Checks if the value of the field is CYCLES1_5
pub fn is_cycles3_5(&self) -> bool
[src]
Checks if the value of the field is CYCLES3_5
pub fn is_cycles7_5(&self) -> bool
[src]
Checks if the value of the field is CYCLES7_5
pub fn is_cycles12_5(&self) -> bool
[src]
Checks if the value of the field is CYCLES12_5
pub fn is_cycles19_5(&self) -> bool
[src]
Checks if the value of the field is CYCLES19_5
pub fn is_cycles39_5(&self) -> bool
[src]
Checks if the value of the field is CYCLES39_5
pub fn is_cycles79_5(&self) -> bool
[src]
Checks if the value of the field is CYCLES79_5
pub fn is_cycles160_5(&self) -> bool
[src]
Checks if the value of the field is CYCLES160_5
Trait Implementations
impl PartialEq<SMPR> for SMPR
[src]
impl Debug for SMPR
[src]
impl Copy for SMPR
[src]
impl Clone for SMPR
[src]
fn clone(&self) -> SMPR
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self