TsctlAIOConfigurationDesc

From embeddedTS Manuals

low, high, prec, rate, and trigger are Arrays having lengths equal to the number of channels.

Each element of each array is filled with the current configuration for the corresponding channel except for itrig,which is a single value for the entire module.

A positive value is returned indicating success.

low and high, upon return contain the actual voltage range in effect for each channel.

prec, upon return contains the actual (minimum) precision in bits for each channel

t, upon return contains the actual (maximum) period in ns for each channel. The AIO_HZ() macro can be used to convert back and forth between Hz and nanoseconds.

trigger, upon return contains the trigger signal for activating each channel

itrig, upon return contains the interrupt trigger signal. If this value is non-zero, then when the trigger occurs during a call to Gets8/16/32 or Puts8/16/32, the call will return immediately at the end of the current set of samples, even if the requested number of samples has not yet been taken. A value of zero disables the interrupt trigger.