DDK Sample Design |
ZiLOG Application Note |
---|
How to create and install a XINU driver for eZ80 family of processors |
Author: Andrei Kovalev FAE ZiLOG Germany |
The user putc
function is provided
as a part of the XINU API for output operations. This function places
one single byte to the buffer output queue. After a character is placed
into the buffer the function enables the transmit interrupt. After that
as soon as UART hardware is not busy with other tasks, an interrupt
is generated and the characters available from the output buffer
are transmitted over a serial line.
The write
function allows to output a number
of characters at once.
The control(hCOMn, GET_OUQ, 0)
function returns the unuccupied size of the output queue buffer.