What is zsl, Which on-chip peripherals are supported, What is the zsldevinit.asm file – Zilog EZ80F916 User Manual
Page 333: What calls the open_periphdevice() function

UM014423-0607
ZiLOG Standard Library Notes and Tips
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
313
WHAT IS ZSL?
The ZiLOG Standard Library (ZSL) is a set of library files that provides an interface
between the user application and the on-chip peripherals of the ZDS II microprocessors/
controllers.
WHICH ON-CHIP PERIPHERALS ARE SUPPORTED?
Version 1.0 of ZSL supports UARTs and GPIO peripherals.
WHERE CAN I FIND THE HEADER FILES RELATED TO ZILOG STANDARD
LIBRARIES?
The header files related to ZiLOG Standard Libraries can be found under the following
directory:
ZILOGINSTALL\ZDSII_
product
_
version
\include\zilog
where
•
ZILOGINSTALL is the ZDS II installation directory. For example, the default
installation directory is
C:\Program Files\ZiLOG.
•
product is the specific ZiLOG product. For example, product can be
Z8Encore!
,
eZ80Acclaim!
,
Crimzon
, or
Z8GP
.
•
version is the ZDS II version number. For example, version might be
4.11.0
or
5.0.0
.
WHAT IS THE ZSLDEVINIT.ASM FILE?
zsldevinit.asm
is a device initialization file. It contains routines to initialize the
devices you have selected in the ZSL page of the Project Settings dialog box.
WHAT INITIALIZATIONS ARE PERFORMED IN THE ZSLDEVINIT.ASM FILE?
The
open_periphdevice()
routine in
zsldevinit.asm
initializes the GPIO ports
and UART devices. The functions in the file also initialize other dependent parameters
like the clock speeds and UART FIFO sizes.
WHAT CALLS THE OPEN_PERIPHDEVICE() FUNCTION?
If the standard startup files are used, the
open_periphdevice()
function is called by
the startup routine just before calling the main function.