Position-Data-Retain Function - Renesas M16C/26A Series Hardware Manual

16-bit single-chip microcomputer m16c family / m16c/tiny series
Hide thumbs Also See for M16C/26A Series:
Table of Contents

Advertisement

M
1
6
C
2 /
6
A
G
o r
u
p
(
M
1
6

12.3.1 Position-data-retain Function

This function is used to retain the position data synchronously with the three-phase waveform
output.There are three position-data input pins for U, V, and W phases.
A trigger to retain the position data (hereafter, this trigger is referred to as "retain trigger") can be selected
by the retain-trigger polarity select bit(bit 3 of the position-data-retain function control register, at address
034E
). This bit selects the retain trigger to be the falling edge of each positive phase, or the rising edge
16
of each positive phase.
12.3.1.1 Operation of the Position-data-retain Function
Figure 12.3.1.1.1 shows a usage example of the position-data-retain function (U phase) when the
retain trigger is selected as the falling edge of the positive signal.
(1) At the falling edge of the U-phase waveform ouput, the state at pin IDU is transferred to the U-
phase position data retain bit ( bit2 at address 034E
(2) Until the next falling edge of the Uphase waveform output,the above value is retained.
Carrier wave
U-phase waveform output
U-phase waveform output
PDRU bit in the RDRF register
NOTE:
1. The retain trigger is the falling edge of the positive signal.
Figure 12.3.1.1.1 Usage Example of Position-data-retain Function ( U phase )
R
e
. v
2
0 .
0
F
e
b
1 .
, 5
2
0
0
7
R
E
J
0
9
B
0
2
0
2
0 -
2
0
0
C
2 /
6
, A
M
1
6
C
2 /
6
, B
M
1
6
Pin IDU
Transferred
page 128
f o
3
2
9
C
2 /
6
) T
).
16
1
Transferred
2
Transferred
Transferred
12. Timer

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/26aM16c/26bM16c/26t

Table of Contents