| CMSIS-Driver Peripheral Interface for Middleware and Application Code |

Loading...
Searching...
No Matches
Macros
USART Status Error Codes
USART Interface

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.
#define | ARM_USART_ERROR_BAUDRATE (ARM_DRIVER_ERROR_SPECIFIC - 2)
| Specified baudrate not supported.
#define | ARM_USART_ERROR_DATA_BITS (ARM_DRIVER_ERROR_SPECIFIC - 3)
| Specified number of Data bits not supported.
#define | ARM_USART_ERROR_PARITY (ARM_DRIVER_ERROR_SPECIFIC - 4)
| Specified Parity not supported.
#define | ARM_USART_ERROR_STOP_BITS (ARM_DRIVER_ERROR_SPECIFIC - 5)
| Specified number of Stop bits not supported.
#define | ARM_USART_ERROR_FLOW_CONTROL (ARM_DRIVER_ERROR_SPECIFIC - 6)
| Specified Flow Control not supported.
#define | ARM_USART_ERROR_CPOL (ARM_DRIVER_ERROR_SPECIFIC - 7)
| Specified Clock Polarity not supported.
#define | ARM_USART_ERROR_CPHA (ARM_DRIVER_ERROR_SPECIFIC - 8)
| Specified Clock Phase not supported.

## Description

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.

## Macro Definition Documentation

## ◆ ARM_USART_ERROR_MODE

#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.

## ◆ ARM_USART_ERROR_BAUDRATE

#define ARM_USART_ERROR_BAUDRATE (ARM_DRIVER_ERROR_SPECIFIC - 2)

Specified baudrate not supported.

The baud rate requested with the function ARM_USART_Control is not supported by this driver.

## ◆ ARM_USART_ERROR_DATA_BITS

#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.

## ◆ ARM_USART_ERROR_PARITY

#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.

## ◆ ARM_USART_ERROR_STOP_BITS

#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.

## ◆ ARM_USART_ERROR_FLOW_CONTROL

#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.

## ◆ ARM_USART_ERROR_CPOL

#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.

## ◆ ARM_USART_ERROR_CPHA

#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.