Measurement-computing CIO-INT-32 Instrukcja Użytkownika Strona 12

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 24
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 11
The first I/O address, or BASE ADDRESS, is determined by setting a bank of
switches on the board.
To write to or read from a register in decimal or HEX, the following weights apply:
801287
40646
20325
10164
883
442
221
110
HEX VALUEDECIMAL VALUEBIT POSITION
To write a control word or data to a register, the individual bits must be set to 0 or 1
then combined to form a Byte.
The method of programming required to set/read bits from bytes is beyond the scope
of this manual. It will be covered in most Introduction To Programming books,
available from a bookstore.
In summary form, the registers and their function are listed on the following table.
Each register has eight bits which may constitute a byte of data or eight individual bit
set/read functions.
ControlStatusBASE + 7
Port APort ABASE + 6
Port BPort BBASE + 5
Port CPort CBASE + 4
Second Z8536 Processor
ControlStatusBASE + 3
Port A OutputPort A InputBASE + 2
Port B OutputPort B InputBASE + 1
Port C OutputPort C InputBASE + 0
First Z8536 Processor
WRITE FUNCTIONREAD FUNCTIONADDRESS
Refer to the Zilog Z8536 manual for programming instructions.
8
Przeglądanie stron 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 23 24

Komentarze do niniejszej Instrukcji

Brak uwag