NOVA electronics Inc. MCX514 -
185
-
185
-
6.15
PIO Read Register 1: RR4
PIO read register RR4 is used for displaying the signal status of general purpose input / output signals XPIO7~0 in X axis and
general purpose input / output signals YPIO7~0 in Y axis. The bit is 0 if the signal is on the Low level; the bit is 1 if the signal is
on the Hi level.
XPIO0
D7
D6
D5
D4
H
L
D15
D14
D13
D12
D11
D10
D9
D8
D3
D2
D1
D0
RR4
XPIO1
XPIO2
XPIO3
XPIO4
XPIO5
XPIO6
XPIO7
YPIO0
YPIO1
YPIO2
YPIO3
YPIO4
YPIO5
YPIO6
YPIO7
D7
~
0 XPIO7
~
0
Displaying the status of X axis general purpose input / output signals XPIO7~0.
When XPIO7~0 signals are set as input, it indicates the input state and when set as output, it indicates the
output state.
D15
~
8 YPIO7
~
0
Displaying the status of Y axis general purpose input / output signals YPIO7~0.
When YPIO7~0 signals are set as input, it indicates the input state and when set as output, it indicates the
output state.
6.16
PIO Read Register 2: RR5
PIO read register RR5 is used for displaying the signal status of general purpose input / output signals ZPIO7~0 in Z axis and
general purpose input / output signals UPIO7~0 in U axis. The bit is 0 if the signal is on the Low level; the bit is 1 if the signal is
on the Hi level.
ZPIO0
D7
D6
D5
D4
H
L
D15
D14
D13
D12
D11
D10
D9
D8
D3
D2
D1
D0
RR5
ZPIO1
ZPIO2
ZPIO3
ZPIO4
ZPIO5
ZPIO6
ZPIO7
UPIO0
UPIO1
UPIO2
UPIO3
UPIO4
UPIO5
UPIO6
UPIO7
D7
~
0 ZPIO7
~
0
Displaying the status of Z axis general purpose input / output signals ZPIO7~0.
When ZPIO7~0 signals are set as input, it indicates the input state and when set as output, it indicates the
output state.
D15
~
8 UPIO7
~
0
Displaying the status of U axis general purpose input / output signals UPIO7~0.
When UPIO7~0 signals are set as input, it indicates the input state and when set as output, it indicates the
output state.
6.17
Data-Read Register: RR6 / RR7
According to the data-read command, the data of internal registers will be set into registers RR6 and RR7. The low word 16 bits
(RD15 ~ RD0) is set in RR6 register, and the high word 16 bits (RD31 ~ RD16) is set in RR7 register for data reading.
D7
D6
D5
D4
H
L
D15
D14
D13
D12
D11
D10
D9
D8
D3
D2
D1
D0
RR6
RD0
RD1
RD2
RD3
RD4
RD5
RD6
RD7
RD8
RD9
RD10
RD11
RD12
RD13
RD14
RD15
D7
D6
D5
D4
H
L
D15
D14
D13
D12
D11
D10
D9
D8
D3
D2
D1
D0
RR7
RD16
RD17
RD18
RD19
RD20
RD21
RD22
RD23
RD24
RD25
RD26
RD27
RD28
RD29
RD30
RD31
The data is binary and 2's complement is used for negative numbers.