参数资料
型号: R5F211A4DD
元件分类: 微控制器/微处理器
英文描述: 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PDIP20
封装: 6.30 X 19 MM, 1.78 MM PITCH, PLASTIC, SDIP-20
文件页数: 275/339页
文件大小: 3220K
代理商: R5F211A4DD
第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页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页第208页第209页第210页第211页第212页第213页第214页第215页第216页第217页第218页第219页第220页第221页第222页第223页第224页第225页第226页第227页第228页第229页第230页第231页第232页第233页第234页第235页第236页第237页第238页第239页第240页第241页第242页第243页第244页第245页第246页第247页第248页第249页第250页第251页第252页第253页第254页第255页第256页第257页第258页第259页第260页第261页第262页第263页第264页第265页第266页第267页第268页第269页第270页第271页第272页第273页第274页当前第275页第276页第277页第278页第279页第280页第281页第282页第283页第284页第285页第286页第287页第288页第289页第290页第291页第292页第293页第294页第295页第296页第297页第298页第299页第300页第301页第302页第303页第304页第305页第306页第307页第308页第309页第310页第311页第312页第313页第314页第315页第316页第317页第318页第319页第320页第321页第322页第323页第324页第325页第326页第327页第328页第329页第330页第331页第332页第333页第334页第335页第336页第337页第338页第339页
R8C/1A Group, R8C/1B Group
5. Programmable I/O Ports
Rev.1.30
Dec 08, 2006
Page 24 of 315
REJ09B0252-0130
5.
Programmable I/O Ports
There are 13 programmable Input/Output ports (I/O ports) P1, P3_3 to P3_5, P3_7, and P4_5. 4_2 can be used as an
input-only port. Also, P4_6 and P4_7 can be used as input-only ports if the main clock oscillation circuit is not used.
NOTES:
1. In input mode, whether an internal pull-up resistor is connected or not can be selected by registers PUR0 and
PUR1.
2. These ports 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, P4_6 and P4_7 can be used as input -only ports.
5.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 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 states. Figures 5.1 to 5.3 show the
Configurations of Programmable I/O Ports.
NOTE:
1. Nothing is assigned to bits PD3_0 to PD3_2, PD3_6, PD4_0 to PD4_4, PD4_6, and PD4_7.
5.2
Effect on Peripheral Functions
Programmable I/O ports function as I/O ports for peripheral functions (Refer to Table 1.6 Pin Name Information
Functioning as I/O Ports for Peripheral Functions. Refer to the description of each function for information on how
to set peripheral functions.
5.3
Pins Other than Programmable I/O Ports
Table 5.1
Overview of Programmable I/O Ports
Ports
I/O
Type of Output
I/O Setting
Internal Pull-Up
Resistor
Drive Capacity
Selection
P1
I/O
CMOS3 state
Set per 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 per bit
Set every bit(1)
None
P3_4, P3_5, P3_7
I/O
CMOS3 state
Set per bit
Set every 3 bits(1)
None
P4_2, P4_6, P4_7(3)
I
(No output function)
None
Table 5.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 to the
port latch is output from the pin.
Table 5.3
Settings of PDi_j Bit when Functioning as I/O Ports for Peripheral Functions
I/O of Peripheral Functions
PDi_j Bit Settings for Shared Pin Functions
Input
Set this bit to 0 (input mode).
Output
This bit can be set to either 0 or 1 (output regardless of the port setting).
相关PDF资料
PDF描述
R5F211A4DXXXSP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PDSO20
R5F211A4XXXDD 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PDIP20
R5F211B1SP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PDSO20
R5F211B2XXXDD 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PDIP20
R5F211A3XXXNP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQCC28
相关代理商/技术参数
参数描述
R5F211A4DD#U0 制造商:Renesas Electronics Corporation 功能描述:MCU 16BIT R8C CISC 16KB FLASH 3.3V/5V 20PIN SDIP - Rail/Tube 制造商:Renesas Electronics Corporation 功能描述:MCU 16-bit R8C CISC 16KB Flash 3.3V/5V 20-Pin SDIP Tube
R5F211A4DD#V0 功能描述:IC R8C MCU FLASH 16K 20SDIP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:R8C/1x/1A 标准包装:250 系列:80C 核心处理器:8051 芯体尺寸:8-位 速度:16MHz 连通性:EBI/EMI,I²C,UART/USART 外围设备:POR,PWM,WDT 输入/输出数:40 程序存储器容量:- 程序存储器类型:ROMless EEPROM 大小:- RAM 容量:256 x 8 电压 - 电源 (Vcc/Vdd):4.5 V ~ 5.5 V 数据转换器:A/D 8x10b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:68-LCC(J 形引线) 包装:带卷 (TR)
R5F211A4DDD#U0 制造商:Renesas Electronics Corporation 功能描述:MCU 16BIT R8C CISC 16KB FLASH 3.3V/5V 20PIN SDIP - Rail/Tube
R5F211A4DSP 制造商:Renesas Electronics Corporation 功能描述:Micro,R8C/1A,ROM 16k FL,RAM 1k
R5F211A4DSP#U0 制造商:Renesas Electronics Corporation 功能描述:MCU 16-Bit R8C CISC 16KB Flash 3.3V/5V 20-Pin LSSOP Tube 制造商:Renesas Electronics Corporation 功能描述:MCU 16BIT R8C CISC 16KB FLASH 3.3V/5V 20PIN LSSOP - Rail/Tube 制造商:Renesas Electronics 功能描述:M16C 20MHz 制造商:Renesas Electronics Corporation 功能描述:IC R8C MCU FLASH 20LSSOP 制造商:Renesas 功能描述:MCU 16-Bit R8C CISC 16KB Flash 3.3V/5V 20-Pin LSSOP Tube