m37905 Renesas Electronics Corporation., m37905 Datasheet - Page 144

no-image

m37905

Manufacturer Part Number
m37905
Description
Mitsubishi 16-bit Single-chip Microcomputer 7700 Family / 7900 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m37905F8CSP
Manufacturer:
MIT
Quantity:
20 000
Fig. 7.6.3 Initial setting example for registers related to PWM mode (1)
7.6.1 Setting for PWM mode
Figures 7.6.3 and 7.6.4 show an initial setting example for registers relevant to the PWM mode.
Note that when using interrupts, set up to enable the interrupts. For details, refer to “CHAPTER 6.
INTERRUPTS.”
Note. When operating as 8-bit pulse width modulator
(b15)
Setting PWM pulse’s period and “H” level width
(b15)
Selecting PWM mode and each function
However, if n = “00
does not operate and the TAi
level. At this time, no timer Ai interrupt request
occurs.
b7
Period =
b7
b7
“H” level width =
When operating as 16-bit pulse width modulator
When operating as 8-bit pulse width modulator
(m+1) (2 – 1)
f
i
16
n(m+1)
8
1
”, the pulse width modulator
f
i
1 1
(b8)
(b8)
(f
b0
b0
count source)
b0
OUT
i
7905 Group User’s Manual Rev.1.0
: Frequency of
Trigger select bits
Count source select bits
Selection of PWM mode
b4
16/8-bit PWM mode select bit
0 0 :
0 1 :
1 0 : Falling edge of TAi
1 1 : Rising edge of TAi
b7
pin outputs “L”
b7
See Table 7.2.3.
Timer Ai mode register (i = 0 to 9)
(Addresses 56
0 : Operates as 16-bit pulse width modulator
1 : Operates as 8-bit pulse width modulator
b3
Continued to Figure 7.6.4
Writing “1” to count start bit: Internal trigger
on the next page
Can be set to “0000
16
to 5A
IN
7.6 Pulse width modulation (PWM) mode
IN
Note. When operating as 16-bit pulse width modulator
pin’s input signal: External trigger
pin’s input signal: External trigger
16
Can be set to “00
Can be set to “00
, D6
b0
b0
However, if n = “0000
not operate and the TAi
time, no timer Ai interrupt request occurs.
“H” level width =
16
Period =
16
” to “FFFE
Timer A0 register (Addresses 47
Timer A1 register (Addresses 49
Timer A2 register (Addresses 4B
Timer A3 register (Addresses 4D
Timer A4 register (Addresses 4F
Timer A5 register (Addresses C7
Timer A6 register (Addresses C9
Timer A7 register (Addresses CB
Timer A8 register (Addresses CD
Timer A9 register (Addresses CF
Timer A0 register (Addresses 47
Timer A1 register (Addresses 49
Timer A2 register (Addresses 4B
Timer A3 register (Addresses 4D
Timer A4 register (Addresses 4F
Timer A5 register (Addresses C7
Timer A6 register (Addresses C9
Timer A7 register (Addresses CB
Timer A8 register (Addresses CD
Timer A9 register (Addresses CF
to DA
16
)
2 – 1
16
16
16
16
” (n)
f
” to “FF
” to “FE
i
n
f
i
16
(f
”, the pulse width modulator does
16
16
OUT
i
: Frequency of count source)
” (m)
” (n)
pin outputs “L” level. At this
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
, 46
, 48
, 4E
, 4A
, 46
, 48
, 4E
, 4C
, C6
, C8
, CE6
, 4A
, CA
, 4C
, C6
, C8
, CE6
, CC
, CA
, CC
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
16
)
)
)
)
)
)
16
)
)
16
)
)
)
)
)
)
)
)
)
)
)
)
TIMER A
7-41

Related parts for m37905