UNO-2050E User Manual
16
Counter/Timer Control Register
The Counter/Timer Control Register controls the function and status of
each counter/timer signal source. Table 2-9 shows the bit map of the
Counter/Timer Control Register. The register is readable/writable regis-
ter. While being written, it is used as a control register; and while being
read, it is used as a status register
CTR0F & CTR1F: Counter 0 & Counter 1 interrupt flag bit
CTR0Gate & CTR1Gate: Counter 0 and Counter 1 gate control bit
CTR0Out & CTR1Out: Counter 0 and Counter 1 output status bit
CTR0CLKSet & CTR1CLKSet: Counter 0 and 1 clock source control bit
CTR0GateSet & CTR1GateSet: Counter 0 and 1 gate source control bit
CTR0OutSet & CTR1OutSet: Counter 0 & 1 output destination controlbit
CTR0IntSet & CTR1IntSet: Counter 0 and Counter 1 interrupt control bit
S0 & S1: Counter 0 and 1 internal clock control bit
CTR32Set: Cascaded 32-bit counter control bit
Table 2.9: Counter/Timer Control Register Bit Map
Base Address
7 6
5
4
3
2
1
0
Base+07H
R/W Interrupt Flag/Clear Register
CTR1F CTR0F
Base+08H
R/W 82C54 Chip Counter0 Register
Base+09H
R/W 82C54 Chip Counter1 Register
Base+0BH
R/W 82C54 Chip Control Register
Base+0CH
R/W Counter0 Start Control / Output Status Register
CTR0
Out
CTR0
Gate
Base+0DH
R/W Counter1 Start Control / Output Status Register
CTR1
Out
CTR1
Gate
Base+0EH
R/W Counter0 Setting Register
CTR0
IntSet
CTR0
OutSet
CTR0
GateSet
CTR0
CLKSet
Base+0FH
R/W Counter1 Setting Register
CTR32
Set
S1
S0
CTR1
IntSet
CTR1
OutSig
CTR1
GateSig
CTR1
CLKSig