Update generated code
This commit is contained in:
parent
1e5f25aa41
commit
86063ac2a2
194 changed files with 6835 additions and 35319 deletions
|
@ -444,9 +444,6 @@ _gpio = []
|
||||||
_gpio_v2 = []
|
_gpio_v2 = []
|
||||||
_rng = [ "rand_core",]
|
_rng = [ "rand_core",]
|
||||||
_rng_v1 = []
|
_rng_v1 = []
|
||||||
_spi = []
|
|
||||||
_spi_v1 = []
|
|
||||||
_spi_v2 = []
|
|
||||||
_sdmmc = [ "sdio-host",]
|
_sdmmc = [ "sdio-host",]
|
||||||
_sdmmc_v2 = []
|
_sdmmc_v2 = []
|
||||||
_spi = []
|
_spi = []
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -127,7 +127,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
||||||
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
||||||
|
@ -153,10 +152,6 @@ 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);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
||||||
=======
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -127,7 +127,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
||||||
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
||||||
|
@ -153,10 +152,6 @@ 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);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
||||||
=======
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -127,7 +127,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
||||||
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
||||||
|
@ -153,10 +152,6 @@ 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);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
||||||
=======
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -127,7 +127,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
||||||
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
||||||
|
@ -153,10 +152,6 @@ 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);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
||||||
=======
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -127,7 +127,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
||||||
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
||||||
|
@ -153,10 +152,6 @@ 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);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
||||||
=======
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -127,7 +127,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
||||||
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
||||||
|
@ -153,10 +152,6 @@ 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);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
||||||
=======
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -127,7 +127,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
||||||
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
||||||
|
@ -153,10 +152,6 @@ 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);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
||||||
=======
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -127,7 +127,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
||||||
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
||||||
|
@ -153,10 +152,6 @@ 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);
|
||||||
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
impl_spi_pin!(SPI3, MosiPin, PD6, 5);
|
||||||
=======
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -127,7 +127,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
||||||
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
||||||
|
@ -161,11 +160,6 @@ impl_spi_pin!(SPI4, MosiPin, PE14, 5);
|
||||||
impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
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 SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -127,7 +127,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
||||||
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
||||||
|
@ -161,11 +160,6 @@ impl_spi_pin!(SPI4, MosiPin, PE14, 5);
|
||||||
impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
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 SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -127,7 +127,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
||||||
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
||||||
|
@ -161,11 +160,6 @@ impl_spi_pin!(SPI4, MosiPin, PE14, 5);
|
||||||
impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
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 SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -127,7 +127,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
||||||
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
||||||
|
@ -161,11 +160,6 @@ impl_spi_pin!(SPI4, MosiPin, PE14, 5);
|
||||||
impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
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 SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -127,7 +127,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
||||||
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
||||||
|
@ -178,12 +177,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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 SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -127,7 +127,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
||||||
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
||||||
|
@ -178,12 +177,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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 SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -127,7 +127,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
||||||
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
||||||
|
@ -178,12 +177,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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 SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -127,7 +127,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
||||||
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
||||||
|
@ -178,12 +177,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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 SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -127,7 +127,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
||||||
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
||||||
|
@ -178,12 +177,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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 SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -127,7 +127,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
impl_spi_pin!(SPI1, SckPin, PA5, 5);
|
||||||
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
impl_spi_pin!(SPI1, MisoPin, PA6, 5);
|
||||||
|
@ -178,12 +177,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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 SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -93,8 +93,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -133,17 +131,6 @@ impl_spi_pin!(SPI5, MosiPin, PA10, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PA12, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -93,8 +93,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -133,17 +131,6 @@ impl_spi_pin!(SPI5, MosiPin, PA10, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PA12, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -110,8 +110,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -152,17 +150,6 @@ impl_spi_pin!(SPI5, MosiPin, PA10, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PA12, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -110,8 +110,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -152,17 +150,6 @@ impl_spi_pin!(SPI5, MosiPin, PA10, 6);
|
||||||
impl_spi_pin!(SPI5, MisoPin, PA12, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -215,17 +213,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -215,17 +213,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -215,17 +213,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -215,17 +213,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -218,17 +216,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -218,17 +216,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -218,17 +216,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -218,17 +216,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -218,17 +216,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -218,17 +216,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -218,17 +216,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -218,17 +216,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -218,17 +216,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -218,17 +216,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -178,8 +178,6 @@ impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -208,15 +206,6 @@ impl_spi_pin!(SPI3, MosiPin, PB5, 6);
|
||||||
impl_spi_pin!(SPI3, SckPin, PC10, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -218,17 +216,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -218,17 +216,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -218,17 +216,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -218,17 +216,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -161,8 +161,6 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, RNG);
|
impl_rng!(RNG, RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -218,17 +216,6 @@ impl_spi_pin!(SPI5, MosiPin, PE14, 6);
|
||||||
impl_spi_pin!(SPI5, SckPin, PE2, 6);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -260,17 +258,6 @@ impl_spi_pin!(SPI5, MisoPin, PF8, 5);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PF9, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -260,17 +258,6 @@ impl_spi_pin!(SPI5, MisoPin, PF8, 5);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PF9, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -252,16 +250,6 @@ impl_spi_pin!(SPI4, MosiPin, PE14, 5);
|
||||||
impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -252,16 +250,6 @@ impl_spi_pin!(SPI4, MosiPin, PE14, 5);
|
||||||
impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -260,17 +258,6 @@ impl_spi_pin!(SPI5, MisoPin, PF8, 5);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PF9, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -260,17 +258,6 @@ impl_spi_pin!(SPI5, MisoPin, PF8, 5);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PF9, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -252,16 +250,6 @@ impl_spi_pin!(SPI4, MosiPin, PE14, 5);
|
||||||
impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -252,16 +250,6 @@ impl_spi_pin!(SPI4, MosiPin, PE14, 5);
|
||||||
impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -252,16 +250,6 @@ impl_spi_pin!(SPI4, MosiPin, PE14, 5);
|
||||||
impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -260,17 +258,6 @@ impl_spi_pin!(SPI5, MisoPin, PF8, 5);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PF9, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -252,16 +250,6 @@ impl_spi_pin!(SPI4, MosiPin, PE14, 5);
|
||||||
impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -252,16 +250,6 @@ impl_spi_pin!(SPI4, MosiPin, PE14, 5);
|
||||||
impl_spi_pin!(SPI4, SckPin, PE2, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -260,17 +258,6 @@ impl_spi_pin!(SPI5, MisoPin, PF8, 5);
|
||||||
impl_spi_pin!(SPI5, MosiPin, PF9, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
|
@ -212,8 +212,6 @@ impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||||
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
pub const RNG: rng::Rng = rng::Rng(0x50060800 as _);
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
impl_rng!(RNG, HASH_RNG);
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
||||||
impl_spi!(SPI1, APB2);
|
impl_spi!(SPI1, APB2);
|
||||||
|
@ -265,18 +263,6 @@ impl_spi!(SPI6, APB2);
|
||||||
impl_spi_pin!(SPI6, MisoPin, PG12, 5);
|
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);
|
||||||
=======
|
|
||||||
impl_rng!(RNG);
|
|
||||||
=======
|
|
||||||
impl_rng!(RNG, HASH_RNG);
|
|
||||||
>>>>>>> cbbaaa9 (Fix RNG interrupt name)
|
|
||||||
pub const SPI1: spi::Spi = spi::Spi(0x40013000 as _);
|
|
||||||
pub const SPI2: spi::Spi = spi::Spi(0x40003800 as _);
|
|
||||||
pub const SPI3: spi::Spi = spi::Spi(0x40003c00 as _);
|
|
||||||
pub const SPI4: spi::Spi = spi::Spi(0x40013400 as _);
|
|
||||||
pub const SPI5: spi::Spi = spi::Spi(0x40015000 as _);
|
|
||||||
pub const SPI6: spi::Spi = spi::Spi(0x40015400 as _);
|
|
||||||
>>>>>>> 546082a (Update generated code)
|
|
||||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 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);
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue