Skip to content

Commit

Permalink
Fix doc link
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis committed Dec 23, 2023
1 parent d750033 commit e6fd005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/gpio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ impl<P> Output<P> {

/// Returns `true` if the value of the pad is high.
///
/// Can differ from `is_set()`, especially in an open drain config.
/// Can differ from [`is_set()`](Self::is_set), especially in an open drain config.
pub fn is_pad_high(&self) -> bool {
ral::read_reg!(ral::gpio, self.gpio, PSR) & self.mask() != 0
}
Expand Down

0 comments on commit e6fd005

Please sign in to comment.