DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

M37510M1FP データシートの表示(PDF) - MITSUBISHI ELECTRIC

部品番号
コンポーネント説明
メーカー
M37510M1FP
Mitsubishi
MITSUBISHI ELECTRIC  Mitsubishi
M37510M1FP Datasheet PDF : 43 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
MITSUBISHI MICROCOMPUTERS
7510 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
responding to that timer is set to “1”.
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
the high-order byte first. When writing to a 16-bit timer, write the
low-order byte first. The 16-bit timer cannot perform the correct op-
eration when reading during the write operation, or when writing
during the read operation.
Timer X
Timer X is a 16-bit timer that can be selected in one of four modes
and can be controlled the timer X write by setting the timer X
mode register.
Timer mode
The timer counts f(XIN)/16 (or f(XCIN)/16, if the selected system
clock φ is f(XCIN)/2).
Pulse output mode
Each time the timer underflows, a signal output from the CNTR0
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 corresponding port P42 direction register to output mode.
Event counter mode
The timer counts signals input through the CNTR0 pin. Except for
this, the operation in event counter mode is the same as in timer
mode.
Pulse width measurement mode
The count source is f(XIN)/16 (or f(XCIN)/16, if the selected system
clock φ is f(XCIN)/2). If CNTR0 active edge selection bit is “0”, the
timer counts while the input signal of CNTR0 pin is at “H”. If it is
“1”, the timer counts while the input signal of CNTR0 pin is at “L”.
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.
If the value is written in latch only, unexpected value may be set in
the high-order counter when the writing in high-order latch and the
underflow of timer X are performed at the same timing.
Note on CNTR0 Interrupt Active Edge
Selection
CNTR0 interrupt active edge depends on the CNTR0 active edge
selection bit.
b7
b0
Timer X mode register
(TXM : address 002716)
Timer X write control bit
0 : Write data in latch and timer
1 : Write data in latch only
Not used (Always write “0” )
Timer X operation mode bits
b5 b4
0 0 : Timer mode
0 1 : Pulse output mode
1 0 : Event counter mode
1 1 : Pulse width measurement mode
CNTR0 active edge selection bit
0 : Count at rising edge in event counter mode
Start from “H” output in pulse output mode
Measure “H” pulse width in pulse width
measurement mode
Falling edge active for CNTR0 interrupt
1 : Count at falling edge in event counter mode
Start from “L” output in pulse output mode
Measure “L” pulse width in pulse width
measurement mode
Rising edge active for CNTR0 interrupt
Timer X stop control bit
0 : Count start
1 : Count stop
Fig. 10 Structure of timer X mode register
15

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]