UPD78F9222CS-CAC-A Renesas Electronics America, UPD78F9222CS-CAC-A Datasheet - Page 172

no-image

UPD78F9222CS-CAC-A

Manufacturer Part Number
UPD78F9222CS-CAC-A
Description
MCU 8BIT 4KB FLASH 20PIN
Manufacturer
Renesas Electronics America
Series
78K0S/Kx1+r
Datasheet

Specifications of UPD78F9222CS-CAC-A

Core Processor
78K0S
Core Size
8-Bit
Speed
10MHz
Connectivity
LIN, UART/USART
Peripherals
LVD, POR, PWM, WDT
Number Of I /o
15
Program Memory Size
4KB (4K x 8)
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
(4) 8-bit A/D conversion result register (ADCRH)
(5) Port mode control register 2 (PMC2) and port mode register 2 (PM2)
170
Address: FF84H
Address: FF22H
Symbol
Symbol
PMC2
PM2
This register is an 8-bit register that stores the A/D conversion result. It stores the higher 8 bits of a 10-bit
resolution result.
ADCRH can be read by an 8-bit memory manipulation instruction.
Reset signal generation makes ADCRH undefined.
When using the P20/ANI0 to P23/ANI3 pins for analog input, set PMC20 to PMC23 and PM20 to PM23 to 1. At
this time, the output latches of P20 to P23 may be 0 or 1.
PMC2 and PM2 are set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears PMC2 to 00H and sets PM2 to FFH.
Caution When PMC20 to PMC23 are set to 1, the P20/ANI0 to P23/ANI3 pins cannot be used as port
PMC2n
PM2n
7
0
0
1
7
1
0
1
Address: FF1AH
ADCRH
Symbol
After reset: 00H
After reset: FFH
pins. Be sure to set the pull-up resistor option registers (PU20 to PU23) to 0 for the pins
set to A/D converter mode.
Figure 10-7. Format of 8-bit A/D Conversion Result Register (ADCRH)
Port mode
A/D converter mode
Output mode (output buffer on)
Input mode (output buffer off)
Figure 10-8. Format of Port Mode Control Register 2 (PMC2)
6
0
6
1
7
Figure 10-9. Format of Port Mode Register 2 (PM2)
After reset: Undefined
R/W
R/W
6
5
0
5
1
CHAPTER 10 A/D CONVERTER
User’s Manual U16898EJ6V0UD
5
Operation mode specification (n = 0 to 3)
P2n pin I/O mode selection (n = 0 to 3)
4
0
4
1
R
4
PMC23
PM23
3
3
3
2
PMC22
PM22
2
2
1
PMC21
PM21
1
1
0
PMC20
PM20
0
0

Related parts for UPD78F9222CS-CAC-A