diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-07-31 06:46:17 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-07-31 06:46:17 +0000 |
commit | 8e4fd21b2b79a1f9f3c3601d6d344a9bfd4cc060 (patch) | |
tree | fd47b9c99b307d36446d9f03911bc1fcb00c9bd1 /os/hal/src/uart.c | |
parent | da5080f92aa8b725e99d26269c714294c32e9d82 (diff) | |
download | ChibiOS-8e4fd21b2b79a1f9f3c3601d6d344a9bfd4cc060.tar.gz ChibiOS-8e4fd21b2b79a1f9f3c3601d6d344a9bfd4cc060.tar.bz2 ChibiOS-8e4fd21b2b79a1f9f3c3601d6d344a9bfd4cc060.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2099 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src/uart.c')
-rw-r--r-- | os/hal/src/uart.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/os/hal/src/uart.c b/os/hal/src/uart.c index 9c200763f..4c1a2a55a 100644 --- a/os/hal/src/uart.c +++ b/os/hal/src/uart.c @@ -57,7 +57,7 @@ void uartInit(void) { /**
* @brief Initializes the standard part of a @p UARTDriver structure.
*
- * @param[in] uartp pointer to the @p UARTDriver object
+ * @param[in] uartp pointer to the @p UARTDriver object
*/
void uartObjectInit(UARTDriver *uartp) {
@@ -70,7 +70,7 @@ void uartObjectInit(UARTDriver *uartp) { /**
* @brief Configures and activates the UART peripheral.
*
- * @param[in] uartp pointer to the @p UARTDriver object
+ * @param[in] uartp pointer to the @p UARTDriver object
* @param[in] config pointer to the @p UARTConfig object
*/
void uartStart(UARTDriver *uartp, const UARTConfig *config) {
@@ -92,7 +92,7 @@ void uartStart(UARTDriver *uartp, const UARTConfig *config) { /**
* @brief Deactivates the UART peripheral.
*
- * @param[in] uartp pointer to the @p UARTDriver object
+ * @param[in] uartp pointer to the @p UARTDriver object
*/
void uartStop(UARTDriver *uartp) {
@@ -163,13 +163,13 @@ void uartStartSendI(UARTDriver *uartp, size_t n, const void *txbuf) { * @brief Stops any ongoing transmission.
* @note Stopping a transmission also suppresses the transmission callbacks.
*
- * @param[in] uartp pointer to the @p UARTDriver object
+ * @param[in] uartp pointer to the @p UARTDriver object
*/
void uartStopSend(UARTDriver *uartp) {
chDbgCheck(uartp != NULL, "uartStopSend");
- chSysLock()
+ chSysLock();
chDbgAssert(uartp->ud_state == UART_READY,
"uartStopSend(), #1",
"not active");
@@ -186,7 +186,7 @@ void uartStopSend(UARTDriver *uartp) { * @note Stopping a transmission also suppresses the transmission callbacks.
* @note This function has to be invoked from a lock zone.
*
- * @param[in] uartp pointer to the @p UARTDriver object
+ * @param[in] uartp pointer to the @p UARTDriver object
*/
void uartStopSendI(UARTDriver *uartp) {
@@ -255,13 +255,13 @@ void uartStartReceiveI(UARTDriver *uartp, size_t n, void *rxbuf) { * @brief Stops any ongoing receive operation.
* @note Stopping a receive operation also suppresses the receive callbacks.
*
- * @param[in] uartp pointer to the @p UARTDriver object
+ * @param[in] uartp pointer to the @p UARTDriver object
*/
void uartStopReceive(UARTDriver *uartp) {
chDbgCheck(uartp != NULL, "uartStopReceive");
- chSysLock()
+ chSysLock();
chDbgAssert(uartp->ud_state == UART_READY,
"uartStopReceive(), #1",
"not active");
|