Onboard Isolated Counter/Timer; Counter/Timer Control Register; Table 2.11:Counter/Timer Control Register Bit Map - Advantech UNO-3074 User Manual

Celeron m/ pentium m embedded automation computer with four pci slot extensions
Table of Contents

Advertisement

2.7 Onboard Isolated Counter/Timer

The UNO-3074 uses one 82C54 programmable timer/counter chip that
includes three independent 16-bit down counters: counter 0, counter 1 and
counter 2. Counter 0 and counter 1 are for users, and counter 2 is specified
for the system and can't be used by user. Each counter has clock input, gate
input and pulse output. They can be programmed to count from 2 up to
65535 or cascaded into one 32-bit counter.
The UNO-3074 has two isolated counter input channels designated DI1
and DI3 with two isolated output channels designated DO2 and DO3.
Therefore, you can set each counter of 82C54 as counter function or timer
function.

2.7.1 Counter/Timer Control Register

The Counter/Timer Control Register controls the function and status of
each counter/timer signal source. Table 2.11 shows the bit map of the
Counter/Timer Control Register. The register is readable/writable register.
While being written, it is used as a control register; and while being read,
it is used as a status register.
Table 2.11: Counter/Timer Control Register Bit Map
Base
7
Address
207H
R/W Interrupt Flag/Clear Register
208H
R/W 82C54 Chip Counter0 Register
209H
R/W 82C54 Chip Counter1 Register
20BH R/W 82C54 Chip Control Register
20CH R/W Counter0 Start Control / Output Status Register
20DH R/W Counter1 Start Control / Output Status Register
20EH R/W Counter0 Setting Register
20FH R/W Counter1 Setting Register
UNO-3074 User Manual
6
5
4
CTR0
Out
CTR1
Out
CTR3
S1
S0
2Set
3
2
CTR1F CTR0F
CTR0
CTR0
IntSet
OutSet
CTR1
CTR1
IntSet
OutSet
24
1
0
CTR0
Gate
CTR1
Gate
CTR0
CTR0
GateSet
CLKSet
CTR1
CTR1
GateSet
CLKSet

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents