參數(shù)資料
型號: M38073E4FP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP80
封裝: 0.80 MM PITCH, PLASTIC, QFP-80
文件頁數(shù): 25/74頁
文件大小: 1182K
代理商: M38073E4FP
31
3807 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
When the internal trigger is selected, a start trigger is generated by
an input signal of the INT4 pin. The start trigger becomes a falling
edge when the INT4 interrupt edge selection bit is "0" and a rising
edge when this bit is "1".
When the external trigger is selected in the one-shot pulse genera-
tion mode, the start trigger becomes a rising/falling double edge trig-
ger regardless of the contents of the INT4 interrupt edge selection
bit.
[Real time port registers] RTP
The data to be output to real time ports is written into 8 real time port
registers 0 to 7. The correspondence between each bit of real time
port registers and each port output is as follows :
P31: bit 7 of real time port registers 7 to 0
P30: bit 6 of real time port registers 7 to 0
P87: bit 5 of real time port registers 7 to 0
P86: bit 4 of real time port registers 7 to 0
P85: bit 3 of real time port registers 7 to 0
P84: bit 2 of real time port registers 7 to 0
P83: bit 1 of real time port registers 7 to 0
P82: bit 0 of real time port registers 7 to 0
It can be selected for each bit by real time port control register 3
whether the output of each port is to be used as an ordinary I/O port
or a real time port output.
[Real time port data pointer]
It can be optionally specified by the real time port data pointers A or
B and the real time port data pointer A or B switching bit in which real
time port register the output data is to be set or form which real time
port register the data output is to be started.
When writing output data into the real time port register, set the real
time port data pointer A, B switch bit to "0" (select the R/W pointer)
and also write a value into the 3 bits of the real time port data
pointers A, B. With this, the real time port register for writing will be
specified. After that, when a value is written into the real time port
register (address 002A16), the data is written into the specified real
time port register and also the R/W pointer value is automatically
decreased by 1. Then writing data is enabled into the next real time
port register.
A value of "0002" to "1112" can be set int the R/W pointer regardless
of the operating mode specified by the timer A, B operating mode
selection bit, and the R/W pointer value is automatically decreased
by 1 by writing data into the real time port register. However, when a
value becomes "0002", the R/W pointer value is decreased by 1 in
the numeral range of stages to be used in each operating mode un-
less the R/W pointer is set again at the subsequent write operation to
the real time port register. When "1112 (=7)" is set in the R/W pointer,
the R/W pointer operation in each selected mode is as follows :
During 8 repeated load mode 7¨6¨5¨4¨3¨2¨1¨0¨7¨6¨5...
During 6 repeated load mode 7¨6¨5¨4¨3¨2¨1¨0¨5¨4¨3...
During 5 repeated load mode 7¨6¨5¨4¨3¨2¨1¨0¨4¨3¨2....
During one-shot pulse generation mode
7¨6¨5¨4¨3¨2¨1¨0¨2¨1¨0....
When reading the real time port register, set the real time port data
pointer A, B switch bit to "0" (select the R/W pointer) and also writing
a value into the 3 bits of the real time port data pointer A, B to specify
the real time port register for reading. After that, the value of the
specified real time port register can be read by reading the real time
port register (address 002A16). In this care, however, the R/W pointer
value is not counted down automatically. Accordingly, to read an-
other real time port register, rewrite the R/W pointer beforehand.
To specify a read port register to be output to the real time output
port, set the real time port data pointer A, B switch bit to "1" (select an
output pointer) and also set a value in the 3 bits of the real time port
data pointer A or B.
When a start trigger is generated, data is output beginning with the
real time port register set in the output pointer and the output pointer
value is automatically decreased by 1.
At each underflow of the timer A or timer B, the output pointer value
is automatically decreased by 1. Regarding the case of the one-shot
pulse generation mode, however, refer to the item pertaining to the
one-shot pulse generation mode.
When the real time port data pointer A to B has been read, only the
output pointer can be read.
sNotes regarding all modes
When the trigger is generated again during timer count operation,
the operation is started from the beginning. In this case, put an
interval of 3 cycles or more between the generation of a trigger and
the generation of the next trigger, If the generation of the next trig-
ger occurs almost concurrently with the underflow timing of the timer,
the next real time output may not be performed normally.
To stop the timer count after generation of a start trigger, write "1" in
the timer A, B count source stop bit of real time port control register
0 at an interval of 3 cycles or more of the timer count source.
To change the contents of the real time port data pointer A, B switch
bit, the real time port data pointer must be specified simultaneously.
Therefore, use the LDM/STA instruction instead of the SEB/CLB
instruction.
If the timer A, B count source stop bit is changed ("1"¨"0") by a start
trigger between the read operation and the write operation of a
read-modify-write instruction such as the SEB instruction which is
used in real time port control register 0, the timer count will stop,
having an effect on the real time output.
An maximum interval of 2 cycles of the count source is required
before the timer A, B count source stop bit is cleared to "0" which
indicates the count operation state after a start trigger is generated
regardless of whether the start trigger is an internal trigger or an
external trigger.
Accordingly, do not use the read-modify-write instruction for real
time port control register 0 in this period. If a write operation for real
time port control register 0 with any purpose other than stopping
the timer count is performed concurrently with the generation of a
start trigger, be sure to use such an instruction for writing "0" into
the timer A, B count source stop bit as the LDM/STA instruction.
Even if "0" is written into the timer A, B count source stop bit, the
timer count remains in the stop state without change.
When the timing for writing to the high-order side reload latch is
almost equal to the underflow timing, an undesirable value may be
set in the timer A or timer B.
If the real time output port is selected by real time port control regis-
ter 3 after resetting, "L" is output from this pin until a start trigger is
generated.
相關(guān)PDF資料
PDF描述
M38073M4-XXXFP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP80
M38073E4-XXXFP 8-BIT, OTPROM, 4 MHz, MICROCONTROLLER, PQFP80
M38102E5SP 8-BIT, OTPROM, 4.19 MHz, MICROCONTROLLER, PDIP64
M38102E5SS 8-BIT, UVPROM, 4.19 MHz, MICROCONTROLLER, CDIP64
M38102E5-XXXSP 8-BIT, OTPROM, 4.19 MHz, MICROCONTROLLER, PDIP64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38078RFS 制造商:Renesas Electronics Corporation 功能描述:EMULATION MCU/8BIT CMOS EMULATION CHIP - Bulk
M3808 功能描述:電纜固定件和配件 LTRSCG 625 BLACK RoHS:否 制造商:Heyco 類型:Cable Grips, Liquid Tight 材料:Nylon 顏色:Black 安裝方法:Cable 最大光束直徑:11.4 mm 抗拉強(qiáng)度:
M3808 BK001 制造商:Alpha Wire Company 功能描述:CBL 10COND 18AWG BLK 1000'
M3808 BK002 制造商:Alpha Wire Company 功能描述:CBL 10COND 18AWG BLK 500'
M3808 BK005 制造商:Alpha Wire Company 功能描述:CBL 10COND 18AWG BLK 100'