Programming Flowcharts
51
4
4
4
4
4
4
4
4
4
Event Counting Operations
Get a handle to the C/T subsystem with
olDaGetDASS
.
Initialize the device driver and get the
device handle with
olDaInitialize
.
Specify the mode as OL_CTMODE_COUNT
using
olDaSetCTMode
.
Go to the next page.
Configure the subsystem using
olDaConfig
.
Specify C/T subsystem/element 0.
Specify the gate type as high-level
(OL_GATE_HIGH_LEVEL) or software
(OL_GATE_NONE) using
olDaSetGateType
.
Specify the clock source as
OL_CLK_EXTERNAL using
olDaSetClockSource
.
Specify a clock divider between 2 (the
default) and 65536.
Specify the clock divider using
olDaSetExternalClockDivider
Attach an external C/T with a maximum
recommended frequency of 6 MHz to
the Counter 0 In signal.
Содержание KUSB-3100
Страница 10: ...Contents x...
Страница 14: ...About this Manual xiv...
Страница 15: ...1 1 Overview Features 2 Supported Software 3...
Страница 18: ...Chapter 1 4...
Страница 46: ...Chapter 2 32...
Страница 47: ...33 3 Supported Device Driver Capabilities...
Страница 86: ...Chapter 4 72...
Страница 87: ...73 5 Troubleshooting General Checklist 74 Service and Support 77...
Страница 100: ...Chapter 6 86...
Страница 101: ...87 A Specifications...
Страница 112: ...Appendix A 98...
Страница 113: ...99 B Connector Pin Assignments...
Страница 115: ...101 C Reading from or Writing to the Digital Registers...