m37905 Renesas Electronics Corporation., m37905 Datasheet - Page 230

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. 10.2.9 Relationship between port P5 direction register and position-data-input pins
10.2.6 Port P5 direction register
The position-data input pins are multiplexed with port P5 pin.
When using these pins as position-data-input pins, clear the corresponding bits of the port P5 direction
register to “0” in order to set these port pins for the input mode.
Figure 10.2.9 shows the relationship between the port P5 direction register and position-data-input pins.
10.2.7 Timers A0 through A2
Each of timers A0 through A2 is used to control the output width of each phase, and these timers are used
in the one-shot pulse mode.
Figure 10.2.10 shows the structure of timer A0/A1/A2 mode register (in the three-phase waveform mode).
Because the underflow signal of timer A3 serves as a trigger for timers A0 through A3, it is unnecessary
to set the one-shot start bit to “1.”
Note that, in three-phase mode 1, each of timers A0 through A2 has the following two registers: timer A0/
A1/A2 register (addresses 46
(addresses D0
width.
Figure 10.2.11 shows the structures of the timer A0/A1/A2 mode register and timer A0
Port P5 direction register
Note: The pins in ( ) are I/O pins of other internal peripheral devices, which are multiplexed.
Bit
0
1
2
3
4
5
6
7
Nothing is assigned.
Pin IDW (Pin INT
Pin IDV (Pin INT
Pin IDU (Pin INT
Nothing is assigned.
Pin INT
Pin INT
Pin INT
16
and D1
1
2
3
/RTP
/RTP
Corresponding pin
16
TRG1
TRG0
, D2
6
7
5
/TB1
/TB2
/TB0
(Address D
16
IN
IN
IN
16
and D3
)
)
)
and 47
16
7905 Group User’s Manual Rev.1.0
16
)
, D4
THREE-PHASE WAVEFORM MODE
16
, 48
16
and D5
0 : Input mode
1 : Output mode
0 : Input mode
1 : Output mode
When using this pin as a position-data input pin,
be sure to clear the corresponding bit to “0.”
16
and 49
16
). These two registers are used to control the output
16
, 4A
Functions
16
and 4B
16
) and timer A0
b7 b6 b5 b4 b3 b2 b1 b0
10.2 Block description
At reset
Undefined
Undefined
1
1
0
0
0
0
0
0
/A1
/A1
1
1
/A2
/A2
R/W
RW
RW
RW
RW
RW
RW
1
1
register.
register
10-13

Related parts for m37905