Energy Meter IC Family Software Instruction Manual

71M652X Software User’s Guide
Revision 1.7 TERIDIAN Proprietary 100 of 138
© Copyright 2005-2007 TERIDIAN Semiconductor Corporation
The Keil project file is RESET_READ_SE.UV2.
5.18.7 Software Timer Test
This project, consisting of several files, demonstrates the use and test of the software timer using a hardware timer that
is multiplexed into many slower timers.
The Keil project file is stmtest.uv2.
5.18.8 Interrupt Test
This Test Module is written in 8051 assembler and can be used for testing the function of the INT0, INT1, TMR0, and
TMR1 control using DIO_Rx. When the code is run it configures all possible DIO pins as DIO input pins. When testing,
a breakpoint should be set on the vector for one of INT0, INT1, TMR0, TMR1. Also, one of the I/O RAM registers
DIO_R0...DIO_R11 should be set to the resource code for that vector. When the DIO pin under test is probed with
GND or V3P3, the programmed interrupt is generated.
The code sets up DIO 4, 5, 6 and 7 for one each of four interrupts.
The Keil project file is inttest.uv2.