beautypg.com

4 register map and descriptions, 1 overview – Measurement Computing CIO-QUAD0x User Manual

Page 10

background image

4 REGISTER MAP AND DESCRIPTIONS

4.1 OVERVIEW

The following section tabulates the register map of the CIO-QUAD series and briefly describes the commands necessary to
program the CIO-QUAD at the register level. The heart of the board is the LSI/CSI LS7266R1, a powerful device which is
highly integrated, requiring fewer external components. As seen in the LS7266R1 block diagram, many functions are
controlled through register programming. Refer to the register map in Table 4-1 below and the following descriptions.

Table 4-1. Register Map

6

R egis ter

D ata B its

D 7

D 6

D 5

D 4

D 3

D 2

D 1

D 0

F unction

B as e + 0

R D

D7

D6

D5

D4

D3

D2

D1

D0

R ead Channel 1 OL byte s egment addres s ed by B P

WR

D7

D6

D5

D4

D3

D2

D1

D0

Write Channel 1 PR byte s egment addres s ed by B P

B as e + 1

R D

0

IDX

U/D*

E

S

CPT

CT

B T

R ead Channel 1 F L AG regis ter

WR

0

0

0

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 1 R L D regis ter

WR

0

0

1

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 1 CMR regis ter

WR

0

1

0

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 1 IOR regis ter

WR

0

1

1

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 1 IDR regis ter

WR

1

0

0

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 1 and 2 R L D regis ter

WR

1

0

1

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 1 and 2 CMR regis ter

WR

1

1

0

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 1 and 2 IOR regis ter

WR

1

1

1

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 1 and 2 IDR regis ter

B as e + 2

R D

D7

D6

D5

D4

D3

D2

D1

D0

R ead Channel 2 OL byte s egment addres s ed by B P

WR

D7

D6

D5

D4

D3

D2

D1

D0

Write Channel 2 PR byte s egment addres s ed by B P

B as e + 3

R D

0

IDX

U/D*

E

S

CPT

CT

B T

R ead Channel 2 F L AG regis ter

WR

0

0

0

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 2 R L D regis ter

WR

0

0

1

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 2 CMR regis ter

WR

0

1

0

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 2 IOR regis ter

WR

0

1

1

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 2 IDR regis ter

WR

1

0

0

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 1 and 2 R L D regis ter

WR

1

0

1

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 1 and 2 CMR regis ter

WR

1

1

0

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 1 and 2 IOR regis ter

WR

1

1

1

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 1 and 2 IDR regis ter

B as e + 4

R D

D7

D6

D5

D4

D3

D2

D1

D0

R ead Channel 3 OL byte s egment addres s ed by B P

WR

D7

D6

D5

D4

D3

D2

D1

D0

Write Channel 3 PR byte s egment addres s ed by B P

B as e + 5

R D

0

IDX

U/D*

E

S

CPT

CT

B T

R ead Channel 3 F L AG regis ter

WR

0

0

0

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 3 R L D regis ter

WR

0

0

1

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 3 CMR regis ter

WR

0

1

0

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 3 IOR regis ter

WR

0

1

1

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 3 IDR regis ter

WR

1

0

0

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 3 and 4 R L D regis ter

WR

1

0

1

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 3 and 4 CMR regis ter

WR

1

1

0

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 3 and 4 IOR regis ter

WR

1

1

1

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 3 and 4 IDR regis ter

B as e + 6

R D

D7

D6

D5

D4

D3

D2

D1

D0

R ead Channel 4 OL byte s egment addres s ed by B P

WR

D7

D6

D5

D4

D3

D2

D1

D0

Write Channel 4 PR byte s egment addres s ed by B P

B as e + 7

R D

0

IDX

U/D*

E

S

CPT

CT

B T

R ead Channel 4 F L AG regis ter

WR

0

0

0

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 4 R L D regis ter

WR

0

0

1

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 4 CMR regis ter

WR

0

1

0

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 4 IOR regis ter

WR

0

1

1

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 4 IDR regis ter

WR

1

0

0

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 3 and 4 R L D regis ter

WR

1

0

1

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 3 and 4 CMR regis ter

WR

1

1

0

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 3 and 4 IOR regis ter

WR

1

1

1

*-------------- S E E L S 7266R 1 S PE C ----------------- Write to Channel 3 and 4 IDR regis ter

B as e + 8

R D

CB INT 4

CB INT 3

CB INT 2

CB INT 1 IND4S E L IND3S E L IND2S E L IND1S E L Interrupt routing control regis ter

WR

CB INT 4

CB INT 3

CB INT 2

CB INT 1 IND4S E L IND3S E L IND2S E L IND1S E L

B as e + 9

R D

N/A

PH4B 1

PH4B 0

PH4A

PH3B

PH3A

PH2B

PH2A

Input s ignal control regis ter (for cas cading counters )

WR

N/A

PH4B 1

PH4B 0

PH4A

PH3B

PH3A

PH2B

PH2A

B as e + 10

R D *-------------------- 8259 Programmable Interrupt Controller Port A ---------------------Programmable Interrupt Controller Port A
WR *-------------------- 8259 Programmable Interrupt Controller Port A -----------------------*

B as e + 11

R D *-------------------- 8259 Programmable Interrupt Controller Port B -------------------- Programmable Interrupt Controller Port B
WR *-------------------- 8259 Programmable Interrupt Controller Port B -----------------------*

B as e + 12

R D

N/A

N/A

N/A

N/A

INT E

INT 2

INT 1

INT 0

Interrupt s election regis ter

WR

N/A

N/A

N/A

N/A

INT E

INT 2

INT 1

INT 0