SMART I/O User’s Manual  | Chapter 2   | |||
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
2.6.2SMTselIn Syntax
error_code SMTselIn(u_int8 mode);
Description
This function selects one of four possible counter/timer input (TIN) configu- rations utilizing the 6MHz internal counter/timer clock.
Input
u_int8 mode
This represents the four input configurations. They are:
MODE00 The Simple I/O/TIN input pin carries the Simple I/O and the CLK and prescaler are used. The prescaler is decremented on the falling transition of the clock pin; the 
MODE01 The Simple I/O/TIN serves as a timer input and the CLK and prescaler are used. The prescaler and counter are decremented as in MODE00.
MODE10 The Simple I/O/TIN pin serves as a timer input and the prescaler is used. The prescaler is decremented following the rising transition of the TIN pin after being synchronized with the internal clock. The 
  | 
  | 
  | 
  | 
Page  | 2 - 18  | ©1996 PEP Modular Computers GmbH  | March 12, 1996  | 
  | 
  | 
  |