Toshiba CD332 User Manual page 23

Toshiba change detect dc input module user's manual
Table of Contents

Advertisement

The following table shows the function of each bit of the input register assigned to
the CD332.
XW(n)
Register
Bit
0
1
2
3
4
5
6
XW(n)
7
8
9
A
B
C
D
E
F
The data of the CD332 can be read into the XW(n) register by using the Direct I/O
instruction (FUN235).
By executing the Direct I/O instruction, the interrupt flag (interrupt request) is reset to
OFF internally, and at the same time, the status bits are reset to OFF inside the CD332.
F
E
D
C
B
A
Status
Name
IN0 Indicates ON/OFF status of input IN0
IN1
IN2
Data
IN3
IN4
IN5
IN6
IN7
IN0 Comes ON when interrupt is generated by IN0 changing
IN1
IN2
Status IN3
IN4
IN5
IN6
IN7
9
8
7
6
5
4
Data
Description
Ditto
Ditto
Ditto
Ditto
Ditto
Ditto
Ditto
Ditto
Ditto
Ditto
Ditto
Ditto
Ditto
Ditto
4. I/O Allocation
3
2
1
0
IN1
IN2
IN3
IN4
IN5
IN6
IN7
IN1 changing
IN2 changing
IN3 changing
IN4 changing
IN5 changing
IN6 changing
IN7 changing
19
User's Manual

Advertisement

Table of Contents
loading

Table of Contents