diff options
Diffstat (limited to 'testhal/STM32/UART')
-rw-r--r-- | testhal/STM32/UART/ch.ld | 3 | ||||
-rw-r--r-- | testhal/STM32/UART/chconf.h | 3 | ||||
-rw-r--r-- | testhal/STM32/UART/halconf.h | 3 | ||||
-rw-r--r-- | testhal/STM32/UART/main.c | 17 | ||||
-rw-r--r-- | testhal/STM32/UART/mcuconf.h | 3 |
5 files changed, 17 insertions, 12 deletions
diff --git a/testhal/STM32/UART/ch.ld b/testhal/STM32/UART/ch.ld index 44f494121..ae79ddd40 100644 --- a/testhal/STM32/UART/ch.ld +++ b/testhal/STM32/UART/ch.ld @@ -1,5 +1,6 @@ /*
- ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
+ 2011 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
diff --git a/testhal/STM32/UART/chconf.h b/testhal/STM32/UART/chconf.h index 3353391ca..04fa822cc 100644 --- a/testhal/STM32/UART/chconf.h +++ b/testhal/STM32/UART/chconf.h @@ -1,5 +1,6 @@ /*
- ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
+ 2011 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
diff --git a/testhal/STM32/UART/halconf.h b/testhal/STM32/UART/halconf.h index 6b73cf62c..58e578f74 100644 --- a/testhal/STM32/UART/halconf.h +++ b/testhal/STM32/UART/halconf.h @@ -1,5 +1,6 @@ /*
- ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
+ 2011 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
diff --git a/testhal/STM32/UART/main.c b/testhal/STM32/UART/main.c index f672cfb1a..924338a77 100644 --- a/testhal/STM32/UART/main.c +++ b/testhal/STM32/UART/main.c @@ -1,5 +1,6 @@ /*
- ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
+ 2011 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -38,7 +39,7 @@ static void ledoff(void *p) { /*
* This callback is invoked when a transmission buffer has been completely
- * read by the driver. + * read by the driver.
*/
static void txend1(UARTDriver *uartp) {
@@ -47,7 +48,7 @@ static void txend1(UARTDriver *uartp) { }
/*
- * This callback is invoked when a transmission has phisically completed. + * This callback is invoked when a transmission has phisically completed.
*/
static void txend2(UARTDriver *uartp) {
@@ -62,7 +63,7 @@ static void txend2(UARTDriver *uartp) { /*
* This callback is invoked on a receive error, the errors mask is passed
- * as parameter. + * as parameter.
*/
static void rxerr(UARTDriver *uartp, uartflags_t e) {
@@ -72,7 +73,7 @@ static void rxerr(UARTDriver *uartp, uartflags_t e) { /*
* This callback is invoked when a character is received but the application
- * was not ready to receive it, the character is passed as parameter. + * was not ready to receive it, the character is passed as parameter.
*/
static void rxchar(UARTDriver *uartp, uint16_t c) {
@@ -88,7 +89,7 @@ static void rxchar(UARTDriver *uartp, uint16_t c) { }
/*
- * This callback is invoked when a receive buffer has been completely written. + * This callback is invoked when a receive buffer has been completely written.
*/
static void rxend(UARTDriver *uartp) {
@@ -96,7 +97,7 @@ static void rxend(UARTDriver *uartp) { }
/*
- * UART driver configuration structure. + * UART driver configuration structure.
*/
static UARTConfig uart_cfg_1 = {
txend1,
@@ -131,7 +132,7 @@ int main(void) { uartStart(&UARTD2, &uart_cfg_1);
/*
- * Starts the transmission, it will be handled entirely in background. + * Starts the transmission, it will be handled entirely in background.
*/
uartStartSend(&UARTD2, 13, "Starting...\r\n");
diff --git a/testhal/STM32/UART/mcuconf.h b/testhal/STM32/UART/mcuconf.h index ea7941a4f..2f50634ce 100644 --- a/testhal/STM32/UART/mcuconf.h +++ b/testhal/STM32/UART/mcuconf.h @@ -1,5 +1,6 @@ /*
- ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
+ 2011 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
|