Measurement-computing CIO-PDMAxx Manuel d'utilisateur Page 15

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 32
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 14
5.1.4 8254 COUNTER LOAD & READ REGISTERS
COUNTER 0
BASE ADDRESS + 4 304h, 772
10
D0D1D2D3D4D5D6D7
01234567
COUNTER 1
BASE ADDRESS + 5 305h, 773
10
D0D1D2D3D4D5D6D7
01234567
COUNTER 2
BASE ADDRESS + 6 306h, 774
10
D0D1D2D3D4D5D6D7
01234567
The data in the counter read register, and the action taken on the data in a counter load
register, is wholly dependent upon the control code written to the control register.
The counters have 16-bits, each with an 8-bit window, the read / load register. Data is
shifted in and out of the 16-bit counters through these 8-bit windows according to the
control byte.
You will need an 8254 data sheet if you want to program the 8254 directly in
assembly language or in BASIC or some other high level language.
5.1.5 COUNTER CONTROL REGISTER
BASE ADDRESS + 7 307h, 775
10
BCDM0M1M2RL0RL1SC0SC1
01234567
WRITE ONLY
SC1 to SC0 are the counter select bits. They are binary coded between 0 and 2.
SC1 SC0 Counter
0 0 0
0 1 1
1 0 2
11
Vue de la page 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 31 32

Commentaires sur ces manuels

Pas de commentaire