Specifications
About These Program Examples
B-3
Program Examples
Table B–1. Common Files For All Example Programs
Program Functional Description
240x_PM.cmd Linker command file that defines the program, data, and I/O memory maps of the target
hardware. It also locates the various sections in the user code into predetermined
segments of memory. This .cmd file locates user code (vectors and .text sections) in
program memory beginning at 0000h.
240x.h Header file that designates labels for the addresses of the various registers.
vector.h
File that contains the vectors for various interrupts.
Table B–2. Program Examples
Program Functional Description
SPI.asm Program to output serial data through the SPI port
SCI.asm Program to check the SCI module in ’240x
ADC.asm Program to check ADC of ’240x
GPIO_OUT.asm Program that checks GPIO pins of ’240x as outputs
GPIO_IN.asm Program that checks GPIO pins of ’240x as inputs
REM_ANS.asm
REM_REQ.asm
Programs that perform RTR (Remote Transmission Request) operations in the
CAN module
EV_T1INT.asm Program to check the operation of timer 1 in EVA
CAP.asm
Program to check the operation of capture units in the EV modules










