Struct stm32_hal2::pac::ADC1 [−][src]
Analog-to-Digital Converter
Implementations
impl ADC1
[src]
pub const fn ptr() -> *const RegisterBlock
[src]
Returns a pointer to the register block
Trait Implementations
impl Channel<ADC1> for C1
[src]
impl Channel<ADC1> for C2
[src]
impl Channel<ADC1> for C11
[src]
impl Channel<ADC1> for C12
[src]
impl Channel<ADC1> for C13
[src]
impl Channel<ADC1> for C14
[src]
impl Channel<ADC1> for C15
[src]
impl Channel<ADC1> for C16
[src]
impl Channel<ADC1> for C17
[src]
impl Channel<ADC1> for C18
[src]
impl Channel<ADC1> for C19
[src]
impl Channel<ADC1> for C20
[src]
impl Channel<ADC1> for C3
[src]
impl Channel<ADC1> for C4
[src]
impl Channel<ADC1> for C5
[src]
impl Channel<ADC1> for C6
[src]
impl Channel<ADC1> for C7
[src]
impl Channel<ADC1> for C8
[src]
impl Channel<ADC1> for C9
[src]
impl Channel<ADC1> for C10
[src]
impl Deref for ADC1
[src]
type Target = RegisterBlock
The resulting type after dereferencing.
pub fn deref(&self) -> &<ADC1 as Deref>::Target
[src]
impl<WORD, PIN> OneShot<ADC1, WORD, PIN> for Adc<ADC1> where
WORD: From<u16>,
PIN: Channel<ADC1, ID = u8>,
[src]
WORD: From<u16>,
PIN: Channel<ADC1, 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 ADC1
[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>,