aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Peter Taylor <PTaylor@FluenTech.info> 2020-06-19 12:55:48 -0600
committerGravatar Peter Taylor <PTaylor@FluenTech.info> 2020-06-19 12:55:48 -0600
commit34742da5a6688add381e94038507f9c3f6f9d37d (patch)
treeaaa5c3787403e6543b98dfa179fe5062649f249e
parent5e757166a80047fbbb7fe5748d8eefc13d81d57c (diff)
downloadcortex-m-34742da5a6688add381e94038507f9c3f6f9d37d.tar.gz
cortex-m-34742da5a6688add381e94038507f9c3f6f9d37d.tar.zst
cortex-m-34742da5a6688add381e94038507f9c3f6f9d37d.zip
Correct the documentation for the `SCB::set_pendst` function
-rw-r--r--src/peripheral/scb.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peripheral/scb.rs b/src/peripheral/scb.rs
index 940809e..733a3ec 100644
--- a/src/peripheral/scb.rs
+++ b/src/peripheral/scb.rs
@@ -877,7 +877,7 @@ impl SCB {
}
}
- /// Set the PENDSTCLR bit in the ICSR register which will clear a pending SysTick interrupt
+ /// Set the PENDSTSET bit in the ICSR register which will pend a SysTick interrupt
#[inline]
pub fn set_pendst() {
unsafe {