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 1
1
//! HAL interface to the SAADC peripheral.
2
2
//!
3
- //! example usage:
3
+ //! Example usage:
4
+ //!
4
5
//! ```no_run
5
6
//! # use nrf_hal_common as hal;
6
7
//! # use hal::pac::{saadc, SAADC};
@@ -48,6 +49,7 @@ pub use saadc::{
48
49
// Issue: https://github.com/nrf-rs/nrf-hal/issues/82
49
50
50
51
/// Interface for the SAADC peripheral.
52
+ ///
51
53
/// External analog channels supported by the SAADC implement the `Channel` trait.
52
54
/// Currently, use of only one channel is allowed.
53
55
pub struct Saadc ( SAADC ) ;
@@ -93,6 +95,7 @@ impl Saadc {
93
95
}
94
96
95
97
/// Used to configure the SAADC peripheral.
98
+ ///
96
99
/// See the documentation of the `Default` impl for suitable default values.
97
100
pub struct SaadcConfig {
98
101
/// Output resolution in bits.
You can’t perform that action at this time.
0 commit comments