UPD78F0537DGA(T)-9EV-A NEC, UPD78F0537DGA(T)-9EV-A Datasheet - Page 116

no-image

UPD78F0537DGA(T)-9EV-A

Manufacturer Part Number
UPD78F0537DGA(T)-9EV-A
Description
8BIT MCU, 128K FLASH, 7KB RAM, SMD
Manufacturer
NEC
Datasheet

Specifications of UPD78F0537DGA(T)-9EV-A

Controller Family/series
UPD78
No. Of I/o's
55
Ram Memory Size
7KB
Cpu Speed
20MHz
No. Of Timers
8
No. Of Pwm
RoHS Compliant
Core Size
8bit
Program Memory Size
128KB
Oscillator Type
External, Internal
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 UPD78F0537DGA(T)-9EV-A