2
Table of Contents
TABLE OF CONTENTS......................................................................................................... 2
LIMITED WARRANTY.......................................................................................................... 4
SPECIAL HANDLING INSTRUCTIONS .................................................................................... 4
INTRODUCTION................................................................................................................. 5
PROGRAMMABLE COUNTERS............................................................................................... 7
Input Signals................................................................................................................. 7
Captured Events ............................................................................................................ 8
Output Signals .............................................................................................................. 8
Counter Preload ............................................................................................................ 8
Output Register............................................................................................................. 9
Examples of Counter Applications.................................................................................... 9
One-shot (software trigger).......................................................................................... 9
One-shot (hardware trigger)....................................................................................... 10
Pulse Width Modulation.............................................................................................. 10
INTERRUPT TIMER........................................................................................................... 11
WATCHDOG TIMER .......................................................................................................... 11
Watchdog enable/disable ............................................................................................. 12
Solid-sate relay control................................................................................................. 12
D/A CONVERTER.............................................................................................................. 13
Calibration .................................................................................................................. 13
A/D CONVERTER.............................................................................................................. 13
Calibration .................................................................................................................. 13
DIGITAL I/O .................................................................................................................... 15
INTERRUPTS ................................................................................................................... 15
CALIBRATION EEPROM..................................................................................................... 16
CONFIGURATION JUMPERS............................................................................................... 17
CONNECTORS.................................................................................................................. 17
Analog connector (J3) .................................................................................................. 17
Digital connector (J5)................................................................................................... 18
REGISTERS ..................................................................................................................... 19
Register Map............................................................................................................... 19
Timer Control Register ................................................................................................ 20
Watchdog Timer Control Register .................................................................................. 20
DAC Control Register ................................................................................................... 21
ADC Control Register ................................................................................................... 22
DAC/ADC Data Register................................................................................................ 22
Digital I/O Control Register........................................................................................... 23
Interrupt Enable Register ............................................................................................. 24
Interrupt Status Register .............................................................................................. 24
Miscellaneous Register ................................................................................................. 25
Counter Preload/Data Register low word ........................................................................ 25
Counter Preload/Data Register high word....................................................................... 25