Add SPIv1, use cfg_attr to pick correct impl.
Add IRQ to impl_rng!() to accomodate RNG vs HASH_RNG split.
This commit is contained in:
@ -93,7 +93,7 @@ impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
pub const RNG: rng::Rng = rng::Rng(0x40080000 as _);
|
||||
impl_rng!(RNG);
|
||||
impl_rng!(RNG, RNG);
|
||||
pub const SYSCFG: syscfg::Syscfg = syscfg::Syscfg(0x40013800 as _);
|
||||
pub const USART1: usart::Usart = usart::Usart(0x40011000 as _);
|
||||
impl_usart!(USART1);
|
||||
|
Reference in New Issue
Block a user