Skip to content

Commit 890ae02

Browse files
CMSIS-Driver USART: Minor comments update (#108)
1 parent ee24826 commit 890ae02

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

CMSIS/Driver/Include/Driver_USART.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* Version 2.3
2929
* ARM_USART_STATUS and ARM_USART_MODEM_STATUS made volatile
3030
* Version 2.2
31-
* Corrected ARM_USART_CPOL_Pos and ARM_USART_CPHA_Pos definitions
31+
* Corrected ARM_USART_CPOL_Pos and ARM_USART_CPHA_Pos definitions
3232
* Version 2.1
3333
* Removed optional argument parameter from Signal Event
3434
* Version 2.0
@@ -40,7 +40,7 @@
4040
* Synchronous
4141
* Single-wire
4242
* IrDA
43-
* Smart Card
43+
* Smart Card
4444
* Changed prefix ARM_DRV -> ARM_DRIVER
4545
* Version 1.10
4646
* Namespace prefix ARM_ added
@@ -131,7 +131,7 @@ extern "C"
131131

132132
/*----- USART Control Codes: Miscellaneous Controls -----*/
133133
#define ARM_USART_SET_DEFAULT_TX_VALUE (0x10UL << ARM_USART_CONTROL_Pos) ///< Set default Transmit value (Synchronous Receive only); arg = value
134-
#define ARM_USART_SET_IRDA_PULSE (0x11UL << ARM_USART_CONTROL_Pos) ///< Set IrDA Pulse in ns; arg: 0=3/16 of bit period
134+
#define ARM_USART_SET_IRDA_PULSE (0x11UL << ARM_USART_CONTROL_Pos) ///< Set IrDA Pulse in ns; arg: 0=3/16 of bit period
135135
#define ARM_USART_SET_SMART_CARD_GUARD_TIME (0x12UL << ARM_USART_CONTROL_Pos) ///< Set Smart Card Guard Time; arg = number of bit periods
136136
#define ARM_USART_SET_SMART_CARD_CLOCK (0x13UL << ARM_USART_CONTROL_Pos) ///< Set Smart Card Clock in Hz; arg: 0=Clock not generated
137137
#define ARM_USART_CONTROL_SMART_CARD_NACK (0x14UL << ARM_USART_CONTROL_Pos) ///< Smart Card NACK generation; arg: 0=disabled, 1=enabled
@@ -215,7 +215,7 @@ typedef struct _ARM_USART_MODEM_STATUS {
215215
\return \ref ARM_DRIVER_VERSION
216216
217217
\fn ARM_USART_CAPABILITIES ARM_USART_GetCapabilities (void)
218-
\brief Get driver capabilities
218+
\brief Get driver capabilities.
219219
\return \ref ARM_USART_CAPABILITIES
220220
221221
\fn int32_t ARM_USART_Initialize (ARM_USART_SignalEvent_t cb_event)
@@ -274,7 +274,7 @@ typedef struct _ARM_USART_MODEM_STATUS {
274274
\fn int32_t ARM_USART_SetModemControl (ARM_USART_MODEM_CONTROL control)
275275
\brief Set USART Modem Control line state.
276276
\param[in] control \ref ARM_USART_MODEM_CONTROL
277-
\return \ref execution_status
277+
\return \ref execution_status
278278
279279
\fn ARM_USART_MODEM_STATUS ARM_USART_GetModemStatus (void)
280280
\brief Get USART Modem Status lines state.
@@ -292,7 +292,7 @@ typedef void (*ARM_USART_SignalEvent_t) (uint32_t event); ///< Pointer to \ref
292292
\brief USART Device Driver Capabilities.
293293
*/
294294
typedef struct _ARM_USART_CAPABILITIES {
295-
uint32_t asynchronous : 1; ///< supports UART (Asynchronous) mode
295+
uint32_t asynchronous : 1; ///< supports UART (Asynchronous) mode
296296
uint32_t synchronous_master : 1; ///< supports Synchronous Master mode
297297
uint32_t synchronous_slave : 1; ///< supports Synchronous Slave mode
298298
uint32_t single_wire : 1; ///< supports UART Single-wire mode

0 commit comments

Comments
 (0)