Autogenerate the tailored PAC for each chip

This commit is contained in:
Dario Nieuwenhuis
2021-05-06 03:43:46 +02:00
parent 111dad613a
commit 23ca2f9174
302 changed files with 62050 additions and 50394 deletions

View File

@ -13,11 +13,9 @@ use crate::fmt::*;
use crate::gpio::{AnyPin, Input, Pin as GpioPin};
use crate::interrupt;
use crate::pac;
use crate::pac::{EXTI, SYSCFG};
use crate::peripherals;
const SYSCFG: pac::syscfg::Syscfg = pac::syscfg::Syscfg(crate::chip::SYSCFG_BASE as *mut _);
const EXTI: pac::exti::Exti = pac::exti::Exti(crate::chip::EXTI_BASE as *mut _);
const EXTI_COUNT: usize = 16;
const NEW_AW: AtomicWaker = AtomicWaker::new();
static EXTI_WAKERS: [AtomicWaker; EXTI_COUNT] = [NEW_AW; EXTI_COUNT];