參數(shù)資料
型號(hào): M34509G4HFP
元件分類(lèi): 微控制器/微處理器
英文描述: 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PDSO24
封裝: 5.30 X 10.10 MM, 0.80 MM PITCH, PLASTIC, SSOP-24
文件頁(yè)數(shù): 72/145頁(yè)
文件大?。?/td> 1060K
代理商: M34509G4HFP
第1頁(yè)第2頁(yè)第3頁(yè)第4頁(yè)第5頁(yè)第6頁(yè)第7頁(yè)第8頁(yè)第9頁(yè)第10頁(yè)第11頁(yè)第12頁(yè)第13頁(yè)第14頁(yè)第15頁(yè)第16頁(yè)第17頁(yè)第18頁(yè)第19頁(yè)第20頁(yè)第21頁(yè)第22頁(yè)第23頁(yè)第24頁(yè)第25頁(yè)第26頁(yè)第27頁(yè)第28頁(yè)第29頁(yè)第30頁(yè)第31頁(yè)第32頁(yè)第33頁(yè)第34頁(yè)第35頁(yè)第36頁(yè)第37頁(yè)第38頁(yè)第39頁(yè)第40頁(yè)第41頁(yè)第42頁(yè)第43頁(yè)第44頁(yè)第45頁(yè)第46頁(yè)第47頁(yè)第48頁(yè)第49頁(yè)第50頁(yè)第51頁(yè)第52頁(yè)第53頁(yè)第54頁(yè)第55頁(yè)第56頁(yè)第57頁(yè)第58頁(yè)第59頁(yè)第60頁(yè)第61頁(yè)第62頁(yè)第63頁(yè)第64頁(yè)第65頁(yè)第66頁(yè)第67頁(yè)第68頁(yè)第69頁(yè)第70頁(yè)第71頁(yè)當(dāng)前第72頁(yè)第73頁(yè)第74頁(yè)第75頁(yè)第76頁(yè)第77頁(yè)第78頁(yè)第79頁(yè)第80頁(yè)第81頁(yè)第82頁(yè)第83頁(yè)第84頁(yè)第85頁(yè)第86頁(yè)第87頁(yè)第88頁(yè)第89頁(yè)第90頁(yè)第91頁(yè)第92頁(yè)第93頁(yè)第94頁(yè)第95頁(yè)第96頁(yè)第97頁(yè)第98頁(yè)第99頁(yè)第100頁(yè)第101頁(yè)第102頁(yè)第103頁(yè)第104頁(yè)第105頁(yè)第106頁(yè)第107頁(yè)第108頁(yè)第109頁(yè)第110頁(yè)第111頁(yè)第112頁(yè)第113頁(yè)第114頁(yè)第115頁(yè)第116頁(yè)第117頁(yè)第118頁(yè)第119頁(yè)第120頁(yè)第121頁(yè)第122頁(yè)第123頁(yè)第124頁(yè)第125頁(yè)第126頁(yè)第127頁(yè)第128頁(yè)第129頁(yè)第130頁(yè)第131頁(yè)第132頁(yè)第133頁(yè)第134頁(yè)第135頁(yè)第136頁(yè)第137頁(yè)第138頁(yè)第139頁(yè)第140頁(yè)第141頁(yè)第142頁(yè)第143頁(yè)第144頁(yè)第145頁(yè)
Rev.1.03
2009.07.27
page 30 of 140
REJ03B0147-0103
4509 Group
(1) Timer control registers
Timer control register PA
Register PA controls the count operation of prescaler. Set the con-
tents of this register through register A with the TPAA instruction.
Timer control register W1
Register W1 controls the count operation and count source of
timer 1, and PWM1 function. Set the contents of this register
through register A with the TW1A instruction. The TAW1 instruction
can be used to transfer the contents of register W1 to register A.
Timer control register W2
Register W2 controls the count operation and count source of
timer 2, and PWM2 function. Set the contents of this register
through register A with the TW2A instruction. The TAW2 instruction
can be used to transfer the contents of register W2 to register A.
Timer control register W5
Register W5 controls the input count edge of CNTR0 pin, timer 1
count start synchronous circuit, timer 1 auto-stop circuit and P12/
CNTR0 pin function. Set the contents of this register through reg-
ister A with the TW5A instruction. The TAW5 instruction can be
used to transfer the contents of register W5 to register A.
Timer control register W6
Register W6 controls the input count edge of CNTR1 pin, the INT
pin input count start synchronous circuit and CNTR1 pin output
auto-control circuit and the P11/CNTR1 pin function. Set the con-
tents of this register through register A with the TW6A instruction.
The TAW6 instruction can be used to transfer the contents of reg-
ister W6 to register A.
(2) Prescaler
Prescaler is an 8-bit binary down counter with the prescaler reload
register RPS. Data can be set simultaneously in prescaler and the
reload register RPS with the TPSAB instruction. Data can be read
from reload register RPS with the TABPS instruction.
Stop counting and then execute the TPSAB or TABPS instruction to
read or set prescaler data.
Prescaler starts counting after the following process;
set data in prescaler, and
set the bit 0 of register PA to “1.”
When a value set in reload register RPS is n, prescaler divides the
count source signal by n + 1 (n = 0 to 255).
Count source for prescaler is the instruction clock (INSTCK).
Once count is started, when prescaler underflows (the next count
pulse is input after the contents of prescaler becomes “0”), new data
is loaded from reload register RPS, and count continues (auto-reload
function).
The output signal (ORCLK) of prescaler can be used for timer 1 and
2 count sources.
(3) Timer 1 (interrupt function)
Timer 1 is an 8-bit binary down counter with two timer 1 reload regis-
ters (R1L, R1H). Data can be set simultaneously in timer 1 and the
reload register R1L with the T1AB instruction. Data can be set in the
reload register R1H with the T1HAB instruction. The contents of re-
load register R1L set with the T1AB instruction can be set to timer 1
again with the T1R1L instruction. Data can be read from timer 1 with
the TAB1 instruction.
Stop counting and then execute the T1AB or TAB1 instruction to
read or set timer 1 data.
When executing the T1HAB instruction to set data to reload register
R1H while timer 1 is operating, avoid a timing when timer 1
underflows.
Timer 1 starts counting after the following process;
set data in timer 1
set count source by bits 0 and 1 of register W1, and
set the bit 2 of register W1 to “1.”
When a value set in reload register R1L is n and a value set in re-
load register R1H is m, timer 1 divides the count source signal by n
+ 1 or m + 1 (n = 0 to 255, m = 0 to 255).
<Bit 3 of register W1 = “0” (PWM1 function invalid)>
Once count is started, when timer 1 underflows (the next count pulse
is input after the contents of timer 1 becomes “0”), the timer 1 inter-
rupt request flag (T1F) is set to “1,” new data is loaded from reload
register R1L, and count continues (auto-reload function).
<Bit 3 of register W1 = “1” (PWM1 function valid)>
Timer 1 generates the PWM1 signal of the “L” interval set as reload
register R1L, and the “H” interval set as reload register R1H. The
PWM1 signal generated by timer 1 is output from CNTR0 pin by set-
ting “1” to bit 3 of register W5.
After timer 1 control by INT pin is enabled by setting the bit 0 of reg-
ister I1 to “1”, INT pin input can be used as the start trigger for timer
1 count operation by setting the bit 1 of register W5 to “1”.
Also, in this time, the auto-stop function by timer 1 underflow can be
performed by setting the bit 2 of register W5 to “1.”
相關(guān)PDF資料
PDF描述
M34509G4-XXXFP 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PDSO24
M34509G4H-XXXFP 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PDSO24
M34510M4A-XXXSP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDIP32
M34510M2A-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO36
M34510E8-XXXFP 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PDSO36
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M34509G4H-XXXFP 制造商:RENESAS 制造商全稱(chēng):Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34509G4-XXXFP 制造商:RENESAS 制造商全稱(chēng):Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34509T2-CPE 功能描述:DEV TOOL COMPACT EMULATOR: 4508/ RoHS:否 類(lèi)別:編程器,開(kāi)發(fā)系統(tǒng) >> 內(nèi)電路編程器、仿真器以及調(diào)試器 系列:- 產(chǎn)品變化通告:Development Systems Discontinuation 19/Jul/2010 標(biāo)準(zhǔn)包裝:1 系列:* 類(lèi)型:* 適用于相關(guān)產(chǎn)品:* 所含物品:*
M34512M2 制造商:MITSUBISHI 制造商全稱(chēng):Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34512M2-XXXFP 制造商:MITSUBISHI 制造商全稱(chēng):Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER