diff options
| author | Ulf Lilleengen <[email protected]> | 2024-08-09 14:08:16 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-08-09 14:08:16 +0000 |
| commit | fdc34b69ffc292427f50f35209f095bb5a50bb82 (patch) | |
| tree | a23af6ba8065d7c8a9ec43bdbd993dc1fe16cc77 | |
| parent | b55726c515f366896b58f46f3322821f1bdf1993 (diff) | |
| parent | 0eb07896275f26f1206ed968436d1f0e78a163b8 (diff) | |
Merge pull request #3245 from ohrlabs/saadc-channelconfig-docs
nrf, doc: Don't refer to `Default` impl of `saadc::ChannelConfig`
| -rw-r--r-- | embassy-nrf/src/saadc.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/embassy-nrf/src/saadc.rs b/embassy-nrf/src/saadc.rs index a3a5b9cfe..bbfa9b3b9 100644 --- a/embassy-nrf/src/saadc.rs +++ b/embassy-nrf/src/saadc.rs | |||
| @@ -78,7 +78,8 @@ impl Default for Config { | |||
| 78 | 78 | ||
| 79 | /// Used to configure an individual SAADC peripheral channel. | 79 | /// Used to configure an individual SAADC peripheral channel. |
| 80 | /// | 80 | /// |
| 81 | /// See the `Default` impl for suitable default values. | 81 | /// Construct using the `single_ended` or `differential` methods. These provide sensible defaults |
| 82 | /// for the public fields, which can be overridden if required. | ||
| 82 | #[non_exhaustive] | 83 | #[non_exhaustive] |
| 83 | pub struct ChannelConfig<'d> { | 84 | pub struct ChannelConfig<'d> { |
| 84 | /// Reference voltage of the SAADC input. | 85 | /// Reference voltage of the SAADC input. |
