M37754 Mitsubishi, M37754 Datasheet - Page 24

no-image

M37754

Manufacturer Part Number
M37754
Description
SINGLE-CHIP 16BIT CMOS MICROCOMPUTER
Manufacturer
Mitsubishi
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M37754S4CGP
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
bit is “0”, “L” is output from TAi
4 is “0”, TAi
Pulse output function
When bit 2 of the timer Ai mode register is “1”, the output is gener-
ated from TAi
the counter reaches to 0000
When bit 2 is “0”, TAi
Gate function
When bit 4 is “1”, counting is performed only while the input signal
from the TAi
can be used to measure the pulse width of the TAi
Whether to count while the input signal is “H” or while it is “L” is de-
termined by bit 3. If bit 3 is “1”, counting is performed while the TAi
pin input signal is “H” and if bit 3 is “0”, counting is performed while it
is “L”.
Fig. 18 Timer Ai mode register bit configuration during timer mode
24
Note: When selecting no gate function (bit 4 = “0”) in timer mode, fix bit 5 to “0”.
IN
IN
OUT
can be used as a normal port pin.
pin is “H” or “L” as shown in Figure 20. Therefore, this
pin. The output is toggled each time the contents of
OUT
can be used as a normal port pin. When bit
7
16
. When the contents of the count start
OUT
6
pin.
5
4
3
2
IN
M37754M8C-XXXGP, M37754M8C-XXXHP
input signal.
1
0
0
0
IN
0 0 : Always “00” in timer mode
0
1 0 : Count only while TAi
1 1 : Count only while TAi
Clock source select bit
0 0 : Select Pf
0 1 : Select Pf
1 0 : Select Pf
1 1 : Select Pf
0 : No pulse output (TAi
1 : Pulse output
0 : Gate function 0 (No reload)
1 : Gate function 1 (Reload) ; Note
: No gate function (TAi
When bit 5 is “0, counting restarts from the value which is contained
at restarting (gate function 0 [no reload]) and an overflow occurs (n +
1) cycles of the count source later. Figure 21 shows that operation.
When bit 5 is “1”, counting restarts from the value which is obtained
by reload at restarting (gate function 1 [reload]) and the first overflow
occurs (n + 2) cycles of the count source later. Figure 22 shows that
operation. After that, while the input signal from the TAi
valid level, an overflow occurs at (n + 1)- cycle intervals. Make sure
to set the value of 1 or more to n.
When gate functions are used, the duration of “H” or “L” on the TAi
pin must be 2 or more cycles of the timer count source.
Timer A0 mode register
Timer A1 mode register
Timer A2 mode register
Timer A3 mode register
Timer A4 mode register
M37754S4CGP, M37754S4CHP
2
16
64
512
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
OUT
IN
IN
IN
input is “L”
input is “H”
is normal port pin)
is normal port pin)
MITSUBISHI MICROCOMPUTERS
Addresses
5A
56
57
58
59
16
16
16
16
16
IN
pin keeps
IN

Related parts for M37754