28
•
Programming
4.3 Programmable Interval Timer
Note:
The material of this section is adopted from
“
Intel Microprocessor and Peripheral Handbook Vol. II --Peripheral
”
4.3.1 The Intel (NEC) 8254
The 8254 contains three independent, programmable, and multi-mode 16 bit
counter/timers. The three independent 16 bit counters can be clocked at
rates from DC to 5 MHz. Each counter can be individually programmed with 6
different operating modes by appropriately formatted control words. The most
common uses for the 8254 in microprocessor-based systems are:
•
Programmable baud rate generator
•
Event
counter
•
Binary rate multiplier
•
Real-time
clock
•
Digital
one-shot
•
Motor
control
4.3.2 The Control Byte
The 8254 occupies 8 I/O address locations in the ACL-7120A I/O map, as
shown below:
Base + 4
LSB OR MSB OF COUNTER 0
Base + 5
LSB OR MSB OF COUNTER 1
Base + 6
LSB OR MSB OF COUNTER 2
Base + 7
CONTROL BYTE for Chip 0
Base + 8
LSB OR MSB OF COUNTER 3
Base + 9
LSB OR MSB OF COUNTER 4
Base + 10
LSB OR MSB OF COUNTER 5
Base + 11
CONTROL BYTE for Chip 1
Содержание ACL-7120A
Страница 1: ...NuDAQ ACL 7120A Digital I O Timer Counter Card User s Guide...
Страница 2: ......
Страница 12: ......
Страница 15: ...Installation 9 2 3 ACL 7120A Layout Figure 2 1 7120A Layout SW1 CN1 CN2 CN3 CN4 CN5 JP1 JP2 JP3 Count 0 Count 1...
Страница 20: ...14 Installation JP3 default setting TME IRQ EXT IRQ EVT IRQ TME IRQ Figure 2 4...
Страница 38: ......