参数资料
型号: R5F21276SDXXXFP
元件分类: 微控制器/微处理器
英文描述: 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP32
封装: 7 X 7 MM, 0.80 MM PITCH, PLASTIC, LQFP-32
文件页数: 41/52页
文件大小: 620K
代理商: R5F21276SDXXXFP
63
ATmega165A/PA/325A/PA/3250A/PA/645A/P/6450A/P [DATASHEET]
8285E–AVR–02/2013
Switching between input with pull-up and output low generates the same problem. The user must use either the tri-
state ({DDxn, PORTxn} = 0b00) or the output high state ({DDxn, PORTxn} = 0b11) as an intermediate step.
Table 14-1 on page 63 summarizes the control signals for the pin value.
14.2.4
Reading the pin value
Independent of the setting of Data Direction bit DDxn, the port pin can be read through the PINxn Register bit. As
shown in Figure 14-2, the PINxn Register bit and the preceding latch constitute a synchronizer. This is needed to
avoid metastability if the physical pin changes value near the edge of the internal clock, but it also introduces a
delay. Figure 14-3 shows a timing diagram of the synchronization when reading an externally applied pin value.
The maximum and minimum propagation delays are denoted t
pd,max and tpd,min respectively.
Figure 14-3. Synchronization when reading an externally applied pin value.
Consider the clock period starting shortly after the first falling edge of the system clock. The latch is closed when
the clock is low, and goes transparent when the clock is high, as indicated by the shaded region of the “SYNC
LATCH” signal. The signal value is latched when the system clock goes low. It is clocked into the PINxn Register at
the succeeding positive clock edge. As indicated by the two arrows tpd,max and tpd,min, a single signal transition
on the pin will be delayed between and 1 system clock period depending upon the time of assertion.
When reading back a software assigned pin value, a nop instruction must be inserted as indicated in Figure 14-4
on page 64. The out instruction sets the “SYNC LATCH” signal at the positive edge of the clock. In this case, the
delay tpd through the synchronizer is one system clock period.
Table 14-1.
Port pin configurations.
DDxn
PORTxn
PUD
(in MCUCR)
I/O
Pull-up
Comment
0
X
Input
No
Tri-state (Hi-Z)
0
1
0
Input
Yes
Pxn will source current if ext. pulled low.
0
1
Input
No
Tri-state (Hi-Z)
1
0
X
Output
No
Output Low (Sink)
1
X
Output
No
Output High (Source)
XXX
in r17, PINx
0x00
0xFF
INSTRUCTIONS
SYNC LATCH
PINxn
r17
XXX
SYSTEM CLK
t
pd, max
t pd, min
相关PDF资料
PDF描述
R5F21276KFP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP32
R5F21274SDFP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP32
R5F21274SNFP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP32
R5F21274KXXXFP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP32
R5F21262SDXXXFP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP32
相关代理商/技术参数
参数描述
R5F21276SNFP 制造商:Renesas Electronics 功能描述:16 R8C/2x 20MHz 32LQFP 32KB Tray 制造商:Renesas Electronics Corporation 功能描述:Microcontroller,R8C/27,ROM34K
R5F21276SNFP#U0 制造商:Renesas Electronics Corporation 功能描述:MCU 16-Bit R8C CISC 32KB Flash 3.3V/5V 32-Pin LQFP Tray 制造商:Renesas Electronics Corporation 功能描述:MCU 16BIT R8C CISC 32KB FLASH 3.3V/5V 32LQFP - Trays 制造商:Renesas Electronics 功能描述:16 R8C / Tiny 20MHz 32LQFP Bulk 制造商:Renesas Electronics Corporation 功能描述:IC R8C/27 MCU FLASH 32LQFP 制造商:Renesas Electronics Corporation 功能描述:IC MCU 16BIT R8C/27 32LQFP 制造商:Renesas Electronics Corporation 功能描述:IC, MCU, 16BIT, R8C/27, 32LQFP 制造商:Renesas Electronics Corporation 功能描述:R8C Series 16 bit 1.5 kB RAM 32 kB Flash Single Chip Microcontroller SMT-LQFP-32 制造商:Renesas Electronics Corporation 功能描述:IC 16BIT MCU M16C/R8C/TINY 20MHZ LQFP-32; Controller Family/Series:R8C/2x; Core Size:16bit; No. of I/O's:25; Supply Voltage Min:3V; Supply Voltage Max:5.5V; Digital IC Case Style:LQFP; No. of Pins:32; Program Memory Size:32KB ;RoHS Compliant: Yes 制造商:Renesas 功能描述:MCU 16-Bit R8C CISC 32KB Flash 3.3V/5V 32-Pin LQFP Tray
R5F21276SNFP#V2 功能描述:IC R8C/27 MCU FLASH 32LQFP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:R8C/2x/27 标准包装: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)
R5F21276SNFP#W4 功能描述:MCU 32KB ROM 1.5KB RAM 32-LQFP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:R8C/2x/27 标准包装:300 系列:78K0R/Ix3 核心处理器:78K/0R 芯体尺寸:16-位 速度:40MHz 连通性:3 线 SIO,I²C,LIN,UART/USART 外围设备:DMA,LVD,POR,PWM,WDT 输入/输出数:27 程序存储器容量:16KB(16K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:1K x 8 电压 - 电源 (Vcc/Vdd):2.7 V ~ 5.5 V 数据转换器:A/D 8x10b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:38-SSOP 包装:托盘
R5F21276SNFP#W6 制造商:Renesas Electronics Corporation 功能描述: