m5m51016btp Renesas Electronics Corporation., m5m51016btp Datasheet - Page 37

no-image

m5m51016btp

Manufacturer Part Number
m5m51016btp
Description
Renesas 16-bit Single-chip Microcomputer M16c Family / M16c/20 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m5m51016btp-10LL/-10L
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-10LL/-10L
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-10VHTC4
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m5m51016btp-10VLL
Manufacturer:
MIT
Quantity:
3 909
Part Number:
m5m51016btp-10VLL
Manufacturer:
MIT
Quantity:
3 909
Part Number:
m5m51016btp-10VLL
Manufacturer:
MITSUMI
Quantity:
20 000
Part Number:
m5m51016btp-12LL
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-70LL
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m5m51016btp-70LLTC4
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
m5m51016btp-70LLTC4
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
M30245 Group
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Figure 2.2.22. Operation timing of pulse width modulation mode, 16-bit PWM mode selected
Operation
Note
2.2.10 Operation of Timer A (pulse width modulation mode, 16-bit PWM mode selected)
In pulse width modulation mode, choose functions from those listed in Table 2.2.10. Operations of the
circled items are described below. Figure 2.2.22 shows the operation timing, and Figures 2.2.23 and
2.2.24 show the set-up procedure.
Count source
TA
input signal
Count start flag
PWM pulse output
from TA
Timer Ai interrupt
request bit
Conditions: Reload register = 0003
iIN
pin
(1) If the TAi
(2) The TAi
(3) The counter reloads the content of the reload register every time PWM pulses are output for
(4) Setting the count start flag to “0” causes the counter to hold its value and to stop. Also, the
• The period of PWM pulses becomes (2
• Set TAi
Table 2.2.10. Choosed functions
Note: j = i – 1, but j = 4 when i = 0; k = i + 1, but k = 0 when i = 4.
iOUT
Count source
PWM mode
Count start condition
the timer Ai register is set to “0000
TAi
(fi : frequency of the count source f
performs a down count on the count source. Also, the TAi
time, the timer Ai interrupt request bit goes to “1”.
one cycle, and continues counting.
TAi
pin
OUT
Note: n = 0000
OUT
Item
IN
page 28 of 354
pin output level remains at “L”.
pin's port direction register to “0”.
“H”
“H”
OUT
outputs an “L” level.
“L”
“1”
“0”
“L”
“1”
“0”
IN
pin input level changes from “L” to “H” with the count start flag set to “1”, the counter
pin output level changes from “H” to “L” when a set time period elapses. At this
16
O
O
O
to FFFE
(1) Start count
Internal count source (f
16-bit PWM
8-bit PWM
External trigger input (falling edge of input signal to the TAi
External trigger input (rising edge of input signal to the TAi
Timer overflow (TAj/TAk overflow)
Set to “1” by software
16
, external trigger (rising edge of TAi
16
(2) Output level “H” to “L”
1
Trigger is not generated by this signal
16
, f
1 / f
1 / f
”, the pulse width modulator does not work, and the the
8
16
, f
i
i
X (2
1
32
X n
– 1)/fi, and the “H” level pulse width becomes n/fi. If
/ f
, f
16
8
Cleared to “0” when interrupt request is
accepted, or cleared by software
C32
/ f
–1)
32
;
/ fc
32
n : value of the timer)
)
Set-up
IN
pin input signal) is selected
OUT
(3) One period is complete
pin outputs an “H” level.
(4) Stop count
IN
IN
pin)
pin)
Cleared to “0”
by software
2. Timer A

Related parts for m5m51016btp