Git
Wiki
Site
projects
/
soft
/
lpc122x
/
core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f7d75b
)
add LPC_TIMER_INT_RESET_ON_MATCH define
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Thu, 11 Apr 2019 13:58:40 +0000
(15:58 +0200)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Tue, 8 Nov 2022 16:03:05 +0000
(17:03 +0100)
include/drivers/countertimers.h
patch
|
blob
|
history
diff --git
a/include/drivers/countertimers.h
b/include/drivers/countertimers.h
index
6701937
..
e7bb245
100644
(file)
--- a/
include/drivers/countertimers.h
+++ b/
include/drivers/countertimers.h
@@
-69,6
+69,8
@@
struct lpc_timer
#define LPC_TIMER_INTERRUPT_ON_MATCH 0x01
#define LPC_TIMER_RESET_ON_MATCH 0x02
#define LPC_TIMER_STOP_ON_MATCH 0x04
+#define LPC_TIMER_INT_RESET_ON_MATCH \
+ (LPC_TIMER_INTERRUPT_ON_MATCH | LPC_TIMER_RESET_ON_MATCH)
#define LPC_TIMER_INT_RESET_AND_STOP_ON_MATCH \
(LPC_TIMER_INTERRUPT_ON_MATCH | LPC_TIMER_RESET_ON_MATCH | LPC_TIMER_STOP_ON_MATCH)
#define LPC_TIMER_MATCH_SHIFT(x) (((x) & 0x03) * 3)
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 !