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.
2 parents 45e7ab7 + 7042622 commit ea91f18Copy full SHA for ea91f18
src/peripheral/dwt.rs
@@ -64,6 +64,13 @@ pub struct Comparator {
64
65
impl DWT {
66
/// Enables the cycle counter
67
+ ///
68
+ /// The global trace enable ([`DCB::enable_trace`]) should be set before
69
+ /// enabling the cycle counter, the processor may ignore writes to the
70
+ /// cycle counter enable if the global trace is disabled
71
+ /// (implementation defined behaviour).
72
73
+ /// [`DCB::enable_trace`]: crate::peripheral::DCB::enable_trace
74
#[cfg(not(armv6m))]
75
#[inline]
76
pub fn enable_cycle_counter(&mut self) {
0 commit comments