參數(shù)資料
型號: M38037M6-XXXFP
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機
文件頁數(shù): 44/135頁
文件大小: 2055K
代理商: M38037M6-XXXFP
44
3803/3804 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
(6) Programmable waveform generating mode
G
Mode selection
This mode can be selected by setting
100
to the timer Z operat-
ing mode bits (bits 2 to 0) and setting
0
to the timer/event
counter mode switch bit (b7) of the timer Z mode register (address
002A
16
).
G
Count source selection
In high- or middle-speed mode, 1/2, 1/4, 1/8, 1/16, 1/32, 1/64,
1/128, 1/256, 1/512 or 1/1024 of f(X
IN
); or f(X
CIN
) can be selected
as the count source.
In low-speed mode, 1/2, 1/4, 1/8, 1/16, 1/32, 1/64, 1/128, 1/256, 1/
512 or 1/1024 of f(X
CIN
); or f(X
CIN
) can be selected as the count
source.
G
Interrupt
The interrupt at an underflow is the same as the timer mode
s.
G
Explanation of operation
The operation is the same as the timer mode
s. Moreover the
timer outputs the data set in the output level latch (bit 4) of the
timer Z mode register (address 002A
16
) from the CNTR
2
pin each
time the timer underflows.
Changing the value of the output level latch and the timer latch af-
ter an underflow makes it possible to output an optional waveform
from the CNTR
2
pin.
I
Precautions
Set the double-function port of CNTR
2
pin and port P4
7
to output
in this mode.
Figure 38 shows the timing chart of the programmable waveform
generating mode.
(7) Programmable one-shot generating mode
G
Mode selection
This mode can be selected by setting
101
to the timer Z operat-
ing mode bits (bits 2 to 0) and setting
0
to the timer/event
counter mode switch bit (b7) of the timer Z mode register (address
002A
16
).
G
Count source selection
In high- or middle-speed mode, 1/2, 1/4, 1/8, 1/16, 1/32, 1/64, 1/
128, 1/256, 1/512 or 1/1024 of f(X
IN
); or f(X
CIN
) can be selected as
the count source.
G
Interrupt
The interrupt at an underflow is the same as the timer mode
s.
The trigger to generate one-shot pulse can be selected by the
INT
1
active edge selection bit (bit 1) of the interrupt edge selection
register (address 003A
16
). When it is
0
, the falling edge active is
selected; when it is
1
, the rising edge active is selected.
When the valid edge of the INT
1
pin is detected, the INT
1
interrupt
request bit (bit 1) of the interrupt request register 1 (address
003C
16
) is set to
1
.
G
Explanation of operation
H
one-shot pulse; Bit 5 of timer Z mode register =
0
[During timer operation stop]
The output level of CNTR
2
pin is initialized to
L
at mode selec-
tion. Set the one-shot pulse width to the registers of timer Z
low-order and high-order.
Trigger generating during timer stop (input signal to INT
1
pin) is in-
valid.
[During timer operation enabled]
When trigger generating is detected,
H
is output from the CNTR
2
pin. When an underflow occurs,
L
is output.
L
one-shot pulse; Bit 5 of timer Z mode register =
1
[During timer operation stop]
The output level of CNTR
2
pin is initialized to
H
at mode selec-
tion. Set the one-shot pulse width to the registers of timer Z
low-order and high-order.
Trigger generating during timer stop (input signal to INT
1
pin) is in-
valid.
[During timer operation enabled]
When trigger generating is detected,
L
is output from the CNTR
2
pin. When an underflow occurs,
H
is output.
I
Precautions
Set the double-function port of CNTR
2
pin and port P4
7
to output,
and of INT
1
pin and port P4
2
to input in this mode.
This mode cannot be used in low-speed mode.
If the value of the CNTR
2
active edge switch bit is changed during
one-shot generating enabled or generating one-shot pulse, then
the output level from CNTR
2
pin changes.
Figure 39 shows the timing chart of the programmable one-shot
generating mode.
I
Notes regarding all modes
G
Timer Z write control
Which write control can be selected by the timer Z write control bit
(bit 3) of the timer Z mode register (address 002A
16
), writing data
to both the latch and the timer at the same time or writing data
only to the latch.
When the operation
writing data only to the latch
is selected, the
value is set to the timer latch by writing data to the address of
timer Z and the timer is updated at next underflow. After reset re-
lease, the operation
writing data to both the latch and the timer at
the same time
is selected, and the value is set to both the latch
and the timer at the same time by writing data to the address of
timer Z.
In the case of writing data only to the latch, if writing data to the
latch and an underflow are performed almost at the same time,
the timer value may become undefined.
G
Timer Z read control
A read-out of timer value is impossible in pulse period measure-
ment mode and pulse width measurement mode. In the other
modes, a read-out of timer value is possible regardless of count
operating or stopped.
However, a read-out of timer latch value is impossible.
G
Switch of interrupt active edge of CNTR
2
and INT
1
Each interrupt active edge depends on setting of the CNTR
2
ac-
tive edge switch bit and the INT
1
active edge selection bit.
G
Switch of count source
When switching the count source by the timer Z count source se-
lection bits, the value of timer count is altered in inconsiderable
amount owing to generating of thin pulses on the count input sig-
nals.
Therefore, select the timer count source before setting the value
to the prescaler and the timer.
相關(guān)PDF資料
PDF描述
M38037M8-XXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38047M8-XXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38037M8-XXXHP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38037M8-XXXSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M3803 Single Chip 8 Bits Microcomputer(8位單片機)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38037M8108F 制造商:Panasonic Industrial Company 功能描述:IC
M38037M8H-194HP#U0 制造商:Renesas Electronics Corporation 功能描述:8BIT CISC - Trays
M38039FFHFP#U0 功能描述:IC 740 MCU FLASH 60K 64QFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 產(chǎn)品培訓模塊:CAN Basics Part-1 CAN Basics Part-2 Electromagnetic Noise Reduction Techniques Part 1 M16C Product Overview Part 1 M16C Product Overview Part 2 標準包裝:1 系列:M16C™ M32C/80/87 核心處理器:M32C/80 芯體尺寸:16/32-位 速度:32MHz 連通性:EBI/EMI,I²C,IEBus,IrDA,SIO,UART/USART 外圍設(shè)備:DMA,POR,PWM,WDT 輸入/輸出數(shù):121 程序存儲器容量:384KB(384K x 8) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:24K x 8 電壓 - 電源 (Vcc/Vdd):3 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 34x10b,D/A 2x8b 振蕩器型:內(nèi)部 工作溫度:-20°C ~ 85°C 封裝/外殼:144-LQFP 包裝:托盤 產(chǎn)品目錄頁面:749 (CN2011-ZH PDF) 配用:R0K330879S001BE-ND - KIT DEV RSK M32C/87
M38039FFHHP 功能描述:MCU 3/5V 56K+4K 64-LQFP RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 標準包裝:250 系列:56F8xxx 核心處理器:56800E 芯體尺寸:16-位 速度:60MHz 連通性:CAN,SCI,SPI 外圍設(shè)備:POR,PWM,溫度傳感器,WDT 輸入/輸出數(shù):21 程序存儲器容量:40KB(20K x 16) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:6K x 16 電壓 - 電源 (Vcc/Vdd):2.25 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 6x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:48-LQFP 包裝:托盤 配用:MC56F8323EVME-ND - BOARD EVALUATION MC56F8323
M38039FFH-HP#U 制造商:Renesas Electronics Corporation 功能描述:8BIT 740 CISC 56KB FLASH 16.8MHZ 3.3/5V - Trays