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 f2a1d92 commit 7b2dbb0Copy full SHA for 7b2dbb0
src/peripheral/itm.rs
@@ -256,7 +256,9 @@ impl ITM {
256
self.tcr.read().busy()
257
}
258
259
- /// Tries to configure the [`ITM`] with the passed [`ITMConfiguration`].
+ /// Tries to configure the [`ITM`] with the passed
260
+ /// [`ITMConfiguration`]. Handles register unlocks. On `Err`, the
261
+ /// [`ITM`] will not be relocked.
262
#[allow(clippy::missing_inline_in_public_items)]
263
pub fn configure(&mut self, settings: ITMConfiguration) -> Result<(), ITMConfigurationError> {
264
use ITMConfigurationError as Error;
0 commit comments