English
Language : 

M16C65 Datasheet, PDF (412/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
19. Three-Phase Motor Control Timer Function
19.2.10 Port Function Control Register (PFCR)
Port Function Control Register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
PFCR
Address
0318h
After Reset
0011 1111b
Bit Symbol
Bit Name
Function
RW
PFC0
Port P8_0 output function
select bit
0: Input/output port P8_0
1: Three-phase PWM output (U-phase
output)
RW
PFC1
Port P8_1 output function
select bit
0: Input/output port P8_1
1: Three-phase PWM output (U-phase
output)
RW
PFC2
Port P7_2 output function
select bit
0: Input/output port P7_2
1: Three-phase PWM output (V-phase
output)
RW
PFC3
Port P7_3 output function
select bit
0: Input/output port P7_3
1: Three-phase PWM output (V-phase
output)
RW
PFC4
Port P7_4 output function
select bit
0: Input/output port P7_4
1: Three-phase PWM output (W-phase
output)
RW
PFC5
Port P7_5 output function
select bit
0: Input/output port P7_5
1: Three-phase PWM output (W-phase
output)
RW
—
(b7-b6)
No register bits. If necessary, set to 0. Read as 0
—
This register is valid only when the INV03 bit in the INVC0 register is set to 1 (three-phase motor control
timer output enabled). Write to this register after the TPRC0 bit in the TPRC register is set to 1 (write
enabled).
19.2.11 Three-Phase Protect Control Register (TPRC)
Three-Phase Protect Control Register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
TPRC
Address
01DAh
After Reset
00h
Bit Symbol
Bit Name
Funtion
RW
TPRC0
Three-phase protect control
bit
Enable write to the PFCR register
0: Write disabled
1: Write enabled
RW
—
(b7-b1)
No register bits. If necessary, set to 0. Read as 0
—
Once the TPRC0 bit is set to 1 (write enabled) by a program, the set value 1 is retained. To change the
registers protected by this bit, follow the steps below.
(1) Set the TPRC0 bit to 1.
(2) Set values in the PFCR register.
(3) Set the TPRC0 bit to 0 (write disabled).
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 377 of 791