P1CR—Port 1 Control Register H'FFFC Port 1
Bit 76543210
— IRQ
1E IRQ0E NMIEG BRLE — — —
Initial value 10000111
Read/Write — R/W R/W R/W R/W — — —
Nonmaskable Interrupt Edge
0 An NMI request is generated on the
falling edge of the NMI pin input.
1 An NMI request is generated on the
rising edge of the NMI pin input.
Bus Release Enable
0P12 and P13 are I/O ports.
1P12 is the output pin and
P13 is the input pin.
Interrupt Request 0 Enable
0P15 is an I/O port; input is disabled.
1P15 is the input pin.
Interrupt Request 1 Enable
0P16 is an I/O port; input is disabled.
1P16 is the input pin.
P2DDR—Port 2 Data Direction Register H'FF81 Port 2
Bit 76543210
———P2
4DDR P23DDR P22DDR P21DDR P20DDR
Initial value 11100000
Read/Write — — — WWWWW
Port 2 Input/Output Selection
0 Input port
1 Output port
374
Downloaded from Elcodis.com electronic components distributor