We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65cbd22 commit dbe7fa8Copy full SHA for dbe7fa8
nrf-hal-common/src/twim.rs
@@ -87,6 +87,11 @@ where
87
}
88
89
/// Disable the instance.
90
+ ///
91
+ /// Disabling the instance will switch off the peripheral leading to a
92
+ /// considerably lower energy use. However, while the instance is disabled
93
+ /// it is not possible to use it for communication. The configuration of
94
+ /// the instance will be retained.
95
pub fn disable(&mut self) {
96
self.0.enable.write(|w| w.enable().disabled());
97
0 commit comments