aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/LPC214x/serial_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-29 12:05:35 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-29 12:05:35 +0000
commit86e45e167e4db866268e968b174b1cbb88420338 (patch)
treec16683a2b6893e4c0c3f2bc92614577850049a8c /os/hal/platforms/LPC214x/serial_lld.c
parent99563ecc3d5290e1d09b0698ce1ad6196a05fef4 (diff)
downloadChibiOS-86e45e167e4db866268e968b174b1cbb88420338.tar.gz
ChibiOS-86e45e167e4db866268e968b174b1cbb88420338.tar.bz2
ChibiOS-86e45e167e4db866268e968b174b1cbb88420338.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1475 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/LPC214x/serial_lld.c')
-rw-r--r--os/hal/platforms/LPC214x/serial_lld.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/os/hal/platforms/LPC214x/serial_lld.c b/os/hal/platforms/LPC214x/serial_lld.c
index d7eaaadc4..819b2df9a 100644
--- a/os/hal/platforms/LPC214x/serial_lld.c
+++ b/os/hal/platforms/LPC214x/serial_lld.c
@@ -29,6 +29,10 @@
#if CH_HAL_USE_SERIAL || defined(__DOXYGEN__)
+/*===========================================================================*/
+/* Driver exported variables. */
+/*===========================================================================*/
+
#if USE_LPC214x_UART0 || defined(__DOXYGEN__)
/** @brief UART0 serial driver identifier.*/
SerialDriver SD1;
@@ -39,6 +43,10 @@ SerialDriver SD1;
SerialDriver SD2;
#endif
+/*===========================================================================*/
+/* Driver local variables. */
+/*===========================================================================*/
+
/** @brief Driver default configuration.*/
static const SerialDriverConfig default_config = {
38400,
@@ -47,7 +55,7 @@ static const SerialDriverConfig default_config = {
};
/*===========================================================================*/
-/* Low Level Driver local functions. */
+/* Driver local functions. */
/*===========================================================================*/
/**
@@ -228,7 +236,7 @@ static void notify2(void) {
#endif
/*===========================================================================*/
-/* Low Level Driver interrupt handlers. */
+/* Driver interrupt handlers. */
/*===========================================================================*/
#if USE_LPC214x_UART0 || defined(__DOXYGEN__)
@@ -257,7 +265,7 @@ CH_IRQ_HANDLER(UART1IrqHandler) {
/*===========================================================================*/
-/* Low Level Driver exported functions. */
+/* Driver exported functions. */
/*===========================================================================*/
/**