Zilogic’s ZDev library provides a set of easy to use API interfaces
for rapid embedded firmware development. ZDev provides APIs for
accessing hardware controllers and devices. It is based on C language
and targeted at tiny micro-controllers like 8051 and ARM. ZDev
currently supports the following boards:
-
ZKit-51-RD2 (only 6x clock mode)
-
ZKit-51-V664
-
ZKit-51
-
ZKit-ARM-1343
Following is the short list of ZDev’s features.
-
Provides APIs for interfaces - I²C, SPI, DAC, ADC, PWM and Serial
-
Provides APIs for devices - buttons, keypads, LCD, 7-segment displays etc.
-
Makes the application portable.
-
Comes with extensive documentation.
-
Distributed under a permissive open source license.
-
Can be easily extended to other boards and controllers.
-
Well tested and suites well for quick product development.
The modules available in ZDev are shown in the following block diagram.
The modules can be classified as shown below.
Common Modules
-
Board - Initialize the board
-
Event - Check for events and dispatch callbacks
-
IRQ - Enable/Disable interrupts, and register handlers
-
Timer - Call functions after a timeout
-
Delay - Generate short delays
-
Error - Handle error conditions
HID Modules
-
LCD - Display text on an LCD
-
Graphics - Draw text & images on a graphics display
-
Buttons - Read button status
Networking and Communication Modules
-
I²C - Communicate with I²C devices
-
SPI - Communicate with SPI devices
-
Serial - Communicate with serial devices
Analog and Digital I/O Modules
-
GPIO - Control digital pin state
-
PWM - Generate PWM signals
-
ADC - Measure analog voltages
-
DAC - Generate analog voltages
Storage Modules
-
EEPROM - Access non-volatile memory