aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-nrf')
-rw-r--r--embassy-nrf/src/gpiote.rs15
1 files changed, 6 insertions, 9 deletions
diff --git a/embassy-nrf/src/gpiote.rs b/embassy-nrf/src/gpiote.rs
index 1f6000b13..6b9d2d1da 100644
--- a/embassy-nrf/src/gpiote.rs
+++ b/embassy-nrf/src/gpiote.rs
@@ -29,17 +29,14 @@ const CHANNEL_COUNT: usize = 12;
29/// Max channels per port 29/// Max channels per port
30const CHANNELS_PER_PORT: usize = 8; 30const CHANNELS_PER_PORT: usize = 8;
31 31
32#[cfg(any( 32#[cfg(any(feature = "nrf52833", feature = "nrf52840", feature = "_nrf5340"))]
33 feature = "nrf52833",
34 feature = "nrf52840",
35 feature = "_nrf5340",
36 feature = "_nrf54l15",
37 feature = "_nrf54l10",
38 feature = "_nrf54l05"
39))]
40const PIN_COUNT: usize = 48; 33const PIN_COUNT: usize = 48;
34#[cfg(any(feature = "_nrf54l15", feature = "_nrf54l10", feature = "_nrf54l05"))]
35// Highest pin index is P2.10 => (2 * 32 + 10) = 74
36const PIN_COUNT: usize = 75;
41#[cfg(feature = "_nrf54lm20")] 37#[cfg(feature = "_nrf54lm20")]
42const PIN_COUNT: usize = 66; 38// Highest pin index is P3.12 => (3 * 32 + 12) = 108
39const PIN_COUNT: usize = 109;
43#[cfg(not(any( 40#[cfg(not(any(
44 feature = "nrf52833", 41 feature = "nrf52833",
45 feature = "nrf52840", 42 feature = "nrf52840",