Measurement-computing PC104-CTR10HD Manuel d'utilisateur Page 11

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 20
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 10
To write to or read from a register in decimal or HEX, the weights in Table 3-1 apply:
Table 3-1. Bit Weights
801287
40646
20325
10164
883
442
221
110
HEX VALUEDECIMAL VALUEBIT POSITION
To write control or data to a register, the individual bits must be set to 0 or 1 then
combined to form a byte. Data read from registers must be analyzed to determine
which bits are on or off.
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
functions.
Table 2-2. Register Functions
Interrupt & CTR sourceNoneBASE + 400h
Commands to 9513 #2Status of 9513 #2BASE + 3h
Data for 9513 #2Data from 9513 #2BASE + 2h
Commands to 9513 #1Status of 9513 #1BASE + 1h
Data for 9513 #1Data from 9513 #1BASE + 0h
WRITE FUNCTIONREAD FUNCTIONADDRESS
7
Vue de la page 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16 ... 19 20

Commentaires sur ces manuels

Pas de commentaire