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

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

Related parts for M30622MA-XXXFP