@@ -209,9 +209,9 @@ pub enum ITMConfigurationError {
209
209
}
210
210
211
211
impl ITM {
212
- /// Removes the software lock on the [`ITM`]. Must be called before
213
- /// any mutating [`ITM`] functions if a software lock mechanism is
214
- /// implemented. See [`has_software_lock`].
212
+ /// Disengage the software lock on the [`ITM`]. Must be called
213
+ /// before any mutating [`ITM`] functions if a software lock
214
+ /// mechanism is implemented. See [`has_software_lock`].
215
215
///
216
216
/// See (coresight, B2.3.10).
217
217
#[ inline]
@@ -220,7 +220,8 @@ impl ITM {
220
220
unsafe { self . lar . write ( 0xC5AC_CE55 ) }
221
221
}
222
222
223
- /// Adds the software lock on the [`ITM`]. Should be called after any other mutating [`ITM`] functions.
223
+ /// Engages the software lock on the [`ITM`]. Should be called after
224
+ /// any other mutating [`ITM`] functions.
224
225
///
225
226
/// See (coresight, B2.3.10).
226
227
#[ inline]
@@ -254,8 +255,7 @@ impl ITM {
254
255
self . tcr . read ( ) . busy ( )
255
256
}
256
257
257
- /// Configures the [`ITM`] with the passed [`ITMSettings`]. Returns `true`
258
- /// if the configuration was successfully applied.
258
+ /// Tries to configure the [`ITM`] with the passed [`ITMSettings`].
259
259
#[ allow( clippy:: missing_inline_in_public_items) ]
260
260
pub fn configure ( & mut self , settings : ITMSettings ) -> Result < ( ) , ITMConfigurationError > {
261
261
use ITMConfigurationError as Error ;
0 commit comments