Update generated files
This commit is contained in:
parent
706992aef9
commit
7c06518c52
504 changed files with 25544 additions and 25544 deletions
File diff suppressed because it is too large
Load diff
|
@ -153,14 +153,14 @@ impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -153,14 +153,14 @@ impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -153,14 +153,14 @@ impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -153,14 +153,14 @@ impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -153,14 +153,14 @@ impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -153,14 +153,14 @@ impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -153,14 +153,14 @@ impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -153,14 +153,14 @@ impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -161,14 +161,14 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
||||||
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
||||||
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -161,14 +161,14 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
||||||
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
||||||
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -161,14 +161,14 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
||||||
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
||||||
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -161,14 +161,14 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
||||||
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
||||||
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -95,11 +95,11 @@ impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -95,11 +95,11 @@ impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -95,11 +95,11 @@ impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -95,11 +95,11 @@ impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -95,11 +95,11 @@ impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -95,11 +95,11 @@ impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -178,14 +178,14 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -178,14 +178,14 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -178,14 +178,14 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -178,14 +178,14 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -178,14 +178,14 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -178,14 +178,14 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -132,20 +132,20 @@ impl_spi_pin!(SPI5, MisoPin, PA12, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PB0, 6);
|
impl_spi_pin!(SPI5, SckPin, PB0, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PB8, 6);
|
impl_spi_pin!(SPI5, MosiPin, PB8, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -132,20 +132,20 @@ impl_spi_pin!(SPI5, MisoPin, PA12, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PB0, 6);
|
impl_spi_pin!(SPI5, SckPin, PB0, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PB8, 6);
|
impl_spi_pin!(SPI5, MosiPin, PB8, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -151,20 +151,20 @@ impl_spi_pin!(SPI5, MisoPin, PA12, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PB0, 6);
|
impl_spi_pin!(SPI5, SckPin, PB0, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PB8, 6);
|
impl_spi_pin!(SPI5, MosiPin, PB8, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -151,20 +151,20 @@ impl_spi_pin!(SPI5, MisoPin, PA12, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PB0, 6);
|
impl_spi_pin!(SPI5, SckPin, PB0, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PB8, 6);
|
impl_spi_pin!(SPI5, MosiPin, PB8, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -214,20 +214,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -214,20 +214,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -214,20 +214,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -214,20 +214,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -217,20 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -217,20 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -217,20 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -217,20 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -217,20 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -217,20 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -217,20 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -217,20 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -217,20 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -217,20 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -207,20 +207,20 @@ impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
||||||
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
impl_spi_pin!(SPI3, MisoPin, PC11, 6);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
impl_spi_pin!(SPI3, MosiPin, PC12, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -217,20 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -217,20 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -217,20 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -217,20 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -217,20 +217,20 @@ impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
impl_spi_pin!(SPI5, MisoPin, PE5, 6);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
impl_spi_pin!(SPI5, MosiPin, PE6, 6);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -259,20 +259,20 @@ impl_spi_pin!(SPI5, MosiPin, PF9, 5);
|
||||||
impl_spi_pin!(SPI5, SckPin, PH6, 5);
|
impl_spi_pin!(SPI5, SckPin, PH6, 5);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PH7, 5);
|
impl_spi_pin!(SPI5, MisoPin, PH7, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -259,20 +259,20 @@ impl_spi_pin!(SPI5, MosiPin, PF9, 5);
|
||||||
impl_spi_pin!(SPI5, SckPin, PH6, 5);
|
impl_spi_pin!(SPI5, SckPin, PH6, 5);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PH7, 5);
|
impl_spi_pin!(SPI5, MisoPin, PH7, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -251,20 +251,20 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
||||||
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
||||||
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -251,20 +251,20 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
||||||
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
||||||
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -259,20 +259,20 @@ impl_spi_pin!(SPI5, MosiPin, PF9, 5);
|
||||||
impl_spi_pin!(SPI5, SckPin, PH6, 5);
|
impl_spi_pin!(SPI5, SckPin, PH6, 5);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PH7, 5);
|
impl_spi_pin!(SPI5, MisoPin, PH7, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -259,20 +259,20 @@ impl_spi_pin!(SPI5, MosiPin, PF9, 5);
|
||||||
impl_spi_pin!(SPI5, SckPin, PH6, 5);
|
impl_spi_pin!(SPI5, SckPin, PH6, 5);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PH7, 5);
|
impl_spi_pin!(SPI5, MisoPin, PH7, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -251,20 +251,20 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
||||||
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
||||||
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -251,20 +251,20 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
||||||
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
||||||
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -251,20 +251,20 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
||||||
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
||||||
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -259,20 +259,20 @@ impl_spi_pin!(SPI5, MosiPin, PF9, 5);
|
||||||
impl_spi_pin!(SPI5, SckPin, PH6, 5);
|
impl_spi_pin!(SPI5, SckPin, PH6, 5);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PH7, 5);
|
impl_spi_pin!(SPI5, MisoPin, PH7, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -251,20 +251,20 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
||||||
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
||||||
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -251,20 +251,20 @@ impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
||||||
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
impl_spi_pin!(SPI4, MisoPin, PE5, 5);
|
||||||
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
impl_spi_pin!(SPI4, MosiPin, PE6, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
|
@ -264,20 +264,20 @@ impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
||||||
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
impl_spi_pin!(SPI6, SckPin, PG13, 5);
|
||||||
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
impl_spi_pin!(SPI6, MosiPin, PG14, 5);
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||||
pub const TIM1: timer::Tim_gp16 = timer::Tim_gp16(0x40010000 as _);
|
pub const TIM1: timer::TimGp16 = timer::TimGp16(0x40010000 as _);
|
||||||
pub const TIM10: timer::Tim_gp16 = timer::Tim_gp16(0x40014400 as _);
|
pub const TIM10: timer::TimGp16 = timer::TimGp16(0x40014400 as _);
|
||||||
pub const TIM11: timer::Tim_gp16 = timer::Tim_gp16(0x40014800 as _);
|
pub const TIM11: timer::TimGp16 = timer::TimGp16(0x40014800 as _);
|
||||||
pub const TIM12: timer::Tim_gp16 = timer::Tim_gp16(0x40001800 as _);
|
pub const TIM12: timer::TimGp16 = timer::TimGp16(0x40001800 as _);
|
||||||
pub const TIM13: timer::Tim_gp16 = timer::Tim_gp16(0x40001c00 as _);
|
pub const TIM13: timer::TimGp16 = timer::TimGp16(0x40001c00 as _);
|
||||||
pub const TIM14: timer::Tim_gp16 = timer::Tim_gp16(0x40002000 as _);
|
pub const TIM14: timer::TimGp16 = timer::TimGp16(0x40002000 as _);
|
||||||
pub const TIM2: timer::Tim_gp16 = timer::Tim_gp16(0x40000000 as _);
|
pub const TIM2: timer::TimGp16 = timer::TimGp16(0x40000000 as _);
|
||||||
pub const TIM3: timer::Tim_gp16 = timer::Tim_gp16(0x40000400 as _);
|
pub const TIM3: timer::TimGp16 = timer::TimGp16(0x40000400 as _);
|
||||||
pub const TIM4: timer::Tim_gp16 = timer::Tim_gp16(0x40000800 as _);
|
pub const TIM4: timer::TimGp16 = timer::TimGp16(0x40000800 as _);
|
||||||
pub const TIM5: timer::Tim_gp16 = timer::Tim_gp16(0x40000c00 as _);
|
pub const TIM5: timer::TimGp16 = timer::TimGp16(0x40000c00 as _);
|
||||||
pub const TIM6: timer::Tim_gp16 = timer::Tim_gp16(0x40001000 as _);
|
pub const TIM6: timer::TimGp16 = timer::TimGp16(0x40001000 as _);
|
||||||
pub const TIM7: timer::Tim_gp16 = timer::Tim_gp16(0x40001400 as _);
|
pub const TIM7: timer::TimGp16 = timer::TimGp16(0x40001400 as _);
|
||||||
pub const TIM8: timer::Tim_gp16 = timer::Tim_gp16(0x40010400 as _);
|
pub const TIM8: timer::TimGp16 = timer::TimGp16(0x40010400 as _);
|
||||||
pub const TIM9: timer::Tim_gp16 = timer::Tim_gp16(0x40014000 as _);
|
pub const TIM9: timer::TimGp16 = timer::TimGp16(0x40014000 as _);
|
||||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||||
impl_usart!(USART1);
|
impl_usart!(USART1);
|
||||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue