st2024c Sitronix Technology Corporation, st2024c Datasheet - Page 19

no-image

st2024c

Manufacturer Part Number
st2024c
Description
24k 8-bit Single Chip Microcontroller
Manufacturer
Sitronix Technology Corporation
Datasheet
10.3.3 PORT-B PULL-UP OPTION
This port contains pull-up MOS transistors which is
controlled by software and can be enabled or disabled with
“1” or with “0” accordingly in data bit of the port data register
Ver 2.2
Address Name
$00F
Bit 7:
Bit 1:
Bit 0:
PMCR
PULL : Enable all pull-up functions bit
PSGO : PSG output enable bit
PSGOB : PSG inverse signal output enable bit
1 = Enable pull-up function
0 = Disable pull-up function
1 = PB1 is PSG data output pin if PB1 is set in output mode
0 = PB1 is normal I/O pin
1 = PB0 is PSG inverse data output pin if PB0 is set in output mode
0 = PB0 is normal I/O pin
R/W
R/W
TABLE 10-13: PORT CONDITION CONTROL REGISTER (PMCR)
FIGURE 10-4: Port-B Configuration Function Block Diagram
PULL-UP
PORT
CONTROL
REGISTER
( PCR )
PORT
DATA
REGISTER
( PDR )
PULL
Bit 7
PDBN
Bit 6
DATA INPUT
INTEG
Bit 5
19/54
Bit 4
(PB) when an I/O is used as an input. The PULL control bit
of PMCR also controls the ON/OFF of all pull-up MOS
simultaneously. Please refer to the Figure 9-4.
-
RD_INPUT
Bit 3
VCC
-
PULL-UP
PMOS
Bit 2
-
PSGO
Bit 1
PSGOB
Bit 0
100 - - -00
ST2024C
Default
1/31/08

Related parts for st2024c