Skip to content

Commit bd1a80e

Browse files
Improve formatting a bit
1 parent 4593423 commit bd1a80e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nrf-hal-common/src/saadc.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
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.
5355
pub 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.
97100
pub struct SaadcConfig {
98101
/// Output resolution in bits.

0 commit comments

Comments
 (0)