English
Language : 

W78C354 Datasheet, PDF (16/44 Pages) Winbond – MONITOR MICROCONTROLLER
W78C354
To use the alternate function H-clamp pulse (SOA output) of P1.4 (P1.5), bit P14SF (P15SF) of the
SFR CONTREG4 must be set to "1" and a "0" must be written to P1.4 (P1.5).
CONDITION OF P14SF
PORT 1.4 I/O PIN
FUNCTION
CONDITION OF P14SF
PORT 1.5 I/O PIN
FUNCTION
P14SF = 0
General I/O pin
P15SF = 0
General output pin
P14SF = 1 & P1.4 = 0 Hclamp pulse output P15SF = 1 & P1.5 = 0 SOA output
E-2 Port 2
Port 2.0−2.2 are used for general purpose I/O functions only, whereas 2.3−2.7 have alternate
functions, as shown below. In the 40-pin and 48-pin DIP packages, SDAC10−13 have no dedicated
output pins, but share pins with P2.4−P2.7. Each pin can be used as an I/O or SDAC output pin by bit-
addressing SFR CONTREG4. When a pin is used for a special function, the output source current is 4
mA. Otherwise, the source current is 100 µA.
PINS
SPECIAL
FUNCTION
SPECIAL FUNCTION
CONTROL BIT
DESCRIPTION
P2.0
-
-
-
P2.1
-
-
-
P2.2
-
-
-
P2.3
STP
P23SF
Self -test pattern output
P2.4
SDAC10
P24SF
SDAC10 PWM output
P2.5
SDAC11
P25SF
SDAC11 PWM output
P2.6
SDAC12
P26SF
SDAC12 PWM output
P2.7
SDAC13
P27SF
SDAC13 PWM output
Read
Latch
Int.Bus
Write to
Latch
Read
Pin
D
Q
CL
Q
Vcc
Internal
Pullup
P2.0 to P2.2
Figure 3-1. P2.0 to P2.2 architecture
- 16 -