hit counter script

Port 1 - NEC V850ES/ST2 mPD703220 User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

4.3.2

Port 1

Port 1 is a 2-bit port for which I/O settings can be controlled in 1-bit units.
Port 1 includes the following alternate functions.
Pin Name
Pin No.
GC
P10
3
P11
4
GC: 120-pin plastic TQFP (fine pitch) (14 × 14)
Remark
GJ: 144-pin plastic LQFP (fine pitch) (20 × 20)
(1) Port 1 register (P1)
After reset: 00H (output latch)
P1
Caution Do not read from or write to the P1 register during D/A conversion.
(2) Port 1 mode register (PM1)
After reset: FFH
PM1
PM1n
Caution When using P10 and P11 as alternate functions (ANO0, ANO1), set them to FFH at
once.
CHAPTER 4 PORT FUNCTIONS
Table 4-5. Port 1 Alternate-Function Pins
Alternate Function
GJ
3
ANO0
4
ANO1
R/W
0
0
0
P1n
Output data control (in output mode) (n = 0, 1)
0
Outputs 0
1
Outputs 1
R/W
Address: FFFFF422H
1
1
1
0
Output mode
1
Input mode
User's Manual U17031EJ2V0UD
I/O
Remark
Output
Output
Address: FFFFF402H
0
0
0
1
1
1
I/O mode control (n = 0, 1)
Block Type
A-2
A-2
P11
P10
PM11
PM10
71

Advertisement

Table of Contents
loading

Table of Contents