aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf54l15/src
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2025-10-28 13:36:49 +0100
committerUlf Lilleengen <[email protected]>2025-10-28 13:36:49 +0100
commite64fc05a91cc78f54c7a2440324d21dee54c0b04 (patch)
tree972ffeae24eda4807f0525b3d39c98fd3a356fcd /examples/nrf54l15/src
parentde5760cc81a00966c61d668c41f6e3e4709f0283 (diff)
chore: make it clear which gpiotec for a channel
Diffstat (limited to 'examples/nrf54l15/src')
-rw-r--r--examples/nrf54l15/src/bin/gpiote_channel.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/nrf54l15/src/bin/gpiote_channel.rs b/examples/nrf54l15/src/bin/gpiote_channel.rs
index 3fa0972a7..6333250ba 100644
--- a/examples/nrf54l15/src/bin/gpiote_channel.rs
+++ b/examples/nrf54l15/src/bin/gpiote_channel.rs
@@ -12,10 +12,10 @@ async fn main(_spawner: Spawner) {
12 let p = embassy_nrf::init(Default::default()); 12 let p = embassy_nrf::init(Default::default());
13 info!("Starting!"); 13 info!("Starting!");
14 14
15 let ch1 = InputChannel::new(p.GPIOTE_CH0, p.P1_13, Pull::Up, InputChannelPolarity::HiToLo); 15 let ch1 = InputChannel::new(p.GPIOTE20_CH0, p.P1_13, Pull::Up, InputChannelPolarity::HiToLo);
16 let ch2 = InputChannel::new(p.GPIOTE_CH1, p.P1_09, Pull::Up, InputChannelPolarity::LoToHi); 16 let ch2 = InputChannel::new(p.GPIOTE20_CH1, p.P1_09, Pull::Up, InputChannelPolarity::LoToHi);
17 let ch3 = InputChannel::new(p.GPIOTE_CH2, p.P1_08, Pull::Up, InputChannelPolarity::Toggle); 17 let ch3 = InputChannel::new(p.GPIOTE20_CH2, p.P1_08, Pull::Up, InputChannelPolarity::Toggle);
18 let ch4 = InputChannel::new(p.GPIOTE_CH8, p.P0_04, Pull::Up, InputChannelPolarity::Toggle); 18 let ch4 = InputChannel::new(p.GPIOTE30_CH0, p.P0_04, Pull::Up, InputChannelPolarity::Toggle);
19 19
20 let button1 = async { 20 let button1 = async {
21 loop { 21 loop {