aboutsummaryrefslogtreecommitdiff
path: root/src/peripheral
diff options
context:
space:
mode:
authorGravatar Tyler Holmes <tyler@holmesengineering.com> 2021-12-14 12:54:18 -0800
committerGravatar Tyler Holmes <tyler@holmesengineering.com> 2021-12-19 12:13:47 -0800
commit67835ae2270c82650423524518047e37c8922be3 (patch)
tree6daafa0524b781580375fb59869ab277c07a41a6 /src/peripheral
parent0e8bc7913f04e3aa19950e1f5bb7f1fe51f0174b (diff)
downloadcortex-m-67835ae2270c82650423524518047e37c8922be3.tar.gz
cortex-m-67835ae2270c82650423524518047e37c8922be3.tar.zst
cortex-m-67835ae2270c82650423524518047e37c8922be3.zip
tidy up doc comments
Diffstat (limited to 'src/peripheral')
-rw-r--r--src/peripheral/dwt.rs9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/peripheral/dwt.rs b/src/peripheral/dwt.rs
index 8bc44d3..4101860 100644
--- a/src/peripheral/dwt.rs
+++ b/src/peripheral/dwt.rs
@@ -341,14 +341,13 @@ pub enum EmitOption {
AddressData,
/// Emit trace PC value and data value packets.
PCData,
- /// Generate a watchpoint debug event.
+ /// Generate a watchpoint debug event. Either halts execution or fires a `DebugMonitor` exception.
///
- /// either halts execution or fires a `DebugMonitor` exception.
- /// See more in section "Watchpoint debug event generation" page C1-729
+ /// See more in section "Watchpoint debug event generation" page C1-729.
WatchpointDebugEvent,
/// Generate a `CMPMATCH[N]` event.
///
- /// See more in section "CMPMATCH[N] event generation" page C1-730
+ /// See more in section "CMPMATCH[N] event generation" page C1-730.
CompareMatchEvent,
}
@@ -369,7 +368,7 @@ pub struct ComparatorAddressSettings {
#[derive(Debug, Eq, PartialEq, Copy, Clone)]
pub struct CycleCountSettings {
/// The function selection used.
- /// See Table C1-15 DWT cycle count comparison functions
+ /// See Table C1-15 for DWT cycle count comparison functions.
pub emit: EmitOption,
/// The cycle count value to compare against.
pub compare: u32,