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:
eee75bc
)
Add defines for UART numbers
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Tue, 26 Apr 2016 23:00:38 +0000
(
01:00
+0200)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Tue, 8 Nov 2022 16:03:04 +0000
(17:03 +0100)
include/drivers/serial.h
patch
|
blob
|
history
diff --git
a/include/drivers/serial.h
b/include/drivers/serial.h
index
8a6fcd8
..
ff27f9a
100644
(file)
--- a/
include/drivers/serial.h
+++ b/
include/drivers/serial.h
@@
-34,6
+34,11
@@
#include <stdint.h>
+#define UART0 0
+#define UART1 1
+#define UART2 2
+#define UART3 3
+
#define SERIAL_CAP_UART (1 << 0)
#define SERIAL_CAP_RS485 (1 << 1)
#define SERIAL_CAP_IRDA (1 << 2)
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 !