Skip to content

Commit

Permalink
SPI: Documentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SteelPh0enix committed Nov 17, 2023
1 parent cb7f656 commit 8599f38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/cortex-m/samv71-hal/src/spi/chip_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub enum ChipSelectBehavior {
/// Chip select line is kept active until a new transfer is requested on a different chip select.
KeepActive,
/// Chip select line is deactivated after every data transfer. Duration of the inactivity period
/// can be controlled with `delay_between_transfers` field of [`ChipSelectConfig`].
/// can be controlled with `delay_between_transfers` field of [`ChipConfig`].
DeactivateAfterEveryTransfer,
}

Expand Down
2 changes: 1 addition & 1 deletion arch/cortex-m/samv71-hal/src/spi/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use crate::utils::BoundedU8;
pub struct MasterConfig {
/// Delay between the inactivation and activation of chip select signal.
pub chip_selection_delay: ChipSelectionDelay,
/// Peripheral chip select. This can later be changed using [`Spi::change_chip`].
/// Peripheral chip select. This can later be changed using [`Spi::change_chip`](super::Spi::change_chip).
pub selected_chip: SelectedChip,
/// If true, overrun detection will be enabled and an error will occur if data transmission will
/// try to be started while there's unread data in RX data register.
Expand Down

0 comments on commit 8599f38

Please sign in to comment.