aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2021-03-20 03:09:56 +0100
committerDario Nieuwenhuis <[email protected]>2021-03-29 00:58:57 +0200
commit15eb46ec714beaf443577f2f7bef4610d22f54f5 (patch)
treef6eb4e71585f87d4e3d1fff6f0b9ef60accb8744
parentba7b3974bb0092f0a9d3bf5e02fb5d4c41c53083 (diff)
wip gpiote changels
-rw-r--r--embassy-nrf/src/peripherals.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/embassy-nrf/src/peripherals.rs b/embassy-nrf/src/peripherals.rs
index bc2ed8810..1f449e91a 100644
--- a/embassy-nrf/src/peripherals.rs
+++ b/embassy-nrf/src/peripherals.rs
@@ -4,6 +4,7 @@ macro_rules! peripherals {
4 ($($(#[$cfg:meta])? $name:ident: $type:ident),*$(,)?) => { 4 ($($(#[$cfg:meta])? $name:ident: $type:ident),*$(,)?) => {
5 $( 5 $(
6 $(#[$cfg])? 6 $(#[$cfg])?
7 #[allow(non_camel_case_types)]
7 pub struct $type { _private: () } 8 pub struct $type { _private: () }
8 9
9 $(#[$cfg])? 10 $(#[$cfg])?
@@ -73,6 +74,14 @@ peripherals! {
73 74
74 // GPIOTE 75 // GPIOTE
75 gpiote: GPIOTE, 76 gpiote: GPIOTE,
77 gpiote_ch_0: GPIOTE_CH0,
78 gpiote_ch_1: GPIOTE_CH1,
79 gpiote_ch_2: GPIOTE_CH2,
80 gpiote_ch_3: GPIOTE_CH3,
81 gpiote_ch_4: GPIOTE_CH4,
82 gpiote_ch_5: GPIOTE_CH5,
83 gpiote_ch_6: GPIOTE_CH6,
84 gpiote_ch_7: GPIOTE_CH7,
76 85
77 // GPIO port 0 86 // GPIO port 0
78 p0_00: P0_00, 87 p0_00: P0_00,