Fujitsu F2MCTM-16LX Bedienungsanleitung Seite 187

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 682
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 186
171
CHAPTER 10 I/O PORTS
Reading the port data register
The value obtained when reading the port data register (PDR) depends on the status of the port direction
register (DDR) and status of the peripheral function connected to the pin.
The following shows the value obtained by each combination.
Value of DDR Output state of peripheral
function
Reading value
0 (input) Enabled Output value from peripheral
function
1 (output) Enabled Output value from peripheral
function
0 (input) Disabled Pin state
1 (output) Disabled Value of output latch
Further, when using as input by peripheral function, set the DDR of the connected pin to "0" (input).
Seitenansicht 186
1 2 ... 182 183 184 185 186 187 188 189 190 191 192 ... 681 682

Kommentare zu diesen Handbüchern

Keine Kommentare