Measurement-computing PC104-AC5 Manual do Utilizador Página 10

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 24
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 9
3 REGISTER ARCHITECTURE
3.1 INTRODUCTION
The PC104-AC5 contains three data and one control register for the 24 lines of digital
I/O.
The first address, or BASE ADDRESS, is determined by setting a bank of switches on
the board.
Register manipulation is best left to experienced programmers as most of the
PC104-AC5 functions are implemented in the easy to use Universal Library.
The register descriptions follow all follow the format:
A0A1A2A3A4A5A6A7
01234567
Where the numbers along the top row are the bit positions within the 8-bit byte and
the numbers and symbols in the bottom row are the functions associated with that bit.
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.
6
Vista de página 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 23 24

Comentários a estes Manuais

Sem comentários