
Principles of Operation
95
• One-shot
• Repetitive one-shot
Note:
The active polarity for each counter/timer operation mode is software-selectable.
The following subsections describe these modes in more detail.
Event Counting
Use event counting mode if you want to count the number of rising edges that occur on the
counter’s clock input when the counter’s gate signal is active (low-level or high-level). Refer
to
for information about specifying the active gate type.
You can count a maximum of 4,294,967,296 events before the counter rolls over to 0 and starts
counting again.
Using software, specify the counter/timer mode as event counting (count), the C/T clock
source as external, and the active gate type as low-level or high-level.
Make sure that the signals are wired appropriately. Refer to
for an example of
connecting an event counting application.
Up/Down Counting
Use up/down counting mode if you want to increment or decrement the number of rising
edges that occur on the counter’s clock input, depending on the level of the counter’s gate
signal.
If the gate signal is high, the C/T increments; if the gate signal is low, the C/T decrements.
Using software, specify the counter/timer mode as up/down counting (up/down), and the
C/T clock source as external. Note that you do not specify the gate type in software.
Make sure that the signals are wired appropriately. Refer to
for an example of
connecting an up/down counting application.
Note:
Initialize the counter/timer so that the C/T never increments above FFFFFFFFh or
decrements below 0.
Содержание DT9857
Страница 1: ...DT9857 and DT9857E UM 25656 N User s Manual Title Page ...
Страница 4: ......
Страница 10: ...Contents 10 ...
Страница 14: ...About this Manual 14 ...
Страница 15: ...15 1 Overview Hardware Features 16 Supported Software 19 Supported Accessories 22 Getting Started Procedure 24 ...
Страница 25: ...Part 1 Getting Started ...
Страница 26: ......
Страница 40: ...Chapter 2 40 ...
Страница 61: ...61 4 Verifying the Operation of a Module Select the Device 63 Acquire Data from an Analog Output Channel 65 ...
Страница 64: ...Chapter 4 64 ...
Страница 71: ...Part 2 Using Your Module ...
Страница 72: ......
Страница 75: ...Principles of Operation 75 Figure 32 Block Diagram of the DT9857E Module ...
Страница 126: ...Chapter 6 126 ...
Страница 127: ...127 7 Troubleshooting General Checklist 128 Technical Support 130 If Your Module Needs Factory Service 131 ...
Страница 132: ...Chapter 7 132 ...
Страница 140: ...Chapter 8 140 ...
Страница 180: ...Appendix B 180 ...
Страница 181: ...181 C Register Level Programming Writing to the EEPROM Register 182 ...
Страница 184: ...Appendix C 184 ...
Страница 192: ...Index 192 ...