Zilog EZ80F91AZA User Manual
Page 18
RZK Board Support Package
UM007518-1211
8
Zilog Real-Time Kernel: eZ80
®
CPU
User Manual
Table 3. Configurable UART Drivers
Variable/Macro
Default Value
Description/Valid Values
UART0_THD_STACK_SIZEH
1024
UART0 Interrupt thread stack size.
UART0_TASK_PRIOH
6
UART0 Interrupt thread priority.
UART1_THD_STACK_SIZEH
2048
UART1 Interrupt thread stack size.
UART1_TASK_PRIOH
6
UART1 Interrupt thread priority.
serparams
—
Array of structure serialparam that con-
tains values that the UART device is to
be initialized with. The valid serparams
values below describe the structure
members.
serparams baud
2400/9600/19200/38400/
57600/115200
Sets the baud rate to any of the default
values.
serparams data bits
7/8
Sets the data bits to any of the default
values.
serparams stop bits
1/2
Sets the stop bits to any of the default
values.
serparams parity
PAREVEN/ PARODD/
PARNONE
Sets the parity to any of the default val-
ues.
serparams settings
Can contain combinational values with logical OR (|) operation, as
described below:
SERSET_DTR_ON
This Flag directs the serial driver to
assert the data terminal ready (DTR)
signal when the corresponding serial
device (UART) is open.
SERSET_RTSCTS
This Flag directs the UART driver to use
the ready to send (RTS)/clear to send
(CTS) flow control over the serial link.
SERSET_DTRDSR
This Flag is currently not used by the
UART driver.
SERSET_XONXOFF
This Flag is currently not used by the
UART driver.
SERSET_ONLCR
This Flag directs UART driver to convert
each outgoing new-line character (for
example, \n) to a new line + carriage
return (for example, \r\n). This setting
is required by some terminal emulators
to ensure that the console output is dis-
played correctly. This Flag must not be
used with PPP.