Document number
204911
Version
Rev. K
Issue date
2016-10-11
Sirius Breadboard User Manual
www.aacmicrotec.com
Page
38
of
106
The driver functionality is accessed through the RTEMS POSIX API for ease of use. In case
of a failure on a function call, the errno value is set for determining the cause.
5.6.2.1. Enum rtems_uart32_ioctl_baudrate_e
Enumerator for the baudrate of the serial link.
Enumerator
Description
UART32_IOCTL_BAUDRATE_10M
10 MBaud
UART32_IOCTL_BAUDRATE_5M
5 MBaud
UART32_IOCTL_BAUDRATE_2M
2 MBaud
UART32_IOCTL_BAUDRATE_1M
1 MBaud
UART32_IOCTL_BAUDRATE_115200
115200 Baud
5.6.2.2. Enum rtem_uart32_ioctl_endian_e
Enumerator for the endianness of the DMA transfer.
Enumerator
Description
UART32_IOCTL_ENDIAN_BIG
Big endian
UART32_IOCTL_ENDIAN_LITTLE Little endian
5.6.2.3. Function int open(...)
Opens access to the requested UART32. Upon each open call the device interface is reset
to 10MBaud and big endian mode.
Argument name
Type
Direction
Description
pathname
const char *
in
The absolute path to the UART32 to be
opened. UART32 device is defined as
UART32_DEVICE_NAME.
flags
int
in
Access mode flag, only O_RDONLY is
supported.