Electronic Components Datasheet Search
  English  ▼

X  

R8C/15 Datasheet(PDF) 191 Page - Renesas Technology Corp

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

R8C/15 Datasheet(HTML) 191 Page - Renesas Technology Corp

Back Button R8C/15 Datasheet HTML 187Page - Renesas Technology Corp R8C/15 Datasheet HTML 188Page - Renesas Technology Corp R8C/15 Datasheet HTML 189Page - Renesas Technology Corp R8C/15 Datasheet HTML 190Page - Renesas Technology Corp R8C/15 Datasheet HTML 191Page - Renesas Technology Corp R8C/15 Datasheet HTML 192Page - Renesas Technology Corp R8C/15 Datasheet HTML 193Page - Renesas Technology Corp R8C/15 Datasheet HTML 194Page - Renesas Technology Corp R8C/15 Datasheet HTML 195Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 191 / 277 page
background image
R8C/14 Group, R8C/15 Group
17. Programmable I/O Ports
Rev.2.10
Jan 19, 2006
Page 179 of 253
REJ09B0164-0210
17. Programmable I/O Ports
Programmable Input/Output ports (hereafter referred to as “I/O ports”) have 13 ports of the P1, P3_3 to
P3_5, P3_7, and P4_5. Also, the main clock oscillation circuit is not used, the P4_6 and P4_7 can be used
as the input port only. Table 17.1 lists the Overview of Programmable I/O Ports.
NOTES:
1. In input mode, whether the internal pull-up resistor is connected or not can be selected by the PUR0
and PUR1 registers.
2. This port can be used as the LED drive port by setting the DRR register to “1” (High).
3. When the main clock oscillation circuit is not used, these ports can be used as the input port only.
17.1
Functions of Programmable I/O Ports
The PDi_j (j=0 to 7) bit in the PDi (i=1,3 and 4) register controls I/O of the ports P1, P3_3 to P3_5, P3_7
and P4_5. The Pi register consists of a port latch to hold output data and a circuit to read pin state.
Figures 17.1 to 17.3 show the Configurations of Programmable I/O Ports.
Table 17.2 lists the Functions of Programmable I/O Ports. Also, Figure 17.5 shows the PD1, PD3 and
PD4 Registers. Figure 17.6 shows the P1, P3 and P4 Registers, Figure 17.7 shows the PUR0 and PUR1
Registers and Figure 17.8 shows the DRR Register.
NOTES:
1. Nothing is assigned to the PD3_0 to PD3_2, PD3_6, PD4_0 to PD4_4, PD4_6 and PD4_7 bits.
17.2
Effect on Peripheral Functions
Programmable I/O ports function as I/O of peripheral functions (Refer to Table 1.6 Pin Name Information
by Pin Number). Table 17.3 lists the Setting of PDi_j Bit When Functioning as I/O of Peripheral
Functions. Refer to descriptions of each function for how to set peripheral functions.
17.3
Pins Other than Programmable I/O Ports
Figure 17.4 shows the Configuration of I/O Pins.
Table 17.1
Overview of Programmable I/O Ports
Ports
I/O
Output Form
I/O Setting
Internal Pull-Up
Resistor
Drive Capacity
Selection
P1
I/O
CMOS3 State
Set every bit Set every 4 bits(1) Set every bit(2)
of P1_0 to P1_3
P3_3, P4_5
I/O
CMOS3 State
Set every bit Set every bit(1)
None
P3_4, P3_5, P3_7
I/O
CMOS3 State
Set every bit Set every 3 bits(1) None
P4_6, P4_7(3)
I
(Without output function)
None
None
None
Table 17.2
Functions of Programmable I/O Ports
Operation When
Accessing
Pi Register
Value of PDi_j Bit in PDi Register(1)
When PDi_j bit is set to “0” (input mode)
When PDi_j bit is set to “1” (output mode)
Reading
Read pin input level
Read the port latch
Writing
Write to the port latch
Write to the port latch. The value written in
the port latch, it is output from the pin.
Table 17.3
Setting of PDi_j Bit When Functioning as I/O of Peripheral Functions
I/O of Peripheral Functions
PDi_j Bit Setting of Port shared with Pin
Input
Set this bit to “0” (input mode).
Output
This bit can be set to both “0” and “1” (output regardless of the port 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