CMSIS USART Driver Data Structures Type Documentation
_ARM_USART_STATUS
Location: Driver_USART.h:167
Data Fields
Type | Name | Description |
---|---|---|
uint32_t |
Transmitter busy flag. |
|
uint32_t |
Receiver busy flag. |
|
uint32_t |
Transmit data underflow detected (cleared on start of next send operation). |
|
uint32_t |
Receive data overflow detected (cleared on start of next receive operation). |
|
uint32_t |
Break detected on receive (cleared on start of next receive operation). |
|
uint32_t |
Framing error detected on receive (cleared on start of next receive operation). |
|
uint32_t |
Parity error detected on receive (cleared on start of next receive operation). |
|
uint32_t |
(Reserved for future use) |
_ARM_USART_MODEM_STATUS
Location: Driver_USART.h:191
Data Fields
Type | Name | Description |
---|---|---|
uint32_t |
CTS state: 1=Active, 0=Inactive. |
|
uint32_t |
DSR state: 1=Active, 0=Inactive. |
|
uint32_t |
DCD state: 1=Active, 0=Inactive. |
|
uint32_t |
RI state: 1=Active, 0=Inactive. |
|
uint32_t |
(Reserved for future use) |
_ARM_USART_CAPABILITIES
Location: Driver_USART.h:301
Data Fields
Type | Name | Description |
---|---|---|
uint32_t |
supports UART (asynchronous) mode. |
|
uint32_t |
supports synchronous master mode. |
|
uint32_t |
supports synchronous slave mode. |
|
uint32_t |
supports UART single-wire mode. |
|
uint32_t |
supports UART IrDA mode. |
|
uint32_t |
supports UART smart card mode. |
|
uint32_t |
Smart card clock generator available. |
|
uint32_t |
RTS flow control available. |
|
uint32_t |
CTS flow control available. |
|
uint32_t |
Transmit completed event: ARM_USART_EVENT_TX_COMPLETE. |
|
uint32_t |
Signal receive character timeout event: ARM_USART_EVENT_RX_TIMEOUT. |
|
uint32_t |
RTS Line: 0=not available, 1=available. |
|
uint32_t |
CTS Line: 0=not available, 1=available. |
|
uint32_t |
DTR Line: 0=not available, 1=available. |
|
uint32_t |
DSR Line: 0=not available, 1=available. |
|
uint32_t |
DCD Line: 0=not available, 1=available. |
|
uint32_t |
RI Line: 0=not available, 1=available. |
|
uint32_t |
Signal CTS change event: ARM_USART_EVENT_CTS. |
|
uint32_t |
Signal DSR change event: ARM_USART_EVENT_DSR. |
|
uint32_t |
Signal DCD change event: ARM_USART_EVENT_DCD. |
|
uint32_t |
Signal RI change event: ARM_USART_EVENT_RI. |
|
uint32_t |
Reserved (must be zero). |
_ARM_DRIVER_USART
Location: Driver_USART.h:330
Data Fields
Type | Name | Description |
---|---|---|
Pointer to ARM_USART_GetVersion : Get driver version. |
||
Pointer to ARM_USART_GetCapabilities : Get driver capabilities. |
||
int32_t(* |
Pointer to ARM_USART_Initialize : Initialize USART Interface. |
|
int32_t(* |
Pointer to ARM_USART_Uninitialize : De-initialize USART Interface. |
|
int32_t(* |
Pointer to ARM_USART_PowerControl : Control USART Interface Power. |
|
int32_t(* |
Pointer to ARM_USART_Send : Start sending data to USART transmitter. |
|
int32_t(* |
Pointer to ARM_USART_Receive : Start receiving data from USART receiver. |
|
int32_t(* |
Transfer)(const void *data_out, void *data_in, uint32_t num) |
Pointer to ARM_USART_Transfer : Start sending/receiving data to/from USART. |
uint32_t(* |
Pointer to ARM_USART_GetTxCount : Get transmitted data count. |
|
uint32_t(* |
Pointer to ARM_USART_GetRxCount : Get received data count. |
|
int32_t(* |
Pointer to ARM_USART_Control : Control USART Interface. |
|
Pointer to ARM_USART_GetStatus : Get USART status. |
||
int32_t(* |
Pointer to ARM_USART_SetModemControl : Set USART modem control line state. |
|
Pointer to ARM_USART_GetModemStatus : Get USART modem status lines state. |