projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up. Reformat.
[bertos.git]
/
bertos
/
cpu
/
arm
/
drv
/
ser_lpc2.c
diff --git
a/bertos/cpu/arm/drv/ser_lpc2.c
b/bertos/cpu/arm/drv/ser_lpc2.c
index 4c16957198eed025d7662c45b8ee457a53e565b2..ed4ca26ceac22aeb679315a991e9d3c20df2d83f 100644
(file)
--- a/
bertos/cpu/arm/drv/ser_lpc2.c
+++ b/
bertos/cpu/arm/drv/ser_lpc2.c
@@
-37,20
+37,20
@@
* notest:arm
*/
* notest:arm
*/
+#include "ser_lpc2.h"
+
+#include "cfg/cfg_ser.h"
+
#include <cfg/macros.h> /* for BV() */
#include <cfg/macros.h> /* for BV() */
+
#include <cpu/power.h> /* cpu_relax() */
#include <cpu/power.h> /* cpu_relax() */
+
#include <drv/ser_p.h>
#include <drv/ser.h>
#include <drv/vic_lpc2.h> /* vic_handler_t */
#include <drv/ser_p.h>
#include <drv/ser.h>
#include <drv/vic_lpc2.h> /* vic_handler_t */
+
#include <io/lpc23xx.h>
#include <io/lpc23xx.h>
-#include "cfg/cfg_ser.h"
-#include "ser_lpc2.h"
-/* IRQ numbers */
-#define INT_UART0 6
-#define INT_UART1 7
-#define INT_UART2 28
-#define INT_UART3 29
/* Register offsets */
#define RBR 0x00
/* Register offsets */
#define RBR 0x00