[−][src]Enum stm32f4xx_hal::stm32::adc1::cr1::RESR
Possible values of the field RES
Variants
12-bit (15 ADCCLK cycles)
10-bit (13 ADCCLK cycles)
8-bit (11 ADCCLK cycles)
6-bit (9 ADCCLK cycles)
Methods
impl RESR[src]
pub fn bits(&self) -> u8[src]
Value of the field as raw bits
pub fn is_twelve_bit(&self) -> bool[src]
Checks if the value of the field is TWELVEBIT
pub fn is_ten_bit(&self) -> bool[src]
Checks if the value of the field is TENBIT
pub fn is_eight_bit(&self) -> bool[src]
Checks if the value of the field is EIGHTBIT
pub fn is_six_bit(&self) -> bool[src]
Checks if the value of the field is SIXBIT
Trait Implementations
impl PartialEq<RESR> for RESR[src]
impl Debug for RESR[src]
impl Clone for RESR[src]
fn clone(&self) -> RESR[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for RESR[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