From: Nathael Pajani Date: Tue, 26 Apr 2016 23:00:38 +0000 (+0200) Subject: Add defines for UART numbers X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=92f8726699b1fa6cd51f52d8c2b25776c8070736;p=soft%2Flpc122x%2Fcore Add defines for UART numbers --- diff --git a/include/drivers/serial.h b/include/drivers/serial.h index 8a6fcd8..ff27f9a 100644 --- a/include/drivers/serial.h +++ b/include/drivers/serial.h @@ -34,6 +34,11 @@ #include +#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)