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

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.27. Set-up procedure of pulse width modulation mode, 8-bit PWM mode selected
(b15)
Clearing timer Ai interrupt request bit
b7
Setting count start flag
Selecting PWM mode and function
b7
Setting event/trigger select bit
Setting PWM pulse's period and “H” level width
b7
b7
b7
Note 2: Set the corresponding port direction register to “0”.
Setting clock prescaler reset flag
(This function is effective when f
b7
1
1
0
0
1
1
b0
b0
b0
(b8)
b0
1
b0
b0
Timer A0 event/trigger select bit
1 (Must always be “1” in PWM mode)
Count source select bit
Selection of PWM mode
External trigger select bit
Trigger select bit
16/8-bit PWM mode select bit
b7 b6
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
b7
b7 b6
0 0 :
Count start flag [Address 0380
Timer Ai interrupt control register [Address 0055
TAiIC (i=0 to 4)
Interrupt request bit
1: Functions as an 8-bit pulse width modulator
0 0 : f
0 1 : f
1 0 : f
1 1 : f
One-shot start flag [Address 0382
ONSF
TABSR
0 : Falling edge of TAi
1 : Selected by event/trigger select register
Timer Ai mode register (i=0 to 4) [Address 0396
Clock prescaler reset flag [Address 0381
CPSRF
Clock prescaler reset flag
TAiMR (i=0 to 4)
0 : No effect
1 : Prescaler is reset (When read, the value is “0”)
C32
Input on TA0
1
8
32
C32
is selected as the count source. Reset the prescaler for generating f
IN
is selected (Note 2)
IN
Refer to 'Precaution for Timer A (pulse width modulation mode)'
Can be set to 00
Can be set to 00
pin's input signal (Note1)
b0
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
]
b7 b6
0
0
1
1
Start count
16
]
0
1
0
1
b7
16
16
source
Count
16
f
f
f
f
to FE
to FE
32
C32
1
8
]
16
16
16
16
f(X
to 0059
to 039A
IN
) : 16MH
Count source period
16
16
]
976.56µs
]
Z
62.5ns
500ns
b0
16
16
16
16
16
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Note 1: Set the corresponding port direction
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
b1 b0
b3 b2
b7 b6
b5 b4
IN
Trigger select register [Address 0383
TRGSR
0 0 :
0 0 :
0 0 :
0 0 :
) : 32.768kH
16
16
16
16
register to “0”.
16
Input on TA1
Input on TA2
Input on TA3
Input on TA4
] TA0
] TA1
] TA4
] TA2
] TA3
C32
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
]
307

Related parts for M30622MA-XXXFP