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

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
Figure 2.2.23. Set-up procedure of one-shot mode, external trigger selected
b7
(b15)
Setting count start flag
Setting event/trigger select bit
Setting clock prescaler reset flag
(This function is effective when f
Clearing timer Ai interrupt request bit
Setting one-shot timer's time
b7
b7
b7
Note: Set the corresponding port direction register to “0”.
b7
b7
Selecting one-shot timer mode and functions
0
1
0
1
1
1
b0
b0
b0
b0
b0
(b8)
0
b0
Timer A0 event/trigger select bit
b7 b6
Trigger select bit
0 (Must always be “0” in one-shot timer mode)
Count source select bit
0 0 : Input on TA0
b7
Timer A0 count start flag
Timer A1 count start flag
Timer A2 count start flag
Timer A3 count start flag
Timer A4 count start flag
Selection of one-shot timer mode
Pulse output function select bit
External trigger select bit
Clock prescaler reset flag [Address 0381
CPSRF
Clock prescaler reset flag
Count start flag [Address 0380
TABSR
Timer Ai interrupt control register [Address 0055
TAiIC (i=0 to 4)
One-shot start flag [Address 0382
ONSF
Interrupt request bit
1 : Selected by event/trigger select register
1 : Pulse is output
1 : Rising edge of TAi
b7 b6
0 0 : f
0 1 : f
1 0 : f
1 1 : f
0 : No effect
1 : Prescaler is reset (When read, the value is “0”)
Timer Ai mode register (i=0 to 4) [Address 0396
TAiMR (i=0 to 4)
C32
1
8
32
C32
is selected as the count source. Reset the prescaler for generating f
Can be set to 0001
IN
is selected (Note)
IN
Refer to 'Precaution for Timer A (one shot timer mode)'
pin's input signal
b0
16
16
Timer A0 register [Address 0387
Timer A1 register [Address 0389
Timer A2 register [Address 038B
Timer A3 register [Address 038D
Timer A4 register [Address 038F
to FFFF
]
Start count
b7 b6
0
0
1
1
16
]
0
0
1
1
16
b7
16
source
Count
]
f
f
f
f
1
8
C32
32
16
16
to 0059
f(X
to 039A
IN
) : 16MH
Count source period
16
16
]
976.56µs
]
Z
62.5ns
500ns
16
16
16
b0
16
16
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
f(Xc
2µs
, 0386
, 0388
, 038E
, 038A
, 038C
Timer A1 event/trigger select bit
Timer A2 event/trigger select bit
Timer A3 event/trigger select bit
Timer A4 event/trigger select bit
b5 b4
b7 b6
IN
b1 b0
b3 b2
Trigger select register [Address 0383
TRGSR
0 0 :
0 0 :
0 0 :
0 0 :
) : 32.768kH
16
16
16
16
16
C32
Input on TA1
Input on TA2
Input on TA3
Input on TA4
] TA0
] TA1
] TA2
] TA4
] TA3
by dividing the X
Z
IN
IN
IN
IN
is selected (Note)
is selected (Note)
is selected (Note)
is selected (Note)
Mitsubishi microcomputers
CIN
M16C / 62 Group
by 32.)
16
]
303

Related parts for M30622MA-XXXFP