Port Function Control Register (Pfcr); Three-Phase Protect Control Register (Tprc) - Renesas M16C/64C User Manual

Table of Contents

Advertisement

M16C/64C Group

19.2.10 Port Function Control Register (PFCR)

Port Function Control Register
b7 b6 b5 b4
b3
b2
b1
This register is enabled only when the INV03 bit in the INVC0 register is set to 1 (three-phase motor
control timer output enabled). Set the TPRC0 bit in the TPRC register to 1 (write enabled) before
rewriting this register.

19.2.11 Three-Phase Protect Control Register (TPRC)

Three-Phase Protect Control Register
b7 b6 b5 b4
b3
b2
b1
Once the TPRC0 bit is set to 1 (write enabled) by a program, the set value 1 is retained. To change the
register protected by this bit, follow these steps:
(1) Set the TPRC0 bit to 1.
(2) Set a value to the PFCR register.
(3) Set the TPRC0 bit to 0 (write disabled).
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
b0
Symbol
PFCR
Bit Symbol
Bit Name
Port P8_0 output function
PFC0
select bit
Port P8_1 output function
PFC1
select bit
Port P7_2 output function
PFC2
select bit
Port P7_3 output function
PFC3
select bit
Port P7_4 output function
PFC4
select bit
Port P7_5 output function
PFC5
select bit
No register bits. If necessary, set to 0. The read value is 0.
(b7-b6)
b0
Symbol
TPRC
Bit Symbol
Bit Name
Three-phase protect control
TPRC0
bit
No register bits. If necessary, set to 0. The read value is 0.
(b7-b1)
19. Three-Phase Motor Control Timer Function
Address
0318h
Function
0: I/O port P8_0
1: Three-phase PWM output (U-phase
output)
0: I/O port P8_1
1: Three-phase PWM output (U-phase
output)
0: I/O port P7_2
1: Three-phase PWM output (V-phase
output)
0: I/O port P7_3
1: Three-phase PWM output (V-phase
output)
0: I/O port P7_4
1: Three-phase PWM output (W-phase
output)
0: I/O port P7_5
1: Three-phase PWM output (W-phase
output)
Address
01DAh
Function
Enable write to the PFCR register
0: Write disabled
1: Write enabled
Reset Value
0011 1111b
RW
RW
RW
RW
RW
RW
RW
Reset Value
00h
RW
RW
Page 342 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents