Programming the 8254 6-5
PCI-AOB8/12 (16/12) User’s Guide
82
45 Co
unte
r/
Tim
er
ä
ä
ä
ä
Programming the 8254
On these cards, the 8254 counters occupy the following addresses (hex):
Base A 24: Read/Write Counter #0
Base A 25: Read/Write Counter #1
Base A 26: Read/Write Counter #2
Base A 27: Write to Counter Control register
The counters are programmed by writing a control byte into a counter control register at Base
A 27. The control byte specifies the counter to be programmed, the counter mode, the
type of read/write operation, and the modulus. The control byte format is as follows:
*
SC0-SC1: These bits select the counter that the control byte is destined for.
B7
B6
B5
B4
B3
B2
B1
B0
SC1
SC0
RW1
RW0
M2
M1
M0
BCD
* See section on Reading and Loading the Counters.
SC1
SC0
Function
0
0
Program Counter #0
0
1
Program Counter #1
1
0
Program Counter #2
1
1
Read/Write Cmd.*
Содержание PCI-AOB16/12
Страница 1: ...www kontron com PCI AOB8 12 16 12 User s Guide Manual PN 00650 151 2A May 2002...
Страница 6: ...vi PCI AOB8 12 16 12 User s Guide This page intentionally left blank...
Страница 8: ...viii PCI AOB8 12 16 12 User s Guide This page intentionally left blank...
Страница 10: ...x PCI AOB8 12 16 12 User s Guide This page intentionally left blank...
Страница 14: ...xiv PCI AOB8 12 16 12 User s Guide This page intentionally left blank...
Страница 16: ...xvi PCI AOB8 12 16 12 User s Guide This page intentionally left blank...
Страница 22: ...xxii PCI AOB8 12 16 12 User s Guide This page intentionally left blank...
Страница 42: ...Chapter 3 Option Selection Contents Introduction 3 3 Output Ranges 3 3 Analog Output Update 3 4...
Страница 46: ...Chapter 4 Address Selection...
Страница 66: ...Chapter 7 Software...
Страница 68: ...Chapter 8 Calibration...