Update generated files

This commit is contained in:
Thales Fragoso 2021-05-22 22:07:05 -03:00
parent a0fe9e4645
commit 5e49a9932f
506 changed files with 29764 additions and 23574 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -153,6 +153,14 @@ impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -186,6 +194,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -196,7 +205,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART6
PH10, PH11, PH12, PH13, PH14, PH15, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM2, TIM3,
TIM4, TIM5, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -153,6 +153,14 @@ impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -186,6 +194,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -196,7 +205,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART6
PH10, PH11, PH12, PH13, PH14, PH15, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM2, TIM3,
TIM4, TIM5, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -153,6 +153,14 @@ impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -186,6 +194,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -196,7 +205,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART6
PH10, PH11, PH12, PH13, PH14, PH15, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM2, TIM3,
TIM4, TIM5, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -153,6 +153,14 @@ impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -186,6 +194,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -196,7 +205,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART6
PH10, PH11, PH12, PH13, PH14, PH15, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM2, TIM3,
TIM4, TIM5, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -153,6 +153,14 @@ impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -186,6 +194,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -196,7 +205,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART6
PH10, PH11, PH12, PH13, PH14, PH15, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM2, TIM3,
TIM4, TIM5, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -153,6 +153,14 @@ impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -186,6 +194,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -196,7 +205,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART6
PH10, PH11, PH12, PH13, PH14, PH15, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM2, TIM3,
TIM4, TIM5, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -153,6 +153,14 @@ impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -186,6 +194,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -196,7 +205,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART6
PH10, PH11, PH12, PH13, PH14, PH15, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM2, TIM3,
TIM4, TIM5, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -153,6 +153,14 @@ impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -186,6 +194,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -196,7 +205,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART6
PH10, PH11, PH12, PH13, PH14, PH15, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM2, TIM3,
TIM4, TIM5, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -161,6 +161,14 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -194,6 +202,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -204,7 +213,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SPI4, SYSCFG, USART1, USART2, USART6
PH10, PH11, PH12, PH13, PH14, PH15, SPI1, SPI2, SPI3, SPI4, SYSCFG, TIM1, TIM10, TIM11, TIM2,
TIM3, TIM4, TIM5, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -161,6 +161,14 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -194,6 +202,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -204,7 +213,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SPI4, SYSCFG, USART1, USART2, USART6
PH10, PH11, PH12, PH13, PH14, PH15, SPI1, SPI2, SPI3, SPI4, SYSCFG, TIM1, TIM10, TIM11, TIM2,
TIM3, TIM4, TIM5, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -161,6 +161,14 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -194,6 +202,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -204,7 +213,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SPI4, SYSCFG, USART1, USART2, USART6
PH10, PH11, PH12, PH13, PH14, PH15, SPI1, SPI2, SPI3, SPI4, SYSCFG, TIM1, TIM10, TIM11, TIM2,
TIM3, TIM4, TIM5, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -161,6 +161,14 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -194,6 +202,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -204,7 +213,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SPI4, SYSCFG, USART1, USART2, USART6
PH10, PH11, PH12, PH13, PH14, PH15, SPI1, SPI2, SPI3, SPI4, SYSCFG, TIM1, TIM10, TIM11, TIM2,
TIM3, TIM4, TIM5, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -95,6 +95,11 @@ impl_gpio_pin!(PH15, 7, 15, EXTI15);
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
impl_rng!(RNG, RNG);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -125,6 +130,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -133,7 +139,8 @@ embassy_extras::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, USART6
PH6, PH7, PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, TIM1, TIM11, TIM5, TIM6,
TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -95,6 +95,11 @@ impl_gpio_pin!(PH15, 7, 15, EXTI15);
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
impl_rng!(RNG, RNG);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -125,6 +130,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -133,7 +139,8 @@ embassy_extras::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, USART6
PH6, PH7, PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, TIM1, TIM11, TIM5, TIM6,
TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -95,6 +95,11 @@ impl_gpio_pin!(PH15, 7, 15, EXTI15);
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
impl_rng!(RNG, RNG);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -125,6 +130,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -133,7 +139,8 @@ embassy_extras::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, USART6
PH6, PH7, PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, TIM1, TIM11, TIM5, TIM6,
TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -95,6 +95,11 @@ impl_gpio_pin!(PH15, 7, 15, EXTI15);
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
impl_rng!(RNG, RNG);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -125,6 +130,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -133,7 +139,8 @@ embassy_extras::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, USART6
PH6, PH7, PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SYSCFG, TIM1, TIM11, TIM5, TIM6,
TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -95,6 +95,11 @@ impl_gpio_pin!(PH15, 7, 15, EXTI15);
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
impl_rng!(RNG, RNG);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -118,6 +123,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -126,7 +132,8 @@ embassy_extras::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, SYSCFG, TIM1, TIM11, TIM5, TIM6,
TIM9, USART1, USART2
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -95,6 +95,11 @@ impl_gpio_pin!(PH15, 7, 15, EXTI15);
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
impl_rng!(RNG, RNG);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -118,6 +123,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -126,7 +132,8 @@ embassy_extras::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, SYSCFG, TIM1, TIM11, TIM5, TIM6,
TIM9, USART1, USART2
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -178,6 +178,14 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -213,6 +221,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -223,8 +232,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2,
USART6
PH10, PH11, PH12, PH13, PH14, PH15, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11,
TIM2, TIM3, TIM4, TIM5, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -178,6 +178,14 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -213,6 +221,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -223,8 +232,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2,
USART6
PH10, PH11, PH12, PH13, PH14, PH15, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11,
TIM2, TIM3, TIM4, TIM5, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -178,6 +178,14 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -213,6 +221,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -223,8 +232,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2,
USART6
PH10, PH11, PH12, PH13, PH14, PH15, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11,
TIM2, TIM3, TIM4, TIM5, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -178,6 +178,14 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -213,6 +221,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -223,8 +232,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2,
USART6
PH10, PH11, PH12, PH13, PH14, PH15, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11,
TIM2, TIM3, TIM4, TIM5, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -178,6 +178,14 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -213,6 +221,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -223,8 +232,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2,
USART6
PH10, PH11, PH12, PH13, PH14, PH15, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11,
TIM2, TIM3, TIM4, TIM5, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -178,6 +178,14 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -213,6 +221,7 @@ pub use super::regs::exti_v1 as exti;
pub use super::regs::gpio_v2 as gpio;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -223,8 +232,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2,
USART6
PH10, PH11, PH12, PH13, PH14, PH15, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11,
TIM2, TIM3, TIM4, TIM5, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -132,6 +132,20 @@ impl_spi_pin!(SPI5, MisoPin, PA12, 6);
impl_spi_pin!(SPI5, SckPin, PB0, 6);
impl_spi_pin!(SPI5, MosiPin, PB8, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -174,6 +188,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -183,7 +198,8 @@ embassy_extras::peripherals!(
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, SPI1, SPI2, SPI3, SPI4, SPI5,
SYSCFG, USART1, USART2, USART3, USART6
SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8,
TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -132,6 +132,20 @@ impl_spi_pin!(SPI5, MisoPin, PA12, 6);
impl_spi_pin!(SPI5, SckPin, PB0, 6);
impl_spi_pin!(SPI5, MosiPin, PB8, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -174,6 +188,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -183,7 +198,8 @@ embassy_extras::peripherals!(
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, SPI1, SPI2, SPI3, SPI4, SPI5,
SYSCFG, USART1, USART2, USART3, USART6
SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8,
TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -151,6 +151,20 @@ impl_spi_pin!(SPI5, MisoPin, PA12, 6);
impl_spi_pin!(SPI5, SckPin, PB0, 6);
impl_spi_pin!(SPI5, MosiPin, PB8, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -203,6 +217,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -212,8 +227,9 @@ embassy_extras::peripherals!(
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, PD0, PD1, PD2, PD3, PD4, PD5,
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7,
PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG,
USART1, USART2, USART3, USART6
PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1,
TIM10, TIM11, TIM12, TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1,
USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -151,6 +151,20 @@ impl_spi_pin!(SPI5, MisoPin, PA12, 6);
impl_spi_pin!(SPI5, SckPin, PB0, 6);
impl_spi_pin!(SPI5, MosiPin, PB8, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -203,6 +217,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -212,8 +227,9 @@ embassy_extras::peripherals!(
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, PD0, PD1, PD2, PD3, PD4, PD5,
PD6, PD7, PD8, PD9, PD10, PD11, PD12, PD13, PD14, PD15, PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7,
PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG,
USART1, USART2, USART3, USART6
PH8, PH9, PH10, PH11, PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1,
TIM10, TIM11, TIM12, TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1,
USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -214,6 +214,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -273,6 +287,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -285,8 +300,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3,
USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -214,6 +214,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -273,6 +287,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -285,8 +300,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3,
USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -214,6 +214,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -273,6 +287,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -285,8 +300,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3,
USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -214,6 +214,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -273,6 +287,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -285,8 +300,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3,
USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -217,6 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -260,6 +274,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -272,7 +287,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -217,6 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -260,6 +274,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -272,7 +287,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -217,6 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -276,6 +290,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -288,8 +303,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3,
USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -217,6 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -276,6 +290,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -288,8 +303,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3,
USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -217,6 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -276,6 +290,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -288,8 +303,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3,
USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -217,6 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -276,6 +290,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -288,8 +303,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3,
USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -217,6 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -276,6 +290,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -288,8 +303,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3,
USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -217,6 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -276,6 +290,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -288,8 +303,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3,
USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -217,6 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -276,6 +290,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -288,8 +303,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3,
USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -217,6 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -276,6 +290,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -288,8 +303,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3,
USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -207,6 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -261,6 +275,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -274,7 +289,8 @@ embassy_extras::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, SPI1, SPI2, SPI3, SYSCFG, USART1, USART2, USART3, USART6
PI13, PI14, PI15, RNG, SPI1, SPI2, SPI3, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -217,6 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -260,6 +274,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -272,7 +287,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -217,6 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -276,6 +290,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -288,8 +303,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3,
USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -217,6 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -276,6 +290,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -288,8 +303,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3,
USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -217,6 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -276,6 +290,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -288,8 +303,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3,
USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -217,6 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -276,6 +290,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -288,8 +303,8 @@ embassy_extras::peripherals!(
PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
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, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3,
USART6
PH12, PH13, PH14, PH15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12,
TIM13, TIM14, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -259,6 +259,20 @@ impl_spi_pin!(SPI5, MosiPin, PF9, 5);
impl_spi_pin!(SPI5, SckPin, PH6, 5);
impl_spi_pin!(SPI5, MisoPin, PH7, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -313,6 +327,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -328,7 +343,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -259,6 +259,20 @@ impl_spi_pin!(SPI5, MosiPin, PF9, 5);
impl_spi_pin!(SPI5, SckPin, PH6, 5);
impl_spi_pin!(SPI5, MisoPin, PH7, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -313,6 +327,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -328,7 +343,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -264,6 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
impl_spi_pin!(SPI6, SckPin, PG13, 5);
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -318,6 +332,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -333,7 +348,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14,
TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -264,6 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
impl_spi_pin!(SPI6, SckPin, PG13, 5);
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -318,6 +332,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -333,7 +348,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14,
TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -251,6 +251,20 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -305,6 +319,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -320,7 +335,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2, TIM3,
TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -251,6 +251,20 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -305,6 +319,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -320,7 +335,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2, TIM3,
TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -264,6 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
impl_spi_pin!(SPI6, SckPin, PG13, 5);
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -318,6 +332,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -333,7 +348,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14,
TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -264,6 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
impl_spi_pin!(SPI6, SckPin, PG13, 5);
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -318,6 +332,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -333,7 +348,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14,
TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -259,6 +259,20 @@ impl_spi_pin!(SPI5, MosiPin, PF9, 5);
impl_spi_pin!(SPI5, SckPin, PH6, 5);
impl_spi_pin!(SPI5, MisoPin, PH7, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -313,6 +327,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -328,7 +343,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -259,6 +259,20 @@ impl_spi_pin!(SPI5, MosiPin, PF9, 5);
impl_spi_pin!(SPI5, SckPin, PH6, 5);
impl_spi_pin!(SPI5, MisoPin, PH7, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -313,6 +327,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -328,7 +343,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -264,6 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
impl_spi_pin!(SPI6, SckPin, PG13, 5);
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -318,6 +332,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -333,7 +348,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14,
TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -264,6 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
impl_spi_pin!(SPI6, SckPin, PG13, 5);
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -318,6 +332,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -333,7 +348,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14,
TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -264,6 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
impl_spi_pin!(SPI6, SckPin, PG13, 5);
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -318,6 +332,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -333,7 +348,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14,
TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -264,6 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
impl_spi_pin!(SPI6, SckPin, PG13, 5);
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -318,6 +332,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -333,7 +348,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14,
TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -264,6 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
impl_spi_pin!(SPI6, SckPin, PG13, 5);
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -318,6 +332,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -333,7 +348,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14,
TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -264,6 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
impl_spi_pin!(SPI6, SckPin, PG13, 5);
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -318,6 +332,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -333,7 +348,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14,
TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -264,6 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
impl_spi_pin!(SPI6, SckPin, PG13, 5);
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -318,6 +332,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -333,7 +348,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14,
TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -264,6 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
impl_spi_pin!(SPI6, SckPin, PG13, 5);
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -318,6 +332,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -333,7 +348,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14,
TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -264,6 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
impl_spi_pin!(SPI6, SckPin, PG13, 5);
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -318,6 +332,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -333,7 +348,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14,
TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -251,6 +251,20 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -305,6 +319,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -320,7 +335,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2, TIM3,
TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -251,6 +251,20 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -305,6 +319,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -320,7 +335,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2, TIM3,
TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -251,6 +251,20 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -305,6 +319,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -320,7 +335,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2, TIM3,
TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -264,6 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
impl_spi_pin!(SPI6, SckPin, PG13, 5);
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -318,6 +332,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -333,7 +348,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14,
TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -264,6 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
impl_spi_pin!(SPI6, SckPin, PG13, 5);
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -318,6 +332,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -333,7 +348,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14,
TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -264,6 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
impl_spi_pin!(SPI6, SckPin, PG13, 5);
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -318,6 +332,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -333,7 +348,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14,
TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -259,6 +259,20 @@ impl_spi_pin!(SPI5, MosiPin, PF9, 5);
impl_spi_pin!(SPI5, SckPin, PH6, 5);
impl_spi_pin!(SPI5, MisoPin, PH7, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -313,6 +327,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -328,7 +343,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2,
TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -264,6 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
impl_spi_pin!(SPI6, SckPin, PG13, 5);
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -318,6 +332,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -333,7 +348,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14,
TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -264,6 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
impl_spi_pin!(SPI6, SckPin, PG13, 5);
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -318,6 +332,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -333,7 +348,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SPI5, SPI6, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14,
TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -251,6 +251,20 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -305,6 +319,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -320,7 +335,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2, TIM3,
TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

View File

@ -251,6 +251,20 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
impl_usart!(USART1);
impl_usart_pin!(USART1, RxPin, PA10, 7);
@ -305,6 +319,7 @@ pub use super::regs::gpio_v2 as gpio;
pub use super::regs::rng_v1 as rng;
pub use super::regs::spi_v1 as spi;
pub use super::regs::syscfg_f4 as syscfg;
pub use super::regs::timer_v1 as timer;
pub use super::regs::usart_v1 as usart;
embassy_extras::peripherals!(
EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI5, EXTI6, EXTI7, EXTI8, EXTI9, EXTI10, EXTI11, EXTI12,
@ -320,7 +335,8 @@ embassy_extras::peripherals!(
PH12, PH13, PH14, PH15, PI0, PI1, PI2, PI3, PI4, PI5, PI6, PI7, PI8, PI9, PI10, PI11, PI12,
PI13, PI14, PI15, PJ0, PJ1, PJ2, PJ3, PJ4, PJ5, PJ6, PJ7, PJ8, PJ9, PJ10, PJ11, PJ12, PJ13,
PJ14, PJ15, PK0, PK1, PK2, PK3, PK4, PK5, PK6, PK7, PK8, PK9, PK10, PK11, PK12, PK13, PK14,
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SYSCFG, USART1, USART2, USART3, USART6
PK15, RNG, SPI1, SPI2, SPI3, SPI4, SYSCFG, TIM1, TIM10, TIM11, TIM12, TIM13, TIM14, TIM2, TIM3,
TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, USART1, USART2, USART3, USART6
);
pub fn DMA(n: u8) -> dma::Dma {
match n {

Some files were not shown because too many files have changed in this diff Show More