![Data Translation DT9840 Series User Manual Download Page 62](http://html.mh-extra.com/html/data-translation/dt9840-series/dt9840-series_user-manual_511263062.webp)
Chapter 2
62
Counter/Timer Subsystem
User counter/timers 0, 1, and 2 provide software-selectable clocks, gates, operation modes,
and output parameters described in more detail from the register perspective in the following
sections. This provides the capability to generate rates, generate one-shots, count events, and
determine the signal pulse width, signal period, and the time between two signals.
describes the counter/timer address map,
registers at addresses 0xB000C020, 0xB000C024, and 0xB000C028, and
describes the
User Status register at address 0xB000C030.
Note:
Counter/timer 3 is a future option, designated as counter 1 in the 6713 chip. It is
32-bits wide and the input is gated in software. This gate is double-pinned on top of bit of
port 0 and the input is double-pinned on top of bit 1 of port 0.
Table 12: Counter/Timer Address Map
Address
a
a. All registers require 4 bytes of address space.
Register Description
Type
0xB000C000
b
b. Bits 31 to 0 are used to specify the period of the counter/timer. Data written
to this location is stored in the period register, and then immediately loaded
into the counter/timer. Reads of this location return the current value of the
counter/timer. This register and counter/timer are set to 0 on power up or
when the counter/timer is reset.
User Period Register 0/ Counter 0
R/W
0xB000C004
User Period Register 1/ Counter 1
R/W
0xB000C008
User Period Register 2/ Counter 2
R/W
0xB000C00C
Reserved
–
0xB000C010
c
c. Bits 31 to 0 are used to specify when the output pulse of the user
counter/timer is activated. Data written to this location is stored in the pulse
register. This register and counter/timer are set to 0 on power up or when
the counter/timer is reset.
User Pulse Register 0
W
0xB000C014
User Pulse Register 1
W
0xB000C018
User Pulse Register 2
W
0xB000C01C
Reserved
–
0xB000C020
d
.
User Control 0
W
0xB000C024
User Control 1
W
0xB000C028
User Control 2
W
0xB000C02C
Reserved
–
0xB000C030
e
User Status
R
Summary of Contents for DT9840 Series
Page 1: ...DT9840 Series UM 19197 T User s Manual Title Page ...
Page 4: ......
Page 44: ...Chapter 1 44 ...
Page 76: ...Chapter 2 76 ...
Page 98: ...Appendix A 98 ...
Page 124: ...Appendix B 124 ...