![rtd DM35820HR Скачать руководство пользователя страница 67](http://html1.mh-extra.com/html/rtd/dm35820hr/dm35820hr_user-manual_1497527067.webp)
RTD Embedded Technologies, Inc.
|
www.rtd.com
67
DMx820 User’s Manual
Figure 14: Counter latching executed for counter #1 (Read/Load 2-byte setting)
Read Back Command Operation
Use of the read back command enables the user to check the count value, program mode, output pin state and null count flag of the selected
counter. The command is written in the control word register, and the format is as shown below. For this command, the counter selection
occurs according to bits D3, D2 and D1.
It is possible to latch multiple counters by using the read back command. Latching of a read counter is automatically canceled but other
counters are kept latched. If multiple read back commands are written for the same counter, commands other than the first one are ignored. It
is also possible to latch the status information of each counter by using the read back command. The status of a certain counter is read when
the counter is read. The counter status format is as follows:
Bits D5 to D0 indicate the mode programmed by the most recently written control word.