@@ -209,9 +209,9 @@ pub enum ITMConfigurationError {
209209}
210210
211211impl 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`].
215215 ///
216216 /// See (coresight, B2.3.10).
217217 #[ inline]
@@ -220,7 +220,8 @@ impl ITM {
220220 unsafe { self . lar . write ( 0xC5AC_CE55 ) }
221221 }
222222
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.
224225 ///
225226 /// See (coresight, B2.3.10).
226227 #[ inline]
@@ -254,8 +255,7 @@ impl ITM {
254255 self . tcr . read ( ) . busy ( )
255256 }
256257
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`].
259259 #[ allow( clippy:: missing_inline_in_public_items) ]
260260 pub fn configure ( & mut self , settings : ITMSettings ) -> Result < ( ) , ITMConfigurationError > {
261261 use ITMConfigurationError as Error ;
0 commit comments