![](http://datasheet.mmic.net.cn/30000/M30956FKTGP_datasheet_2359453/M30956FKTGP_569.png)
27. Usage Notes
Rev.1.00
27.15 Programmable I/O Ports
Ports P7_2 to P7_5, P8_0, P8_1, and P3_2 to P3_7 have the forced cutoff function of the three-phase PWM
output. When these ports are selected as output ports (port output, timer output, three-phase PWM output,
serial interface output, intelligent I/O output), they are affected by the three-phase motor control timer function
and the NMI pin setting.
Table 27.4 shows the INVC0 register setting, NMI pin input level, and output port
states.
Table 27.4
INVC0 Register, NMI Pin, and Port States
NOTE:
1. Can be set to either 0 or 1.
2. The INV03 bit is set to 0 after a low-level (“L”) signal is applied to the NMI pin.
: Not affected by the pin state
TB2SC
Register
Setting Value of INVC0 Register
NMI Pin
Input Level
Port States of P7_2 to
P7_5, P8_0, and P8_1
(when selected as
output ports)
Port States of P3_2 to
P3_7 (when selected
as output ports)
TBSOUT
Bit
INV02 Bit
INV03 Bit
00
(three-phase motor
control function not
used)
(note 1)
Output functions
selected by registers
PS1, PSL1, PSC, PS2,
and PSL2
Output functions
selected by registers
PS11 and PSL11
,
except three-phase
PWM output
1
(three-phase motor
control timer
function used)
0
(three-phase motor
control timer output
disabled)
High-impedance state
1
(three-phase motor
control timer output
H
Output functions
selected by registers
PS1, PSL1, PSC, PS2,
and PSL2
L
(forcibly
terminated)
High-impedance state
10
(three-phase motor
control function not
used)
(note 1)
Output functions
selected by registers
PS1, PSL1, PSC, PS2,
and PSL2, except
three-phase PWM
output
Output functions
selected by registers
PS11 and PSL11
1
(three-phase motor
control timer
function used)
0
(three-phase motor
control timer output
disabled)
High-impedance state
1
(three-phase motor
control timer output
H
Output functions
selected by registers
PS11 and PSL11
L
(forcibly
terminated)
High-impedance state