M30622SAFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30622SAFP Datasheet - Page 85

no-image

M30622SAFP

Manufacturer Part Number
M30622SAFP
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M30622SAFP
Manufacturer:
AVAGO
Quantity:
18
Part Number:
M30622SAFP
Manufacturer:
MITSUBISHI
Quantity:
852
Part Number:
M30622SAFP
Manufacturer:
MITSUBISHI
Quantity:
20 000
Part Number:
M30622SAFP#U5
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Timer A
Table 1.14.4. Timer specifications in one-shot timer mode
Figure 1.14.10. Timer Ai mode register in one-shot timer mode
(3) One-shot timer mode
Count source
Count operation
Divide ratio
Count start condition
Count stop condition
Interrupt request generation timing
TAi
TAi
Read from timer
Write to timer
In this mode, the timer operates only once. (See Table 1.14.4.) When a trigger occurs, the timer starts up
and continues operating for a given period. Figure 1.14.10 shows the timer Ai mode register in one-shot
timer mode.
IN
OUT
pin function
pin function
Item
Timer Ai mode register
b7
b6
0
b5
b4
b3
b2
b1
1 0
f
• The timer counts down
• When the count reaches 0000
• If a trigger occurs when counting, the timer reloads a new count and restarts counting
1/n
• An external trigger is input
• The timer overflows
• The one-shot start flag is set (= 1)
• A new count is reloaded after the count has reached 0000
• The count start flag is reset (= 0)
The count reaches 0000
Programmable I/O port or trigger input
Programmable I/O port or pulse output
When timer Ai register is read, it indicates an indeterminate value
• When counting in progress
1
• When counting stopped
b0
, f
When a value is written to timer Ai register, it is written to both reload
register and counter
When a value is written to timer Ai register, it is written to only reload register
(Transferred to counter at next reload time)
Note 1: The settings of the corresponding port register and port direction register are invalid.
Note 2: Valid only when the TA
Note 3: Set the corresponding port direction register to “0”.
8
Bit symbol
, f
TMOD0
TMOD1
TCK0
TCK1
MR0
MR1
MR2
MR3
32
Symbol
TAiMR(i = 0 to 4) 0396
n : Set value
(addresses 0382
, f
C32
External trigger select
bit (Note 2)
Count source select bit
Operation mode select bit
Pulse output function
select bit
Trigger select bit
0 (Must always be “0” in one-shot timer mode)
Bit name
16
and 0383
Address
16
iIN
16
to 039A
pin is selected by the event/trigger select bit
16
16
). If timer overflow is selected, this bit can be “1” or “0”.
, the timer stops counting after reloading a new count
Specification
16
b1 b0
0 : One-shot start flag is valid
1 : Selected by event/trigger select
b7 b6
1 0 : One-shot timer mode
0 : Pulse is not output
1 : Pulse is output (Note 1)
0 : Falling edge of TAi
1 : Rising edge of TAi
0 0 : f
0 1 : f
1 0 : f
1 1 : f
When reset
(TA
(TAi
register
00
1
8
32
C32
iOUT
OUT
16
pin is a normal port pin)
pin is a pulse output pin)
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Function
IN
IN
pin's input signal (Note 3)
pin's input signal (Note 3)
M16C / 62A Group
16
Mitsubishi microcomputers
R
W
85

Related parts for M30622SAFP