
Firmware Files
3.4 Firmware Files
Below is a list of the C files in the firmware
Main.c
•Programs entry point and determination of operation mode, i.e. PC control mode or standalone operation mode
•System initialization
•Common functions used in different firmware modules
Menu.c
•Takes care of high level user interface communication with the PC host.
•Interprets the received PC commands or data and initiate the corresponding action. The user interface menu contents can be modified or edited in this file.
SCI.c
•Takes care of low level SCI hardware for communication between the PC. Functions that accessing the SCI registers are included in this file.
•String management for input and output functions used in the Menu.c
ISR.c
•Interrupt services routines for different hardware modules
•Timer 1 is used for the PWM channels for the three RGB output color
•Timer 2 is used for generating a periodical interrupt that used in the demonstration display feature
•IRQ interrupts for enabling or disabling of demonstration display in the standalone operation mode.
•KBI interrupts for on board buttons detection
•Functions for generating certain display effects are included in this file
Keyinput.c
•For operation of standalone mode without the host PC
LED Lighting Control using the MC9S08AW60, Rev. 1
Freescale Semiconductor | 27 |