Checkpoint.
This commit is contained in:
@@ -17,11 +17,13 @@ pub mod exti;
|
||||
pub mod gpio;
|
||||
#[cfg(feature = "_rng")]
|
||||
pub mod rng;
|
||||
pub mod spi;
|
||||
#[cfg(feature = "_usart")]
|
||||
pub mod usart;
|
||||
|
||||
// This must go LAST so that it sees the `impl_foo!` macros
|
||||
mod pac;
|
||||
|
||||
pub use embassy_macros::interrupt;
|
||||
pub use pac::{interrupt, peripherals, Peripherals};
|
||||
|
||||
|
@@ -6,23 +6,23 @@ pub fn GPIO(n: usize) -> gpio::Gpio {
|
||||
gpio::Gpio((0x40020000 + 0x400 * n) as _)
|
||||
}
|
||||
pub const DMA1: dma::Dma = dma::Dma(0x40026000 as _);
|
||||
impl_dma_channel!(DMA1_CH0, DMA1, 0);
|
||||
impl_dma_channel!(DMA1_CH1, DMA1, 1);
|
||||
impl_dma_channel!(DMA1_CH2, DMA1, 2);
|
||||
impl_dma_channel!(DMA1_CH3, DMA1, 3);
|
||||
impl_dma_channel!(DMA1_CH4, DMA1, 4);
|
||||
impl_dma_channel!(DMA1_CH5, DMA1, 5);
|
||||
impl_dma_channel!(DMA1_CH6, DMA1, 6);
|
||||
impl_dma_channel!(DMA1_CH7, DMA1, 7);
|
||||
impl_dma_channel!(DMA1_CH0, 1, 0);
|
||||
impl_dma_channel!(DMA1_CH1, 1, 1);
|
||||
impl_dma_channel!(DMA1_CH2, 1, 2);
|
||||
impl_dma_channel!(DMA1_CH3, 1, 3);
|
||||
impl_dma_channel!(DMA1_CH4, 1, 4);
|
||||
impl_dma_channel!(DMA1_CH5, 1, 5);
|
||||
impl_dma_channel!(DMA1_CH6, 1, 6);
|
||||
impl_dma_channel!(DMA1_CH7, 1, 7);
|
||||
pub const DMA2: dma::Dma = dma::Dma(0x40026400 as _);
|
||||
impl_dma_channel!(DMA2_CH0, DMA2, 0);
|
||||
impl_dma_channel!(DMA2_CH1, DMA2, 1);
|
||||
impl_dma_channel!(DMA2_CH2, DMA2, 2);
|
||||
impl_dma_channel!(DMA2_CH3, DMA2, 3);
|
||||
impl_dma_channel!(DMA2_CH4, DMA2, 4);
|
||||
impl_dma_channel!(DMA2_CH5, DMA2, 5);
|
||||
impl_dma_channel!(DMA2_CH6, DMA2, 6);
|
||||
impl_dma_channel!(DMA2_CH7, DMA2, 7);
|
||||
impl_dma_channel!(DMA2_CH0, 2, 0);
|
||||
impl_dma_channel!(DMA2_CH1, 2, 1);
|
||||
impl_dma_channel!(DMA2_CH2, 2, 2);
|
||||
impl_dma_channel!(DMA2_CH3, 2, 3);
|
||||
impl_dma_channel!(DMA2_CH4, 2, 4);
|
||||
impl_dma_channel!(DMA2_CH5, 2, 5);
|
||||
impl_dma_channel!(DMA2_CH6, 2, 6);
|
||||
impl_dma_channel!(DMA2_CH7, 2, 7);
|
||||
pub const EXTI: exti::Exti = exti::Exti(0x40013c00 as _);
|
||||
pub const GPIOA: gpio::Gpio = gpio::Gpio(0x40020000 as _);
|
||||
impl_gpio_pin!(PA0, 0, 0, EXTI0);
|
||||
|
@@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -194,7 +201,7 @@ peripherals!(
|
||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -194,7 +201,7 @@ peripherals!(
|
||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -128,6 +128,10 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -158,6 +162,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -172,7 +177,7 @@ peripherals!(
|
||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI3, SYSCFG, USART1, USART2
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -128,6 +128,10 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -158,6 +162,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -172,7 +177,7 @@ peripherals!(
|
||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI3, SYSCFG, USART1, USART2
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -194,7 +201,7 @@ peripherals!(
|
||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -194,7 +201,7 @@ peripherals!(
|
||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -194,7 +201,7 @@ peripherals!(
|
||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -94,6 +94,10 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -119,6 +123,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -131,7 +136,8 @@ peripherals!(
|
||||
PA0, PA1, PA2, PA3, PA4, PA5, PA6, PA7, PA8, PA9, PA10, PA11, PA12, PA13, PA14, PA15, PB0, PB1,
|
||||
PB2, PB3, PB4, PB5, PB6, PB7, PB8, PB9, PB10, PB11, PB12, PB13, PB14, PB15, PC0, PC1, PC2, PC3,
|
||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PH0, PH1, PH2, PH3, PH4, PH5,
|
||||
PH6, PH7, PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2
|
||||
PH6, PH7, PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI3, SYSCFG, USART1,
|
||||
USART2
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -94,6 +94,10 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -119,6 +123,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -131,7 +136,8 @@ peripherals!(
|
||||
PA0, PA1, PA2, PA3, PA4, PA5, PA6, PA7, PA8, PA9, PA10, PA11, PA12, PA13, PA14, PA15, PB0, PB1,
|
||||
PB2, PB3, PB4, PB5, PB6, PB7, PB8, PB9, PB10, PB11, PB12, PB13, PB14, PB15, PC0, PC1, PC2, PC3,
|
||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PH0, PH1, PH2, PH3, PH4, PH5,
|
||||
PH6, PH7, PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2
|
||||
PH6, PH7, PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI3, SYSCFG, USART1,
|
||||
USART2
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -194,7 +201,7 @@ peripherals!(
|
||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -194,7 +201,7 @@ peripherals!(
|
||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -194,7 +201,7 @@ peripherals!(
|
||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -194,7 +201,7 @@ peripherals!(
|
||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -194,7 +201,7 @@ peripherals!(
|
||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -94,6 +94,10 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -119,6 +123,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -131,7 +136,8 @@ peripherals!(
|
||||
PA0, PA1, PA2, PA3, PA4, PA5, PA6, PA7, PA8, PA9, PA10, PA11, PA12, PA13, PA14, PA15, PB0, PB1,
|
||||
PB2, PB3, PB4, PB5, PB6, PB7, PB8, PB9, PB10, PB11, PB12, PB13, PB14, PB15, PC0, PC1, PC2, PC3,
|
||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PH0, PH1, PH2, PH3, PH4, PH5,
|
||||
PH6, PH7, PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2
|
||||
PH6, PH7, PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI3, SYSCFG, USART1,
|
||||
USART2
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -194,7 +201,7 @@ peripherals!(
|
||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -194,7 +201,7 @@ peripherals!(
|
||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -128,6 +128,12 @@ impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -180,6 +186,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -194,7 +201,7 @@ peripherals!(
|
||||
PC4, PC5, PC6, PC7, PC8, PC9, PC10, PC11, PC12, PC13, PC14, PC15, PD0, PD1, PD2, PD3, PD4, PD5,
|
||||
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7,
|
||||
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -253,7 +260,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -253,7 +260,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -253,7 +260,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -253,7 +260,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -253,7 +260,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -253,7 +260,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -253,7 +260,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -253,7 +260,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -253,7 +260,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -253,7 +260,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -253,7 +260,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -253,7 +260,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -253,7 +260,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -253,7 +260,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -253,7 +260,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,6 +179,12 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40013800 as _);
|
||||
impl_usart!(USART1);
|
||||
@@ -236,6 +242,7 @@ pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
pub use regs::usart_v2 as usart;
|
||||
mod regs;
|
||||
@@ -253,7 +260,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG, USART1, USART2, USART3
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
@@ -179,11 +179,18 @@ impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||
impl_rng!(RNG);
|
||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||
impl_spi!(SPI1);
|
||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
||||
impl_spi!(SPI2);
|
||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
||||
impl_spi!(SPI3);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40010000 as _);
|
||||
pub use regs::dma_v1 as dma;
|
||||
pub use regs::exti_v1 as exti;
|
||||
pub use regs::gpio_v2 as gpio;
|
||||
pub use regs::rng_v1 as rng;
|
||||
pub use regs::spi_v2 as spi;
|
||||
pub use regs::syscfg_l4 as syscfg;
|
||||
mod regs;
|
||||
use embassy_extras::peripherals;
|
||||
@@ -200,7 +207,7 @@ peripherals!(
|
||||
PF10, PF11, PF12, PF13, PF14, PF15, PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9, PG10,
|
||||
PG11, PG12, PG13, PG14, PG15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9, PH10, PH11,
|
||||
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
|
||||
PI13, PI14, PI15, RNG, SYSCFG
|
||||
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG
|
||||
);
|
||||
|
||||
pub mod interrupt {
|
||||
|
62
embassy-stm32/src/spi.rs
Normal file
62
embassy-stm32/src/spi.rs
Normal file
@@ -0,0 +1,62 @@
|
||||
pub use embedded_hal::spi::{Mode, Phase, Polarity, MODE_0, MODE_1, MODE_2, MODE_3};
|
||||
use core::marker::PhantomData;
|
||||
use embassy::interrupt::Interrupt;
|
||||
use embedded_hal::blocking::spi::Write;
|
||||
use crate::pac::spi
|
||||
|
||||
pub struct Spi<'d, T: Instance> {
|
||||
peri: T,
|
||||
irq: T::Interrupt,
|
||||
phantom: PhantomData<&'d mut T>,
|
||||
}
|
||||
|
||||
pub enum Error {
|
||||
|
||||
}
|
||||
|
||||
impl<'d, T: Instance> embedded_hal::blocking::spi::Write<u8> for Spim<'d, T> {
|
||||
type Error = Error;
|
||||
|
||||
fn write(&mut self, words: &[u8]) -> Result<(), Self::Error> {
|
||||
let mut recv: &mut [u8] = &mut [];
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
mod sealed {
|
||||
use super::*;
|
||||
use embassy::util::AtomicWaker;
|
||||
|
||||
pub struct State {
|
||||
pub end_waker: AtomicWaker,
|
||||
}
|
||||
|
||||
impl State {
|
||||
pub const fn new() -> Self {
|
||||
Self {
|
||||
end_waker: AtomicWaker::new(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub trait Instance {
|
||||
fn regs() -> &'static crate::pac::spi::Spi;
|
||||
fn state() -> &'static State;
|
||||
}
|
||||
}
|
||||
|
||||
pub trait Instance: sealed::Instance + 'static {
|
||||
type Interrupt: Interrupt;
|
||||
}
|
||||
|
||||
macro_rules! impl_spi {
|
||||
($inst:ident) => {
|
||||
impl crate::spi::sealed::Instance for peripherals::$inst {
|
||||
fn regs() -> crate::pac::spi::Spi {
|
||||
crate::pac::$inst
|
||||
}
|
||||
}
|
||||
|
||||
impl crate::spi::Instance for peripherals::$inst {}
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user