m37905 Renesas Electronics Corporation., m37905 Datasheet - Page 208

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. 9.4.2 Initial setting example for registers relevant to pulse output port 0 (pulse mode 1) (2)
When an underflow occurs in timer A0, the contents of three-phase output data register 0 are output from the filp-flop.
(Pulse output pins are floating until the pulse output becomes enabled.)
(b15)
Processing of avoiding undefined output before starting pulse output (Note)
X : It may be either “0” or “1.”
b7
b7
b7
b7
b7
b7
b7
0 0 0 0 0
0 0
00
16
0
0
0
0 0
0 0
(b8)
b0
b0
b0
b0 b7
b0
b0
b0
Continued from preceding Figure 9.4.1.
RTP0
RTP0
RTP0
RTP0
RTP1
RTP1
Timer A0 count start bit
Pulse output trigger select bits
Pulse output polarity select bit
Pulse width modulation enable bit 0
Pulse width modulation enable bit 1
Pulse width modulation enable bit 2
Selection of count source f
Interrupt disabled
No interrupt request
Timer A0 count start bit
Count start register 0 (Address 40
Three-phase output data register 1 (Address A9
Timer A0 interrupt control register (Address 75
Count start register 0 (Address 40
Timer A0 mode register (Address 56
0 : Stop counting
Underflow of Timer A0
0 : Positive
1 : Negative
Three-phase output data register 0 (Address A8
1 : Start counting
Continued on Figure 9.4.3.
0
1
2
3
0
1
Initial output data is set.
00
16
7905 Group User’s Manual Rev.1.0
This processing can be omitted when the system is not
affected by the undefined output.
2
b0
A value of “0000
Timer A0 register (Addresses 47
16
16
PULSE OUTPUT PORT MODE
)
)
16
)
See Table 9.2.3.
16
16
16
)
9.4 Setting of pulse output port mode
16
)
” is set.
)
16
and 46
16
)
Registers used in pulse output port 1
Pulse output data register 0
(Address A2
Pulse output data register 1
(Address A4
Timer A5 mode register
(Address D
Timer A5 register
(Addresses C7
Timer A5 interrupt control register
(Address F5
Count start register 1
(Address 41
Count start register 1
(Address 41
16
16
16
16
16
16
)
)
)
)
)
)
16
, C6
16
)
9-27

Related parts for m37905