CMSIS-Driver
Version 2.7.1
Peripheral Interface for Middleware and Application Code
|
Negative values indicate errors (USART has specific codes in addition to common Status Error Codes). More...
Macros | |
#define | ARM_USART_ERROR_MODE (ARM_DRIVER_ERROR_SPECIFIC - 1) |
Specified Mode not supported. More... | |
#define | ARM_USART_ERROR_BAUDRATE (ARM_DRIVER_ERROR_SPECIFIC - 2) |
Specified baudrate not supported. More... | |
#define | ARM_USART_ERROR_DATA_BITS (ARM_DRIVER_ERROR_SPECIFIC - 3) |
Specified number of Data bits not supported. More... | |
#define | ARM_USART_ERROR_PARITY (ARM_DRIVER_ERROR_SPECIFIC - 4) |
Specified Parity not supported. More... | |
#define | ARM_USART_ERROR_STOP_BITS (ARM_DRIVER_ERROR_SPECIFIC - 5) |
Specified number of Stop bits not supported. More... | |
#define | ARM_USART_ERROR_FLOW_CONTROL (ARM_DRIVER_ERROR_SPECIFIC - 6) |
Specified Flow Control not supported. More... | |
#define | ARM_USART_ERROR_CPOL (ARM_DRIVER_ERROR_SPECIFIC - 7) |
Specified Clock Polarity not supported. More... | |
#define | ARM_USART_ERROR_CPHA (ARM_DRIVER_ERROR_SPECIFIC - 8) |
Specified Clock Phase not supported. More... | |
Negative values indicate errors (USART has specific codes in addition to common Status Error Codes).
The USART driver has additional status error codes that are listed below. Note that the USART driver also returns the common Status Error Codes.
#define ARM_USART_ERROR_MODE (ARM_DRIVER_ERROR_SPECIFIC - 1) |
Specified Mode not supported.
The mode requested with the function ARM_USART_Control is not supported by this driver.
#define ARM_USART_ERROR_BAUDRATE (ARM_DRIVER_ERROR_SPECIFIC - 2) |
Specified baudrate not supported.
The baude rate requested with the function ARM_USART_Control is not supported by this driver.
#define ARM_USART_ERROR_DATA_BITS (ARM_DRIVER_ERROR_SPECIFIC - 3) |
Specified number of Data bits not supported.
The number of data bits requested with the function ARM_USART_Control is not supported by this driver.
#define ARM_USART_ERROR_PARITY (ARM_DRIVER_ERROR_SPECIFIC - 4) |
Specified Parity not supported.
The parity bit requested with the function ARM_USART_Control is not supported by this driver.
#define ARM_USART_ERROR_STOP_BITS (ARM_DRIVER_ERROR_SPECIFIC - 5) |
Specified number of Stop bits not supported.
The stop bit requested with the function ARM_USART_Control is not supported by this driver.
#define ARM_USART_ERROR_FLOW_CONTROL (ARM_DRIVER_ERROR_SPECIFIC - 6) |
Specified Flow Control not supported.
The flow control requested with the function ARM_USART_Control is not supported by this driver.
#define ARM_USART_ERROR_CPOL (ARM_DRIVER_ERROR_SPECIFIC - 7) |
Specified Clock Polarity not supported.
The clock polarity requested with the function ARM_USART_Control is not supported by this driver.
#define ARM_USART_ERROR_CPHA (ARM_DRIVER_ERROR_SPECIFIC - 8) |
Specified Clock Phase not supported.
The clock phase requested with the function ARM_USART_Control is not supported by this driver.