參數(shù)資料
型號(hào): M38002E4DFP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP64
封裝: 14 X 14 MM, PLASTIC, QFP-64
文件頁數(shù): 135/173頁
文件大小: 4203K
代理商: M38002E4DFP
2-16
3800 GROUP USER’S MANUAL
APPLICATION
2.2 Timer
Fig. 2.2.15 Setting of related registers [Piezoelectric buzzer output]
Control procedure :
Figure 2.2.16 shows a control procedure.
Fig. 2.2.16 Control procedure [Piezoelectric buzzer output]
0
63
TX
Timer X (Address : 2516)
Set “division ratio – 1”
01
0
CNTR0 active edge switch bit : Output from the “H” level
Timer X count stop bit : Count stop
Set to “0” at starting to count.
Timer X operating mode bits : Pulse output mode
TM
Timer XY mode register (Address : 2316)
b7
b0
1
b7
b0
PREX
Prescaler X (Address : 2416)
b7
b0
Initialization
P5
P5D
ICON1
TM
TX
PREX
....
0
XXXX10012
64 – 1
1 – 1
(Address : 0A16), bit4
(Address : 0B16)
(Address : 3E16), bit4
(Address : 2316)
(Address : 2516)
(Address : 2416)
A piezoelectric buzzer
is requested?
RESET
Y
N
Main processing
TM (Address : 2316 ), bit3
0
During stopping outputting a piezoelectric buzzer
During outputting a piezoelectric buzzer
Output unit
q
TM (Address : 2316),
TX (Address : 2516)
64 –1
X : This bit is not used in this application.
Set it to “0” or “1.” It’s value can be disregarded.
q
Timer X interrupts : Disabled
The CNTR0 output is stopped at this point (stop
outputting a piezoelectric buzzer).
Set “division ratio – 1” to the Prescaler X and
Timer X.
q
The piezoelectric buzzer request occured in the
main processing is processed in the output unit.
1
XXX1XXXX2
bit3
1
相關(guān)PDF資料
PDF描述
M38002M2-XXXSP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP64
M38002M2DXXXFP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
M38002SSP 8-BIT, 8 MHz, MICROCONTROLLER, PDIP64
M38004E8-XXXFP 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP64
M38004M8DXXXFP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38002E4-DXXXSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES
M38002E4FP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38002E4FS 制造商:Mitsubishi Electric 功能描述:8-BIT, UVPROM, 8 MHz, MICROCONTROLLER, CQCC64
M38002E4SP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38002E4SS 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER