Update generated files
This commit is contained in:
parent
706992aef9
commit
7c06518c52
embassy-stm32/src/pac
regs.rsstm32f401cb.rsstm32f401cc.rsstm32f401cd.rsstm32f401ce.rsstm32f401rb.rsstm32f401rc.rsstm32f401rd.rsstm32f401re.rsstm32f401vb.rsstm32f401vc.rsstm32f401vd.rsstm32f401ve.rsstm32f405oe.rsstm32f405og.rsstm32f405rg.rsstm32f405vg.rsstm32f405zg.rsstm32f407ie.rsstm32f407ig.rsstm32f407ve.rsstm32f407vg.rsstm32f407ze.rsstm32f407zg.rsstm32f410c8.rsstm32f410cb.rsstm32f410r8.rsstm32f410rb.rsstm32f410t8.rsstm32f410tb.rsstm32f411cc.rsstm32f411ce.rsstm32f411rc.rsstm32f411re.rsstm32f411vc.rsstm32f411ve.rsstm32f412ce.rsstm32f412cg.rsstm32f412re.rsstm32f412rg.rsstm32f412ve.rsstm32f412vg.rsstm32f412ze.rsstm32f412zg.rsstm32f413cg.rsstm32f413ch.rsstm32f413mg.rsstm32f413mh.rsstm32f413rg.rsstm32f413rh.rsstm32f413vg.rsstm32f413vh.rsstm32f413zg.rsstm32f413zh.rsstm32f415og.rsstm32f415rg.rsstm32f415vg.rsstm32f415zg.rsstm32f417ie.rsstm32f417ig.rsstm32f417ve.rsstm32f417vg.rsstm32f417ze.rsstm32f417zg.rsstm32f423ch.rsstm32f423mh.rsstm32f423rh.rsstm32f423vh.rsstm32f423zh.rsstm32f427ag.rsstm32f427ai.rsstm32f427ig.rsstm32f427ii.rsstm32f427vg.rsstm32f427vi.rsstm32f427zg.rsstm32f427zi.rsstm32f429ag.rsstm32f429ai.rsstm32f429be.rsstm32f429bg.rsstm32f429bi.rsstm32f429ie.rsstm32f429ig.rsstm32f429ii.rsstm32f429ne.rsstm32f429ng.rsstm32f429ni.rsstm32f429ve.rsstm32f429vg.rsstm32f429vi.rsstm32f429ze.rsstm32f429zg.rsstm32f429zi.rsstm32f437ai.rsstm32f437ig.rsstm32f437ii.rsstm32f437vg.rsstm32f437vi.rsstm32f437zg.rs
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…
x
Reference in New Issue
Block a user