Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HD64F2145 Datasheet(PDF) 203 Page - Renesas Technology Corp

Part # HD64F2145
Description  Hitachi 16-Bit Single-Chip Microcomputer
PDF  829 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

HD64F2145 Datasheet(HTML) 203 Page - Renesas Technology Corp

Back Button HD64F2145 Datasheet HTML 199Page - Renesas Technology Corp HD64F2145 Datasheet HTML 200Page - Renesas Technology Corp HD64F2145 Datasheet HTML 201Page - Renesas Technology Corp HD64F2145 Datasheet HTML 202Page - Renesas Technology Corp HD64F2145 Datasheet HTML 203Page - Renesas Technology Corp HD64F2145 Datasheet HTML 204Page - Renesas Technology Corp HD64F2145 Datasheet HTML 205Page - Renesas Technology Corp HD64F2145 Datasheet HTML 206Page - Renesas Technology Corp HD64F2145 Datasheet HTML 207Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 203 / 829 page
background image
Rev. 2.0, 08/02, page 163 of 788
8.3
Port 2
Port 2 is an 8-bit I/O port. Port 2 pins also function as address bus output function, 8-bit PWM
output pins, and the timer connection output pin. Port 2 functions change according to the
operating mode. Port 2 has an on-chip input pull-up MOS function that can be controlled by
software. Port 2 has the following registers.
• Port 2 data direction register (P2DDR)
• Port 2 data register (P2DR)
• Port 2 pull-up MOS control register (P2PCR)
8.3.1
Port 2 Data Direction Register (P2DDR)
P2DDR specifies input or output for the pins of port 2 on a bit-by-bit basis.
Bit
Bit Name
Initial Value
R/W
Description
7
P27DDR
0
W
6
P26DDR
0
W
5
P25DDR
0
W
4
P24DDR
0
W
3
P23DDR
0
W
2
P22DDR
0
W
1
P21DDR
0
W
0
P20DDR
0
W
In Mode 1:
The corresponding port 2 pins are address outputs,
regardless of the P2DDR setting.
Modes 2 and 3 (EXPE = 1):
The corresponding port 2 pins are address outputs
or PWM outputs when P2DDR bits are set to 1,
and input ports when cleared to 0. P27 to P24 are
switched from address outputs to output ports by
setting the IOSE bit to 1.
P27 can be used as an on-chip peripheral module
output pin regardless of the P27DDR setting, but to
ensure normal access to external space, P27
should not be set as an on-chip peripheral module
output pin when port 2 pins are used as address
output pins.
Modes 2 and 3 (EXPE = 0):
The corresponding port 2 pins are output ports or
PWM outputs when P2DDR bits are set to 1, and
input ports when cleared to 0.
P27 can be used as an on-chip peripheral module
output pin regardless of the P27DDR setting.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com