wip gpiote changels

This commit is contained in:
Dario Nieuwenhuis 2021-03-20 03:09:56 +01:00
parent ba7b3974bb
commit 15eb46ec71

View File

@ -4,6 +4,7 @@ macro_rules! peripherals {
($($(#[$cfg:meta])? $name:ident: $type:ident),*$(,)?) => { ($($(#[$cfg:meta])? $name:ident: $type:ident),*$(,)?) => {
$( $(
$(#[$cfg])? $(#[$cfg])?
#[allow(non_camel_case_types)]
pub struct $type { _private: () } pub struct $type { _private: () }
$(#[$cfg])? $(#[$cfg])?
@ -73,6 +74,14 @@ peripherals! {
// GPIOTE // GPIOTE
gpiote: GPIOTE, gpiote: GPIOTE,
gpiote_ch_0: GPIOTE_CH0,
gpiote_ch_1: GPIOTE_CH1,
gpiote_ch_2: GPIOTE_CH2,
gpiote_ch_3: GPIOTE_CH3,
gpiote_ch_4: GPIOTE_CH4,
gpiote_ch_5: GPIOTE_CH5,
gpiote_ch_6: GPIOTE_CH6,
gpiote_ch_7: GPIOTE_CH7,
// GPIO port 0 // GPIO port 0
p0_00: P0_00, p0_00: P0_00,