beautypg.com

To change my source code because of zsl – Zilog EZ80F916 User Manual

Page 337

background image

UM014423-0607

ZiLOG Standard Library Notes and Tips

ZiLOG Developer Studio II

eZ80Acclaim!

®

User Manual

317

I HAVE USED INIT_UART() AND OTHER FUNCTIONS PROVIDED IN THE
RTL. DO I NEED TO CHANGE MY SOURCE CODE BECAUSE OF ZSL?

No. The

sio.c

file of RTL has been modified to call ZSL APIs, so you can continue to

use the run-time library (RTL) without changing your source code. But ZiLOG advises
you to change your source code to make direct calls to ZSL. This is recommended for the
following reasons:

The calls in RTL support only one UART (UART0 or UART1) at any given time in
the library. You cannot switch between the UARTs dynamically.

There is a small code size increase in the RTL due to the additional overhead of
calling ZSL APIs from

sio.c

.

Future releases of RTL might or might not continue to support this method of
indirectly accessing the UARTs via ZSL.

This manual is related to the following products: