Status, Control, Interrupt – C&H Technologies M222 User Manual

Page 15: Relay, Id eeprom, Figure 3. i/o registers

Advertising
background image

9

Reg. 00

Status

Bit

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Write

Read-only

Read

Not Used

BUSY

Not Used

RIRQ

BUSY  Relay Busy

1

(0 = relay is busy, not stable yet (busy for 16mS after Relay Register is written))

RIRQ  Relay Interrupt

2

(1 = interrupt pending)


Notes:

1. This BUSY bit is re-triggerable.
2. Reading this register does not clear a pending interrupt (RIRQ).

Reg. 02

Control

Bit

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Write

Not Used

REN

SRST

Read

Not Used

REN

SRST

REN  Enable Relay Interrupt (1 = enables relay interrupt (after BUSY timer))

SRST  Soft Reset (1 = initiates a soft reset)

Reg. 04

Interrupt

Bit

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Write

Not Used

Read

Not Used

RIRQ

RIRQ  Relay Interrupt (1 = interrupt pending)

Note: Reading this register clears a pending interrupt.

Reg. 14

Relay

Bit

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Write

Not Used

CH3

CH2

CH1

CH0

Read

Not Used

CH3

CH2

CH1

CH0

CH0 – CH3  Channel (1 = channel open (COM-NC), 0 = channel closed (COM-NO))

Reg.

FE

ID EEPROM

Bit

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Write

Unused

CS

CLK

I/O

Read

1

1

1

1

1

1

1

1

0

0

0

0

0

0

0

I/O



I/O  Data In/Out (value from the Data Out pin of the ID EEPROM)

CLK  Clock (1 = forces the SK pin of the ID EEPROM high, 0 = low)

CS  Chip Select (1 = selects the ID EEPROM, 0 = deselects the ID EEPROM)

Notes:

1. The ID EEPROM register allows you to access the contents of the ID EEPROM which contains

sixty-four 16-bit works of M-Module ID and VXI M-Module data.

2. CAUTION: Do not attempt to write to Bit00 of the ID EEPROM register. You could overwrite the

contents of the EEPROM.


Figure 3. I/O Registers

C&H Technologies, Inc. <> 445 Round Rock West Drive <> Round Rock, TX 78681 <> www.chtech.com

Advertising