From 82fd22b23d8ca83c021dfb947511ef8fc1ce87f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomi=20Lepp=C3=A4nen?= Date: Wed, 2 Aug 2023 16:32:27 +0300 Subject: [PATCH] Correct PIO::irq[01] documentation --- rp2040-hal/src/pio.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rp2040-hal/src/pio.rs b/rp2040-hal/src/pio.rs index a04bb60eb..c6353a5c9 100644 --- a/rp2040-hal/src/pio.rs +++ b/rp2040-hal/src/pio.rs @@ -123,7 +123,7 @@ impl PIO

{ self.pio } - /// This PIO0's interrupts. + /// This PIO's IRQ0 interrupt. pub fn irq0(&self) -> Interrupt<'_, P, 0> { Interrupt { block: self.pio.deref(), @@ -131,7 +131,7 @@ impl PIO

{ } } - /// This PIO0's interrupts. + /// This PIO's IRQ1 interrupt. pub fn irq1(&self) -> Interrupt<'_, P, 1> { Interrupt { block: self.pio.deref(),