[−][src]Struct stm32f1xx_hal::pac::ADC2
Analog to digital converter
Implementations
impl ADC2
[src]
pub const fn ptr() -> *const RegisterBlock
[src]
Returns a pointer to the register block
Trait Implementations
impl Channel<ADC2> for PA0<Analog>
[src]
impl Channel<ADC2> for PA1<Analog>
[src]
impl Channel<ADC2> for PC0<Analog>
[src]
impl Channel<ADC2> for PC1<Analog>
[src]
impl Channel<ADC2> for PC2<Analog>
[src]
impl Channel<ADC2> for PC3<Analog>
[src]
impl Channel<ADC2> for PC4<Analog>
[src]
impl Channel<ADC2> for PC5<Analog>
[src]
impl Channel<ADC2> for PA2<Analog>
[src]
impl Channel<ADC2> for PA3<Analog>
[src]
impl Channel<ADC2> for PA4<Analog>
[src]
impl Channel<ADC2> for PA5<Analog>
[src]
impl Channel<ADC2> for PA6<Analog>
[src]
impl Channel<ADC2> for PA7<Analog>
[src]
impl Channel<ADC2> for PB0<Analog>
[src]
impl Channel<ADC2> for PB1<Analog>
[src]
impl Deref for ADC2
[src]
type Target = RegisterBlock
The resulting type after dereferencing.
fn deref(&self) -> &<ADC2 as Deref>::Target
[src]
impl Enable for ADC2
[src]
impl<WORD, PIN> OneShot<ADC2, WORD, PIN> for Adc<ADC2> where
WORD: From<u16>,
PIN: Channel<ADC2, ID = u8>,
[src]
WORD: From<u16>,
PIN: Channel<ADC2, ID = u8>,
type Error = ()
Error type returned by ADC methods
fn read(&mut self, _pin: &mut PIN) -> Result<WORD, Self::Error>
[src]
impl Reset for ADC2
[src]
impl Send for ADC2
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,