File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11//! HAL interface to the SAADC peripheral.
22//!
3- //! example usage:
3+ //! Example usage:
4+ //!
45//! ```no_run
56//! # use nrf_hal_common as hal;
67//! # use hal::pac::{saadc, SAADC};
@@ -48,6 +49,7 @@ pub use saadc::{
4849// Issue: https://github.com/nrf-rs/nrf-hal/issues/82
4950
5051/// Interface for the SAADC peripheral.
52+ ///
5153/// External analog channels supported by the SAADC implement the `Channel` trait.
5254/// Currently, use of only one channel is allowed.
5355pub struct Saadc ( SAADC ) ;
@@ -93,6 +95,7 @@ impl Saadc {
9395}
9496
9597/// Used to configure the SAADC peripheral.
98+ ///
9699/// See the documentation of the `Default` impl for suitable default values.
97100pub struct SaadcConfig {
98101 /// Output resolution in bits.
You can’t perform that action at this time.
0 commit comments