Skip to content

Commit

Permalink
Improve comment
Browse files Browse the repository at this point in the history
Co-authored-by: 9names <[email protected]>
  • Loading branch information
jannic and 9names authored Sep 28, 2023
1 parent 59dcb38 commit ec1b013
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rp2040-hal/src/gpio/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -746,9 +746,9 @@ impl<I: PinId, F: func::Function, P: PullType> Pin<I, F, P> {

/// Return a wrapper that implements InputPin.
///
/// This allows to read from the pin independen from the selected function.
/// This allows to read from the pin independent of the selected function.
/// Depending on the pad configuration, reading from the pin may not return a
/// meaninful result. Check the datasheet.
/// meaningful result.
///
/// Calling this function does not set the pad's input enable bit.
pub fn as_input(&self) -> AsInputPin<I, F, P> {
Expand Down

0 comments on commit ec1b013

Please sign in to comment.