aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/MSP430/serial_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-29 12:49:12 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-29 12:49:12 +0000
commit26790f9fb067095c855498241ababa35ce17e555 (patch)
tree726d9f0f926ab09a2280c08da75e5a181c223ecb /os/hal/platforms/MSP430/serial_lld.c
parentdfd81f5be91be21b8bf7c364bf027531b7ec9946 (diff)
downloadChibiOS-26790f9fb067095c855498241ababa35ce17e555.tar.gz
ChibiOS-26790f9fb067095c855498241ababa35ce17e555.tar.bz2
ChibiOS-26790f9fb067095c855498241ababa35ce17e555.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1479 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/MSP430/serial_lld.c')
-rw-r--r--os/hal/platforms/MSP430/serial_lld.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/os/hal/platforms/MSP430/serial_lld.c b/os/hal/platforms/MSP430/serial_lld.c
index a69944bf7..caa0e99d0 100644
--- a/os/hal/platforms/MSP430/serial_lld.c
+++ b/os/hal/platforms/MSP430/serial_lld.c
@@ -31,6 +31,10 @@
#if CH_HAL_USE_SERIAL || defined(__DOXYGEN__)
+/*===========================================================================*/
+/* Driver exported variables. */
+/*===========================================================================*/
+
#if USE_MSP430_USART0 || defined(__DOXYGEN__)
/** @brief USART0 serial driver identifier.*/
SerialDriver SD1;
@@ -40,6 +44,10 @@ SerialDriver SD1;
SerialDriver SD2;
#endif
+/*===========================================================================*/
+/* Driver local variables. */
+/*===========================================================================*/
+
/** @brief Driver default configuration.*/
static const SerialDriverConfig default_config = {
UBR(DEFAULT_USART_BITRATE),
@@ -48,7 +56,7 @@ static const SerialDriverConfig default_config = {
};
/*===========================================================================*/
-/* Low Level Driver local functions. */
+/* Driver local functions. */
/*===========================================================================*/
static void set_error(uint8_t urctl, SerialDriver *sdp) {
@@ -150,7 +158,7 @@ static void usart1_deinit(void) {
#endif /* USE_MSP430_USART1 */
/*===========================================================================*/
-/* Low Level Driver interrupt handlers. */
+/* Driver interrupt handlers. */
/*===========================================================================*/
#if USE_MSP430_USART0 || defined(__DOXYGEN__)
@@ -218,7 +226,7 @@ CH_IRQ_HANDLER(USART1RX_VECTOR) {
#endif /* USE_MSP430_USART1 */
/*===========================================================================*/
-/* Low Level Driver exported functions. */
+/* Driver exported functions. */
/*===========================================================================*/
/**