st2024c Sitronix Technology Corporation, st2024c Datasheet - Page 13

no-image

st2024c

Manufacturer Part Number
st2024c
Description
24k 8-bit Single Chip Microcontroller
Manufacturer
Sitronix Technology Corporation
Datasheet
10.2 PORT-A
Port- A is a bit-programmable bi-direction I/O port, which is
controlled by PCA register. It provides user with bit
10.2.2 PORT-A I/O control
Direction of Port-A is controlled by PCA. Every bit of
PCA[7~0] is mapped to the I/O direction of PA[7~0]
Ver 2.2
Address Name
Address Name
$03C
$03E
$000
$008
$00F
$008
Bit 7~0:
PA
PCA
PMCR
IREQ
IENA
PCA
1 = Output mode
0 = Input
PCA[7~0] : Port-A directional bits
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
mode
TABLE 10-7: SUMMARY FOR PORT-A REGISTERS
PCA[7]
PCA[7]
TABLE 10-8: PORT-A CONTROL REGISTER (PCA)
PULL
Bit 7
PA[7]
Bit 7
-
-
PCA[6]
PCA[6]
PDBN
PA[6]
Bit 6
Bit 6
-
-
PCA[5]
PCA[5]
INTEG
PA[5]
Bit 5
Bit 5
IRBT
IEBT
13/54
PCA[4]
PCA[4]
PA[4]
Bit 4
Bit 4
IRPT
IEPT
programmable pull-up MOS, interrupt debounce and
interrupt edge selection(PA0 only).
correspondingly, with “1” for output mode, and “0” for input
mode.
-
PCA[3]
PCA[3]
Bit 3
PA[3]
Bit 3
IRT1
IET1
-
PCA[2]
PCA[2]
Bit 2
PA[2]
Bit 2
-
-
-
PCA[1]
IRDAC
PCA[1]
IEDAC
PSG0
PA[1]
Bit 1
Bit 1
PCA[0]
PCA[0]
PSGB
PA[0]
Bit 0
Bit 0
IRX
IEX
100 - - -00
1111 1111
0000 0000
0000 0000
- - 11 1-11
- - 00 0-00
ST2024C
Default
Default
1/31/08

Related parts for st2024c