USB08 Evaluation Board
Designer Reference Manual
MOTOROLA
Software Module Descriptions
43
Designer Reference Manual — USB08 Evaluation Board
Section 3. Software Module Descriptions
3.1 Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
General Structure of the M68HC08 Firmware . . . . . . . . . . . . . 44
How to Build the Compiler Project . . . . . . . . . . . . . . . . . . . . . . 45
Main Module U08MAIN.C . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
Interrupt and Reset Vector Module VECJB8.C. . . . . . . . . . . . . 49
C Startup Module CRTSJB8.S . . . . . . . . . . . . . . . . . . . . . . . . . 50
Push Button Module U08KEY.C . . . . . . . . . . . . . . . . . . . . . . . .50
LED Control with U08LED.H. . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Software ADC Module U08ADC.C . . . . . . . . . . . . . . . . . . . . . . 52
RS232 Communication Module U08232.C. . . . . . . . . . . . . . . . 54
USB Communication Module U08USB.C . . . . . . . . . . . . . . . . . 56
Compiler Specific Adjustments . . . . . . . . . . . . . . . . . . . . . . . . . 57
3.2 Introduction
This section describes the structure and interaction of the software
modules. These software modules, running on the Motorola
microcontroller MC68HC908JB8, form the firmware of the USB08
reference design.