Git
Wiki
Site
projects
/
soft
/
lpc82x
/
core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5239a26
)
Update priority request in systick_timer_on()
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Tue, 1 Feb 2022 03:42:06 +0000
(
04:42
+0100)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Fri, 10 Feb 2023 18:02:59 +0000
(19:02 +0100)
core/systick.c
patch
|
blob
|
history
diff --git
a/core/systick.c
b/core/systick.c
index
3f7310e
..
64ff6f5
100644
(file)
--- a/
core/systick.c
+++ b/
core/systick.c
@@
-244,8
+244,8
@@
void systick_timer_on(uint32_t ms)
/* For the LPC82x the system tick clock is fixed to half the frequency of the system clock */
usleep_us_count = (usleep_us_count >> 1); /* Divide by two */
- /*
FIXME : document this
*/
- NVIC_SetPriority(SYSTICK_IRQ,
((1 << LPC_NVIC_PRIO_BITS) - 1)
);
+ /*
Set to lowest priority (0 is highest, 3 is lowest)
*/
+ NVIC_SetPriority(SYSTICK_IRQ,
3
);
}
/* Removes the main clock from the selected timer block */
Techno-Innov
42 impasse de la Combe du Bois
01150 Blyes - France
contact@techno-innov.fr
Design et hébergement du site :
Techno-Innov
Techno-Innov
- SARL Coopérative
539 169 417 RCS Bourg-en-Bresse
Ce site n'utilise pas de cookies, désolé pour les gourmands !