參數資料
型號: R5F21123DFP
元件分類: 微控制器/微處理器
英文描述: 16-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP32
封裝: 7 X 7 MM, 0.80 MM PITCH, PLASTIC, LQFP-32
文件頁數: 189/198頁
文件大小: 1809K
代理商: R5F21123DFP
第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頁
R8C/12 Group
Rev.1.20
Jan 27, 2006
page 80 of 181
REJ09B0110-0120
12.3.3 Programmable One-shot Generation Mode
In this mode, upon program command or external trigger input (input to the INT0 pin), the microcom-
puter outputs the one-shot pulse from the TZOUT pin (see “Table 12.11 Programmable One-shot
Generation Mode Specifications”). When a trigger occurs, the timer starts operating from the point
only once for a given period equal to the set value in the TZPR register. The TZSC is unused in this
mode. Figure 12.24 shows the TYZMR register and PUM register in this mode. Figure 12.25 shows
an operation example in this mode.
Item
Specification
Count source
f1, f2, f8, Timer Y underflow
Count operation
Downcounts set value in TZPR register
When the timer underflows, it reloads the contents of reload register before completing
counting.
When a count stops, the timer reloads the contents of the reload register before it stops.
Divide ratio
(n+1)(m+1)/fi
n: set value in PREZ register, m: set value in TZPR register
Count start condition
Set TZOS bit in TYZOC register to “1” (start one-shot)(1)
Input active trigger to INT0 pin(2)
Count stop condition
When reloading is completed after count value was set to "0016"
When TZS bit in TYZMR register is set to “0” (stop counting)
When TZOS bit in TYZOC register is set to “0” (stop one-shot)
Interrupt request generation timing In half cycles of count source, after the timer underflows (at the same time as the TZout
output ends) [Timer Z interrupt]
TZOUT pin function
Pulse output
Use timer mode when using this pin as a programmable I/O port.
_______
INT0 pin function
Programmable I/O port, external interrupt input pin, or external trigger input pin
_______
When the INOSTG bit in the PUM register is set to “0” (INT0 one-shot trigger disabled)
_______
Programmable I/O port or INT0 interrupt input
_______
When the INOSTG bit in the PUM register is set to “1” (INT0 one-shot trigger enabled)
_______
external trigger (INT0 interrupt input)
Read from timer
Count value can be read out by reading TZPR register.
Same applies to PREZ register.
Write to timer
Value written to TZPR register is written to reload register only(3).
Same applies to PREZ register.
Select function
Output level latch select function
Output level for one-shot pulse waveform is selected by TZOPL bit.
_______
INT0 pin one-shot trigger control function and polarity select function
_______
Trigger input from INT0 pin can be set to active or inactive by INOSTG bit. Also, an
active trigger's polarity can be selected by INOSEG bit.
NOTES:
1. The TZS bit in the TYZMR register must be set to "1" (start counting).
_______
2. The TZS bit must be set to "1" (start counting), the INT0EN bit in the INTEN register to "1" (enabling INT0 input), and
_______
the INOSTG bit in the PUM register to "1" (enabling INT0 one-shot trigger).
_______
Although the trigger input during counting cannot be acknowledged, the INT0 interrupt request is generated.
3. The set values are reflected beginning with the next one-shot pulse after writing to the TZPR register.
Table 12.11 Programmable One-shot Generation Mode Specifications
12.3 Timer (Timer Z)
相關PDF資料
PDF描述
R5F21123FP 16-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP32
R5F21152SP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PDSO20
R5F21152DSP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PDSO20
R5F21143DSP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PDSO20
R5F21142DSP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PDSO20
相關代理商/技術參數
參數描述
R5F21123DFP#U0 制造商:Renesas Electronics Corporation 功能描述:MCU 16-Bit R8C CISC 12KB Flash 3.3V/5V 32-Pin LQFP Tray 制造商:Renesas Electronics Corporation 功能描述:MCU 16BIT R8C CISC 12KB FLASH 3.3V/5V 32LQFP - Trays
R5F21123DFP#V0 功能描述:IC R8C MCU FLASH 32LQFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:R8C/1x/12 標準包裝: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)
R5F21123FP 制造商:Renesas Electronics Corporation 功能描述:MCU 16BIT R8C CISC 12KB FLASH 3.3V/5V 32LQFP - Trays 制造商:Renesas Electronics Corporation 功能描述:16BIT MCU FLASH SMD 21123 LQFP32
R5F21123FP#U0 制造商:Renesas Electronics Corporation 功能描述:MCU 16-Bit R8C CISC 12KB Flash 3.3V/5V 32-Pin LQFP Tray 制造商:Renesas Electronics Corporation 功能描述:MCU 16BIT R8C CISC 12KB FLASH 3.3V/5V 32LQFP - Trays
R5F21123FP#V0 功能描述:IC R8C MCU FLASH 12K 32LQFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:R8C/1x/12 標準包裝: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)