Skip to content

Commit acc7daa

Browse files
added comments
1 parent 6f8522f commit acc7daa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nrf-hal-common/src/twim.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,12 @@ where
8686
Twim(twim)
8787
}
8888

89+
/// Enable the instance.
8990
pub fn enable(&mut self) {
9091
self.0.enable.write(|w| w.enable().enabled());
9192
}
9293

94+
/// Disable the instance.
9395
pub fn disable(&mut self) {
9496
self.0.enable.write(|w| w.enable().disabled());
9597
}

0 commit comments

Comments
 (0)