SMART I/O User’s Manual | Chapter 2 | |||
|
|
|
|
|
|
|
|
|
|
O_PRELOAD | : With this call the counter preload register can be |
| set. The syntax is as follows : |
<RetVar> := OPERATE(<iovar>, O_PRELOAD, <prevar>);
where the <iovar> is typically t_in and <prevar> is the value for the preload register which lies between 1 and 0xFFFFFF.
O_START_CNTDWN : This function starts the counter
<RetVar> := OPERATE(<iovar>,O_START_CNTDWN,<prevar>);
where the <iovar> is a variable attached to the Timer I/O (typically t_in) and <prevar> may be one of OA_PITCLOCK for selection of the
6 MHz/32 clock input or OA_TIN for selection of t_in inputs.
|
|
|
|
Page | 2 - 36 | ©1996 PEP Modular Computers GmbH | March 12, 1996 |
|
|
|