Pepper-computer Modular Computers RS485 Bedienungsanleitung Seite 58

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 320
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 57
SMART I/O User’s Manual
March 12, 1996
©1996 PEP Modular Computers GmbH
Page 2 - 18
Chapter 2 SMART-BASE
2.6.2 SMTselIn
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 24-bit counter is decremented,
rolls over or is loaded from the counter preload
registers when the prescaler rolls over from $00 to
$1F.
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 24-bit counter is decremented, rolls over
or is loaded from the counter preload registers when
the prescaler rolls over from $00 to $1F.
Seitenansicht 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 319 320

Kommentare zu diesen Handbüchern

Keine Kommentare