參數(shù)資料
型號(hào): UPD70F3261YGF-JBT-A
元件分類: 微控制器/微處理器
英文描述: 32-BIT, FLASH, 32 MHz, MICROCONTROLLER, PQFP100
封裝: 14 X 20 MM, PLASTIC, QFP-100
文件頁數(shù): 120/129頁
文件大小: 8549K
代理商: UPD70F3261YGF-JBT-A
CHAPTER 3 CPU FUNCTION
User’s Manual U16541EJ5V1UD
90
(1) Setting data to special registers
Set data to the special registers in the following sequence.
<1>
Disable DMA operation.
<2>
Prepare data to be set to the special register in a general-purpose register.
<3>
Write the data prepared in <2> to the PRCMD register.
<4>
Write the setting data to the special register (by using the following instructions).
Store instruction (ST/SST instruction)
Bit manipulation instruction (SET1/CLR1/NOT1 instruction)
(<5> to <9> Insert NOP instructions (5 instructions).)
Note
<10>
Enable DMA operation if necessary.
[Example] With PSC register (setting standby mode)
ST.B r11, PSMR[r0]
;
Set PSMR register (setting IDLE1, IDLE2, and STOP modes).
<1>CLR1 0, DCHCn[r0]
;
Disable DMA operation. n = 0 to 3
<2>MOV0x02, r10
<3>ST.B r10, PRCMD[r0] ;
Write PRCMD register.
<4>ST.B r10, PSC[r0]
;
Set PSC register.
<5>NOP
Note
;
Dummy instruction
<6>NOP
Note
;
Dummy instruction
<7>NOP
Note
;
Dummy instruction
<8>NOP
Note
;
Dummy instruction
<9>NOP
Note
;
Dummy instruction
<10>SET1 0, DCHCn[r0]
;
Enable DMA operation. n = 0 to 3
(next instruction)
There is no special sequence to read a special register.
Note Five NOP instructions or more must be inserted immediately after setting the IDLE1 mode, IDLE2
mode, or STOP mode (by setting the PSC.STP bit to 1).
Cautions 1. When a store instruction is executed to store data in the command register, interrupts are
not acknowledged. This is because it is assumed that steps <3> and <4> above are
performed by successive store instructions. If another instruction is placed between <3>
and <4>, and if an interrupt is acknowledged by that instruction, the above sequence may
not be established, causing malfunction.
2. Although dummy data is written to the PRCMD register, use the same general-purpose
register used to set the special register (<4> in Example) to write data to the PRCMD
register (<3> in Example). The same applies when a general-purpose register is used for
addressing.
相關(guān)PDF資料
PDF描述
UPD780031AYCW(A)-XXX 8-BIT, MROM, 8.38 MHz, MICROCONTROLLER, PDIP64
UPD780123GB(A1)-XXX-8ET 8-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP52
UPD780146GC-XXX-8BT 8-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP80
UPD784216AGC-XXX-8EU 16-BIT, MROM, 12.5 MHz, MICROCONTROLLER, PQFP100
UPD789304GK-XXX-9ET 8-BIT, MROM, 5 MHz, MICROCONTROLLER, PQFP64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
UPD70F3263GC-8EA-A 制造商:Renesas Electronics Corporation 功能描述:
UPD70F3263HYGC-8EA-A 制造商:Renesas Electronics Corporation 功能描述:
UPD70F3264YGJ-UEN-A 制造商:Renesas Electronics Corporation 功能描述:
UPD70F3266YGJ-UEN-A 制造商:Renesas Electronics Corporation 功能描述:
UPD70F3281YGC-8EA-A 制造商:Renesas Electronics Corporation 功能描述: