st2064b Sitronix Technology Corporation, st2064b Datasheet - Page 13

no-image

st2064b

Manufacturer Part Number
st2064b
Description
8 Bit Microcontroller With 64k Bytes Rom
Manufacturer
Sitronix Technology Corporation
Datasheet
PULL-UP
10.2.4 Port-A Pull-Up Option
Port-A contains PMOS transistors of pull-up resistor controlled
by software in bit-manner. In case of input direction, on/off of
the pull-up PMOS transistor is controlled by the data wrote to
data register, PA. “ 1” is for enable and “ 0” is for disable. Above
all, whole pull-up control is by PULL bit of PMCR. Refer to
FIGURE 10-1 for the block description.
Ver. 3.0
PORT
CONTROL
REGISTER
( PCR )
PORT
DATA
REGISTER
( PDR )
Address Name
$00F
Bit 7: PULL : Enable all pull-up function bit
Bit 6: PDBN : Enable Port-A interrupt de-bounce bit
Bit 5: INTEG : INTX interrupt edge option bit
Bit3: TEST : Test bit, must be “ 0”
PMCR
1 = Enable pull-up function
0 = Disable pull-up function
1 = De-bounce for Port-A interrupt
0 = No de-bounce for Port-A interrupt
1 = Rising edge
0 = Falling edge
DATA INPUT
R/W
R/W
PULL
Bit 7
RD_INPUT
TABLE 10-5 Port Function Control Register (PMCR)
PDBN
VCC
Bit 6
PULL-UP
PMOS
INTEG
Bit 5
13/57
Bit 4
-
TEST
Bit 3
FIGURE 10-1 Port-A Block Diagram
Bit 2
-
Bit 1
-
Bit 0
-
100 - 0- - -
Default
ST2064B
5/8/09

Related parts for st2064b