From 2ff9ae156fcd437a3f087917ee699ec8de8646db Mon Sep 17 00:00:00 2001 From: Mathias Gottschlag Date: Tue, 28 Sep 2021 19:51:36 +0200 Subject: [PATCH] pio: Fix some doc comments. --- rp2040-hal/src/pio.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rp2040-hal/src/pio.rs b/rp2040-hal/src/pio.rs index a398ec8..3b97e2d 100644 --- a/rp2040-hal/src/pio.rs +++ b/rp2040-hal/src/pio.rs @@ -674,13 +674,13 @@ pub struct PIOBuilder<'a> { pull_threshold: u8, /// Number of bits shifted into `ISR` before autopush or conditional push will take place. push_threshold: u8, - // Shift direction for `OUT` instruction. + /// Shift direction for `OUT` instruction. out_shiftdir: ShiftDirection, - // Shift direction for `IN` instruction. + /// Shift direction for `IN` instruction. in_shiftdir: ShiftDirection, - // Enable autopull. + /// Enable autopull. autopull: bool, - // Enable autopush. + /// Enable autopush. autopush: bool, /// Number of pins asserted by a `SET`.