English
Language : 

NT68P62-01 Datasheet, PDF (22/56 Pages) List of Unclassifed Manufacturers – 8-Bit Microcontroller for Monitor (32K OTP ROM Type)
NT68P62-01
12.2. Port1: P10 - P16
PORT10 - PORT16 is a 7-bit bi-directional CMOS I/O port
with PMOS as internal pull-up (Figure 12.1). Each bi-
directional I/O pin may be bit programmed as an input or
output port without software control the data direction
register. When PORT1 works as output, the data to be
output is latched to the port data register and output to the
pin. PORT1 pins that have '1's written to them are pulled
HIGH by the internal PMOS pull-ups. In this state they can
be used as input, then the input signal can be read. This
port output HIGH after reset.
P10 & P11 are shared with AD0 & AD1 input pins
respectively. If the ENADC0/1 bit in the ENADC control
register is cleared to LOW, A/D converters will activate
simultaneously. After the chip is reset, ENADC0/1 bits will
be in the HIGH state and P10 - P11 will act as I/O pins.
P12 P13 are shared with HALF SIGNALS input and
OUTPUT pins by accessing the OUTCON control register.
If the ENHALF bit is cleared to LOW, P13 will switch to
HALFHI pin (input pin) and P12 will switch to HALFHO pin
(output pin, Figure 12.3). For HALFHI & HALFHO pin
description, please refer half frequency function in the H/V
sync processor paragraph. After the chip is reset, the
ENHALF bits will be in HIGH state and P12 P13 will act
as I/O pins.
P14 is shared with output pin of self test pattern. If users
clear the PATTERN bit in the SYNCON control register
and the free running function has been activated, the P14
will switch to output pin of the self test pattern. This pattern
output pin is push-pull structure. After the chip is reset,
PATTERN bits will be in the HIGH state and P14 will act as
I/O pin. (Refer the 'Syncprocessor' section for more
detailed information.)
P15 & P16 can be shared with external interrupt INTE0 &
INTE1 pins if the INTE0/1 bits are set in the control register
of interrupt enable ($0016 & $0019). These interrupt pin
have 'Schmitt Trigger' input buffers. After the chip is reset,
INTE0/1 bits will be in HIGH state and P15 & P16 will act
as I/O pin.
Refer 'INTERRUPT CONTROLLER' paragraph above for
more details about the interrupt function.
Addr. Register INIT
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
R/W
$0001
PT1
7FH
-
P16
P15
P14
P13
P12
P11
P10
RW
$000C FREECON FFH ENPAT
PAT0
-
-
-
FREQ2
FREQ1
FREQ0
W
$0010
ENADC
FFH
CSTA
-
-
-
ENADC3 ENADC2 ENADC1 ENADC0
W
$0018
IENMI
00H
-
-
-
-
-
-
INTE0 INTMUTE RW
$001B IEIRQ2
00H
-
-
-
-
-
INTV
INTE1
INTMR RW
VDD
VDD
I/P
Data Input
Figure 12.4. Schmitt Input Structure
Data Out
Data OE
.
I/O
Data In
Figure 12.5. I/O Structure
22