
USB08 Evaluation Board Designer Reference Manual
MOTOROLA Software Module Descriptions 43
Designer Reference Manual — USB08 Evaluation Board
Section 3. Software Module Descriptions3.1 Contents
3.2 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
3.3 General Structure of the M68HC08 Firmware . . . . . . . . . . . . .44
3.4 How to Build the Compiler Project . . . . . . . . . . . . . . . . . . . . . .45
3.5 Main Module U08MAIN.C. . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
3.6 Interrupt and Reset Vector Module VECJB8.C. . . . . . . . . . . . .49
3.7 C Startup Module CRTSJB8.S. . . . . . . . . . . . . . . . . . . . . . . . .50
3.8 Push Button Module U08KEY.C. . . . . . . . . . . . . . . . . . . . . . . .50
3.9 LED Control with U08LED.H. . . . . . . . . . . . . . . . . . . . . . . . . . .52
3.10 Software ADC Module U08ADC.C. . . . . . . . . . . . . . . . . . . . . .52
3.11 RS232 Communication Module U08232.C. . . . . . . . . . . . . . . .54
3.12 USB Communication Module U08USB.C. . . . . . . . . . . . . . . . .56
3.13 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.