diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-29 12:42:31 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-29 12:42:31 +0000 |
commit | dfd81f5be91be21b8bf7c364bf027531b7ec9946 (patch) | |
tree | 4753903a82d38cadaa3abc1e9fa7f36c11707ba4 /os/hal/platforms/Win32/serial_lld.c | |
parent | 8f1f3036d2d71ae78f523e8ede33548c260034f3 (diff) | |
download | ChibiOS-dfd81f5be91be21b8bf7c364bf027531b7ec9946.tar.gz ChibiOS-dfd81f5be91be21b8bf7c364bf027531b7ec9946.tar.bz2 ChibiOS-dfd81f5be91be21b8bf7c364bf027531b7ec9946.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1478 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/Win32/serial_lld.c')
-rw-r--r-- | os/hal/platforms/Win32/serial_lld.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/os/hal/platforms/Win32/serial_lld.c b/os/hal/platforms/Win32/serial_lld.c index bc4985247..68decfc01 100644 --- a/os/hal/platforms/Win32/serial_lld.c +++ b/os/hal/platforms/Win32/serial_lld.c @@ -29,6 +29,10 @@ #if CH_HAL_USE_SERIAL || defined(__DOXYGEN__)
+/*===========================================================================*/
+/* Driver exported variables. */
+/*===========================================================================*/
+
/** @brief Serial driver 1 identifier.*/
#if USE_WIN32_SERIAL1 || defined(__DOXYGEN__)
SerialDriver SD1;
@@ -38,6 +42,10 @@ SerialDriver SD1; SerialDriver SD2;
#endif
+/*===========================================================================*/
+/* Driver local variables. */
+/*===========================================================================*/
+
/** @brief Driver default configuration.*/
static const SerialDriverConfig default_config = {
};
@@ -45,7 +53,7 @@ static const SerialDriverConfig default_config = { static u_long nb = 1;
/*===========================================================================*/
-/* Low Level Driver local functions. */
+/* Driver local functions. */
/*===========================================================================*/
static void init(SerialDriver *sdp, uint16_t port) {
@@ -180,11 +188,11 @@ static bool_t outint(SerialDriver *sdp) { }
/*===========================================================================*/
-/* Low Level Driver interrupt handlers. */
+/* Driver interrupt handlers. */
/*===========================================================================*/
/*===========================================================================*/
-/* Low Level Driver exported functions. */
+/* Driver exported functions. */
/*===========================================================================*/
/**
|