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

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 {