Freescale Semiconductor S08 manual Firmware Files

Page 27

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

Image 27
Contents LED Lighting Control Using the MC9S08AW60 Page LED Lighting Control using the MC9S08AW60 Revision HistoryDesigner Reference Manual Freescale Semiconductor Table of Contents Appendix a Schematics Appendix B Bill of Materials Features Chapter IntroductionIntroduction System Overview MC9S08AW60Devices in the MC9S08AW60/48/32/16 Series Peripherals Available per Package Type Introduction LED Lighting Control using the MC9S08AW60, Rev AW60 Control Board Chapter Hardware DescriptionDEMO9S08AW60LED Layout DEMO9S08AW60LED FeaturesClock Source PowerReset Switch Development SupportADC Interface Pushbutton SwitchesLED Indicators User OptionsSPI Port Other I/O ConnectorsIIC Port SCI PortPWM Port LED Light Box Interface10. Sensor Interface Type a 12. Temperature Sensor Input 11. Sensor Interface Type H13. User Assignable Input LED Driving Board RGB LED Chip LED Driver Design ProceduresBoost Converter Current Sense ResistorEquations for Boost Converter Freescale Semiconductor Firmware Flow Main Program Chapter Firmware DescriptionFirmware Flow PWM Adjustment PC Control ModeUser Interface Menu Standalone Mode Firmware Files Freescale Semiconductor PC Software Setup Chapter Demo SetupHardware and Software Setup Hardware SetupEcho Typed Characters Setting Demo 1 Demonstration Display Demo ExamplesDemo 5 Full Manual Control Demo 2 Preset Colors DisplayDemo 3 Auto White Balance Control Demo 4 PWM Output Frequency ControlProgram the MCU Flash TroubleshootingDemo Setup Appendix a Schematics LED Lighting Control using the MC9S08AW60, Rev LED Lighting Control using the MC9S08AW60, Rev LED Lighting Control using the MC9S08AW60, Rev LED Lighting Control using the MC9S08AW60, Rev LED Lighting Control using the MC9S08AW60, Rev Appendix B Bill of Materials Part Description Quantity Value Designators BOM for AW60 Control BoardValue Designators BOM for LED Driving BoardLED Lighting Control using the MC9S08AW60, Rev Page How to Reach Us