Skip to content

Commit bd0228b

Browse files
Merge #405
405: Fix doc links after embedded-hal-bus split r=eldruin a=GrantM11235 Co-authored-by: Grant Miller <[email protected]>
2 parents 8790887 + 343e167 commit bd0228b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

embedded-hal-bus/src/spi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub mod blocking {
3535

3636
/// [`SpiDevice`] implementation with exclusive access to the bus (not shared).
3737
///
38-
/// This is the most straightforward way of obtaining an [`SpiDevice`] from an [`SpiBus`],
38+
/// This is the most straightforward way of obtaining an [`SpiDevice`] from an [`SpiBus`](embedded_hal::spi::blocking::SpiBus),
3939
/// ideal for when no sharing is required (only one SPI device is present on the bus).
4040
pub struct ExclusiveDevice<BUS, CS> {
4141
bus: BUS,

src/spi/blocking.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
//! # For HAL authors
133133
//!
134134
//! HALs **must** implement [`SpiBus`], [`SpiBusRead`] and [`SpiBusWrite`]. Users can combine the bus together with the CS pin (which should
135-
//! implement [`OutputPin`]) using HAL-independent [`SpiDevice`] implementations such as [`ExclusiveDevice`].
135+
//! implement [`OutputPin`](crate::digital::blocking::OutputPin)) using HAL-independent [`SpiDevice`] implementations such as the ones in [`embedded-hal-bus`](https://crates.io/crates/embedded-hal-bus).
136136
//!
137137
//! HALs may additionally implement [`SpiDevice`] to **take advantage of hardware CS management**, which may provide some performance
138138
//! benefits. (There's no point in a HAL implementing [`SpiDevice`] if the CS management is software-only, this task is better left to

0 commit comments

Comments
 (0)