Skip to content

Commit 67835ae

Browse files
committed
tidy up doc comments
1 parent 0e8bc79 commit 67835ae

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/peripheral/dwt.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -341,14 +341,13 @@ pub enum EmitOption {
341341
AddressData,
342342
/// Emit trace PC value and data value packets.
343343
PCData,
344-
/// Generate a watchpoint debug event.
344+
/// Generate a watchpoint debug event. Either halts execution or fires a `DebugMonitor` exception.
345345
///
346-
/// either halts execution or fires a `DebugMonitor` exception.
347-
/// See more in section "Watchpoint debug event generation" page C1-729
346+
/// See more in section "Watchpoint debug event generation" page C1-729.
348347
WatchpointDebugEvent,
349348
/// Generate a `CMPMATCH[N]` event.
350349
///
351-
/// See more in section "CMPMATCH[N] event generation" page C1-730
350+
/// See more in section "CMPMATCH[N] event generation" page C1-730.
352351
CompareMatchEvent,
353352
}
354353

@@ -369,7 +368,7 @@ pub struct ComparatorAddressSettings {
369368
#[derive(Debug, Eq, PartialEq, Copy, Clone)]
370369
pub struct CycleCountSettings {
371370
/// The function selection used.
372-
/// See Table C1-15 DWT cycle count comparison functions
371+
/// See Table C1-15 for DWT cycle count comparison functions.
373372
pub emit: EmitOption,
374373
/// The cycle count value to compare against.
375374
pub compare: u32,

0 commit comments

Comments
 (0)