Struct stm32h7xx_hal::device::ADC2 [−][src]
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 AdcExt<ADC2> for ADC2
[src]
type Rec = Adc12
fn adc(
self,
delay: &mut impl DelayUs<u8>,
prec: Adc12,
clocks: &CoreClocks
) -> Adc<ADC2, Disabled>
[src]
self,
delay: &mut impl DelayUs<u8>,
prec: Adc12,
clocks: &CoreClocks
) -> Adc<ADC2, Disabled>
impl Channel<ADC2> for PF13<Analog>
[src]
impl Channel<ADC2> for PA6<Analog>
[src]
impl Channel<ADC2> for PC2<Analog>
[src]
impl Channel<ADC2> for PC3<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 PC4<Analog>
[src]
impl Channel<ADC2> for PB1<Analog>
[src]
impl Channel<ADC2> for PF14<Analog>
[src]
impl Channel<ADC2> for PA7<Analog>
[src]
impl Channel<ADC2> for PC5<Analog>
[src]
impl Channel<ADC2> for PB0<Analog>
[src]
impl Channel<ADC2> for PC0<Analog>
[src]
impl Channel<ADC2> for PC1<Analog>
[src]
impl Deref for ADC2
[src]
type Target = RegisterBlock
The resulting type after dereferencing.
pub fn deref(&self) -> &<ADC2 as Deref>::Target
[src]
impl<WORD, PIN> OneShot<ADC2, WORD, PIN> for Adc<ADC2, Enabled> where
WORD: From<u32>,
PIN: Channel<ADC2, ID = u8>,
[src]
WORD: From<u32>,
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 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,
pub 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.
pub 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>,