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:
3af7099
)
Add 16bits versions of defines for Autolimit and autoreload register fields
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Fri, 28 Dec 2018 11:00:15 +0000
(12:00 +0100)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Fri, 10 Feb 2023 18:02:59 +0000
(19:02 +0100)
include/drivers/sctimers.h
patch
|
blob
|
history
diff --git
a/include/drivers/sctimers.h
b/include/drivers/sctimers.h
index
16a3893
..
292eaea
100644
(file)
--- a/
include/drivers/sctimers.h
+++ b/
include/drivers/sctimers.h
@@
-106,8
+106,12
@@
struct lpc_sct_timer
#define LPC_SCT_CLK_FALLING_IN(x) ((((x) * 2 ) + 1) << 3)
/* Other */
#define LPC_SCT_NORELOAD (0x01 << 7)
+#define LPC_SCT_NORELOAD_L (0x01 << 7)
+#define LPC_SCT_NORELOAD_H (0x01 << 8)
#define LPC_SCT_IN_EVT_SYNC(x) ((0x01 << ((x) & 0x03)) << 9)
#define LPC_SCT_AUTOLIMIT (0x01 << 17)
+#define LPC_SCT_AUTOLIMIT_L (0x01 << 17)
+#define LPC_SCT_AUTOLIMIT_H (0x01 << 18)
/* Control register */
#define LPC_SCT_DOWN (0x01 << 0)
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 !