M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 107

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Timer A
92
Table 1.17.4. Timer specifications in one-shot timer mode
Figure 1.17.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.17.4.) When a trigger occurs, the timer starts up
and continues operating for a given period. Figure 1.17.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
to 039A
16
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
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 : One-shot start flag is valid
1 : Selected by event/trigger select
b7 b6
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)
16
Mitsubishi microcomputers
M16C / 62 Group
R
W

Related parts for M30622MA-XXXFP