Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

M32C/86 Datasheet(PDF) 389 Page - Renesas Technology Corp

Part # M32C/86
Description  RENESAS 16/32-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M32C/80 SERIES
PDF  505 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

M32C/86 Datasheet(HTML) 389 Page - Renesas Technology Corp

Back Button M32C/86 Datasheet HTML 385Page - Renesas Technology Corp M32C/86 Datasheet HTML 386Page - Renesas Technology Corp M32C/86 Datasheet HTML 387Page - Renesas Technology Corp M32C/86 Datasheet HTML 388Page - Renesas Technology Corp M32C/86 Datasheet HTML 389Page - Renesas Technology Corp M32C/86 Datasheet HTML 390Page - Renesas Technology Corp M32C/86 Datasheet HTML 391Page - Renesas Technology Corp M32C/86 Datasheet HTML 392Page - Renesas Technology Corp M32C/86 Datasheet HTML 393Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 389 / 505 page
background image
Page 366
9
7
4
f
o
5
0
0
2
,
8
0
.
p
e
S
0
0
.
1
.
v
e
R
0
0
1
0
-
4
0
2
0
B
9
0
J
E
R
24. Programmable I/O Ports
)
T
6
8
/
C
2
3
M
,
6
8
/
C
2
3
M
(
p
u
o
r
G
6
8
/
C
2
3
M
24. Programmable I/O Ports
123 programmable I/O ports from P0 to P15 (excluding P85) are available. The direction registers deter-
mine each port status, input or output. The pull-up control registers determine whether the ports, divided
into groups of four ports, are pulled up or not. P85 is an input port and no pull-up for this port is allowed. The
______
______
P8_5 bit in the P8 register indicates an NMI input level since P85 shares pins with NMI.
Figures 24.1 to 24.4 show programmable I/O port configurations.
Each pin functions as the programmable I/O port, an I/O pin for internal peripheral functions or the bus
control pin.
To use the pins as input or output pins for internal peripheral functions, refer to the explanations for each
fuction. Refer to 8. Bus when used as the bus control pin.
The registers associated with the programmable I/O ports are as follows.
24.1 Port Pi Direction Register (PDi Register, i=0 to 15)
Figure 24.5 shows the PDi register.
The PDi register selects input or output status of a programmable I/O port. Each bit in the PDi register
corresponds to a port.
In memory expansion and microprocessor mode, the PDi register cannot control pins being used as bus
_____
_______
_______
_______
_____
________ _______
_____
_________
control pins (A0 to A22, A23, D0 to D15, CS0 to CS3, WRL/WR, WRH/BHE, RD, BCLK/ALE/CLKOUT, HLDA/
_________
_______
ALE, HOLD, ALE and RDY). No bit controlling P85 is provided in the direction registers.
24.2 Port Pi Register (Pi Register, i=0 to 15)
Figure 24.6 shows the Pi register.
The Pi register writes and reads data to communicate with external devices. The Pi register consists of a
port latch to hold output data and a circuit to read pin states. Each bit in the Pi register corresponds to a port.
In memory expansion and microprocessor mode, the Pi register cannot control pins being used as bus
_____
_______
_______
_______
_____
________ _______
_____
_________
control pins (A0 to A22, A23, D0 to D15, CS0 to CS3, WRL/WR, WRH/BHE, RD, BCLK/ALE/CLKOUT, HLDA/
_________
_______
ALE, HOLD, ALE and RDY).
24.3 Function Select Register Aj (PSj Register) (j=0 to 3, 5 to 9)
Figures 24.7 to 24.11 show the PSj registers.
The PSj register selects either I/O port or peripheral function output if an I/O port shares pins with a periph-
eral function output (excluding DA0 and DA1.)
When multiple peripheral function outputs are assigned to a pin, set the PSL0 to PSL3, PSL6, PSL7, PSC,
PSC2, PSC3 and PSD1 registers to select which function is used.
Tables 24.3 to 24.12 list peripheral function output control settings for each pin.
24.4 Function Select Register Bk (PSLk Registers) (k=0 to 3, 6, 7)
Figures 24.12 to 24.14 show the PSLk registers.
When multiple peripheral function outputs are assigned to a pin, the PSLk registers select which peripheral
function output is used.
Refer to 24.10 Analog Input and Other Peripheral Function Input for the PSL3_6 to PSL3_3 bits in the
PSL3 register.



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