UPD78F0535GB(T)-UEU-A NEC, UPD78F0535GB(T)-UEU-A Datasheet - Page 116
UPD78F0535GB(T)-UEU-A
Manufacturer Part Number
UPD78F0535GB(T)-UEU-A
Description
8BIT MCU, 60K FLASH, 3KB RAM, LQFP
Manufacturer
NEC
Datasheet
1.UPD78F0535GBT-UEU-A.pdf
(773 pages)
Specifications of UPD78F0535GB(T)-UEU-A
Controller Family/series
UPD78
No. Of I/o's
55
Ram Memory Size
3KB
Cpu Speed
20MHz
No. Of Timers
8
No. Of Pwm
RoHS Compliant
Core Size
8bit
Program Memory Size
60KB
Oscillator Type
External, Internal
- Current page: 116 of 773
- Download datasheet (6Mb)
5.2.3 Port 2
using port mode register 2 (PM2).
configuration register (ADPC) and in the input mode by using PM2. Use these pins starting from the lower bit.
output mode by using PM2.
116
Caution Make the AV
Port 2 is an 8-bit I/O port with an output latch. Port 2 can be set to the input mode or output mode in 1-bit units
This port can also be used for A/D converter analog input.
To use P20/ANI0 to P27/ANI7 as digital input pins, set them in the digital I/O mode by using the A/D port
To use P20/ANI0 to P27/ANI7 as digital output pins, set them in the digital I/O mode by using ADPC and in the
All P20/ANI0 to P27/ANI7 are set in the analog input mode when the reset signal is generated.
Figure 5-13 shows a block diagram of port 2.
Digital I/O selection
Analog input selection
P2:
PM2:
RD:
WR××: Write signal
WR
WR
RD
ADPC
PORT
PM
Port register 2
Port mode register 2
Read signal
REF
Table 5-4. Setting Functions of P20/ANI0 to P27/ANI7 Pins
PM20 to PM27
pin the same potential as the V
(P20 to P27)
Output latch
Input mode
Output mode
Input mode
Output mode
PM2
P2
Figure 5-13. Block Diagram of P20 to P27
PM2
CHAPTER 5 PORT FUNCTIONS
A/D converter
User’s Manual U17260EJ6V0UD
Selects ANI.
Does not select ANI.
Selects ANI.
Does not select ANI.
ADS
DD
−
−
pin when port 2 is used as a digital port.
Digital input
Digital output
Analog input (to be converted)
Analog input (not to be converted)
Setting prohibited
P20/ANI0 to P27/ANI7 Pin
P20/ANI0 to
P27/ANI7
Related parts for UPD78F0535GB(T)-UEU-A
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
16/8 bit single-chip microcomputer
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Dual audio power amp circuit
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Dual comparator
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
MOS type composite field effect transistor
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
50 V/100 mA FET array incorporating 2 N-ch MOSFETs
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
6-pin small MM high-frequency double transistor
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
6-pin small MM high-frequency double transistor
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
6-pin small MM high-frequency double transistor
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
6-pin small MM high-frequency double transistor
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Twin transistors equipped with different model chips(6P small MM)
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Bipolar analog integrated circuit
Manufacturer:
NEC
Datasheet: