embassy-stm32

Crates

git

Versions

stm32l4a6zg

Flavors

embassy_stm32::peripherals

Struct DCMI

Source
pub struct DCMI { /* private fields */ }
Expand description

DCMI peripheral

Implementations§

Source§

impl DCMI

Source

pub unsafe fn steal() -> Self

Unsafely create an instance of this peripheral out of thin air.

§Safety

You must ensure that you’re only using one instance of this type at a time.

Trait Implementations§

Source§

impl D0Pin<DCMI> for PA9

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D0Pin
Source§

impl D0Pin<DCMI> for PC6

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D0Pin
Source§

impl D10Pin<DCMI> for PB5

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D10Pin
Source§

impl D10Pin<DCMI> for PD6

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D10Pin
Source§

impl D11Pin<DCMI> for PD2

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D11Pin
Source§

impl D11Pin<DCMI> for PF10

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D11Pin
Source§

impl D12Pin<DCMI> for PB4

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D12Pin
Source§

impl D12Pin<DCMI> for PF11

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D12Pin
Source§

impl D13Pin<DCMI> for PG15

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D13Pin
Source§

impl D1Pin<DCMI> for PA10

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D1Pin
Source§

impl D1Pin<DCMI> for PC7

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D1Pin
Source§

impl D2Pin<DCMI> for PC8

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D2Pin
Source§

impl D2Pin<DCMI> for PE0

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D2Pin
Source§

impl D3Pin<DCMI> for PC9

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D3Pin
Source§

impl D3Pin<DCMI> for PE1

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D3Pin
Source§

impl D4Pin<DCMI> for PC11

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D4Pin
Source§

impl D4Pin<DCMI> for PE4

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D4Pin
Source§

impl D5Pin<DCMI> for PB6

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D5Pin
Source§

impl D5Pin<DCMI> for PD3

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D5Pin
Source§

impl D6Pin<DCMI> for PB8

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D6Pin
Source§

impl D6Pin<DCMI> for PE5

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D6Pin
Source§

impl D7Pin<DCMI> for PB9

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D7Pin
Source§

impl D7Pin<DCMI> for PE6

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D7Pin
Source§

impl D8Pin<DCMI> for PC10

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D8Pin
Source§

impl D9Pin<DCMI> for PC12

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D9Pin
Source§

impl FrameDma<DCMI> for DMA2_CH5

Source§

fn request(&self) -> Request

Get the DMA request number needed to use this channel asFrameDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl FrameDma<DCMI> for DMA2_CH6

Source§

fn request(&self) -> Request

Get the DMA request number needed to use this channel asFrameDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl HSyncPin<DCMI> for PA4

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as HSyncPin
Source§

impl HSyncPin<DCMI> for PD8

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as HSyncPin
Source§

impl Instance for DCMI

Source§

type Interrupt = DCMI

Interrupt for this instance.
Source§

impl Peripheral for DCMI

Source§

type P = DCMI

Peripheral singleton type
Source§

unsafe fn clone_unchecked(&self) -> Self::P

Unsafely clone (duplicate) a peripheral singleton. Read more
Source§

fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>
where Self: 'a,

Convert a value into a PeripheralRef. Read more
Source§

impl PixClkPin<DCMI> for PA6

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as PixClkPin
Source§

impl PixClkPin<DCMI> for PD9

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as PixClkPin
Source§

impl VSyncPin<DCMI> for PB7

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as VSyncPin
Source§

impl RccPeripheral for DCMI

Auto Trait Implementations§

§

impl Freeze for DCMI

§

impl RefUnwindSafe for DCMI

§

impl Send for DCMI

§

impl Sync for DCMI

§

impl Unpin for DCMI

§

impl UnwindSafe for DCMI

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.