參數(shù)資料
型號: M38B57M6-166FP
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機
文件頁數(shù): 22/69頁
文件大?。?/td> 1011K
代理商: M38B57M6-166FP
MITSUBISHI MICROCOMPUTERS
38B5 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
22
PRELIMINARY
Notice: This s not a final specification.
Some parametric imits are subject to change.
16-Bit Timer
Timer X is a 16-bit timer that can be selected in one of four modes by
the Timer X mode register 1, 2 and can be controlled the timer X
write and the real time port by setting the timer X mode registers.
Read and write operation on 16-bit timer must be performed for both
high- and low-order bytes. When reading a 16-bit timer, read from
the high-order byte first. When writing to 16-bit timer, write to the low-
order byte first. The 16-bit timer cannot perform the correct operation
when reading during write operation, or when writing during read
operation.
G
Timer X
Timer X is a down-counter. When the timer reaches “0000
16
,” an
underflow occurs with the next count pulse. Then the contents of the
timer latch is reloaded into the timer and the timer continues down-
counting. When a timer underflows, the interrupt request bit corre-
sponding to that timer is set to “1.”
(1) Timer mode
A count source can be selected by setting the Timer X count source
selection bits (bits 1 and 2) of the Timer X mode register 1.
(2) Pulse output mode
Each time the timer underflows, a signal output from the CNTR
2
pin
is inverted. Except for this, the operation in pulse output mode is the
same as in timer mode. When using a timer in this mode, set the port
shared with the CNTR
2
pin to output.
(3) Event counter mode
The timer counts signals input through the CNTR
2
pin. Except for
this, the operation in event counter mode is the same as in timer
mode. When using a timer in this mode, set the port shared with the
CNTR
2
pin to input.
(4) Pulse width measurement mode
A count source can be selected by setting the Timer X count source
selection bits (bits 1 and 2) of the Timer X mode register 1. When
CNTR
2
active edge switch bit is “0,” the timer counts while the input
signal of the CNTR
2
pin is at “H.” When it is “1,” the timer counts
while the input signal of the CNTR
2
pin is at “L.” When using a timer
in this mode, set the port shared with the CNTR
2
pin to input.
I
Note
Timer X Write Control
If the timer X write control bit is “0,” when the value is written in the
address of timer X, the value is loaded in the timer X and the latch at
the same time.
If the timer X write control bit is “1,” when the value is written in the
address of timer X, the value is loaded only in the latch. The value in
the latch is loaded in timer X after timer X underflows.
When the value is written in latch only, unexpected value may be set
in the high-order counter if the writing in high-order latch and the
underflow of timer X are performed at the same timing.
Real Time Port Control
While the real time port function is valid, data for the real time port
are output from ports P8
5
and P8
6
each time the timer X underflows.
(However, if the real time port control bit is changed from “0” to “1,”
data are output without the timer X.) When the data for the real time
port is changed while the real time port function is valid, the changed
data are output at the next underflow of timer X.
Before using this function, set the corresponding port direction regis-
ters to output mode.
相關(guān)PDF資料
PDF描述
M38B5 Single Chip 8 Bits Microcomputer(8位單片機)
M38B59MFH-A126FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B59MFH-E107FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B59MFH-E110FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B59MFH-E111FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38B57M6XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B57M6-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES
M38B57M6XXXFS 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B57M7XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B57M7XXXFS 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER