Renesas M16C/6NK Network Card User Manual


 
Rev.2.00 Nov 28, 2005 page 367 of 378
REJ09B0124-0200
M16C/6N Group (M16C/6NK, M16C/6NM) 23. Usage Precaution
Under development
This document is under development and its contents are subject to change.
23.15 Programmable I/O Ports
_______
If a low-level signal is applied to the NMI pin when the IVPCR1 bit in the TB2SC register = 1 (three-phase
_______
output forcible cutoff by input on NMI pin enabled), the P7_2 to P7_5, P8_0 and P8_1 pins go to a high-
impedance state.
Setting the SM32 bit in the S3C register to 1 causes the P9_2 pin to go to a high-impedance state.
Setting the SM42 bit in the S4C register to 1 causes the P9_6 pin to go to a high-impedance state
(1)
.
Setting the SM52 bit in the S5C register to 1 causes the P11_2 pin to go to a high-impedance state
(2)
.
Setting the SM62 bit in the S6C register to 1 causes the P11_6 pin to go to a high-impedance state
(2)
.
NOTES:
1. When using SI/O4, set the SM43 bit in the S4C register to 1 (SOUT4 output, CLK4 function) and the
port direction bit corresponding for SOUT4 pin to 0 (input mode).
2. The S5C and S6C registers are only in the 128-pin version. When using these registers, set these
registers after setting the PU37 bit in the PUR3 registger to 1 (Pins P11 to P14 are usable).
The input threshold voltage of pins differs between programmable I/O ports and peripheral functions.
Therefore, if any pin is shared by a programmable I/O port and a peripheral function and the input level at
this pin is outside the range of recommended operating conditions VIH and VIL (neither high nor low),
the input level may be determined differently depending on which sidethe programmable I/O port or the
peripheral functionis currently selected.
When changing the PD14_i bit (i = 0, 1) in the PC14 register from 0 (input port) to 1 (output port), follow
the procedures below (128-pin version only).
Setting Procedure
(1) Set P14_i bit :MOV.B #00000001b, PC14 ; P14_i bit setting
(2) Change PD14_i bit to 1 by MOV instruction :MOV.B #00110001b, PC14 ; Change to output port
Indeterminate values are read from the P3_7 to P3_4, PD3_7 to PD3_4 bits by reading the P3 and PD3
registers when the PM01 to PM00 bits in the PM0 register are set to 01b (memory expansion mode) or
11b (microprocessor mode) and setting the PM11 bit to 1.
Use the MOV instruction when rewriting the P3 and PD3 registers (including the case that the size specifier
is .W and the P2 and PD2 registers are rewritten) (Normal-ver. only).
When the PM01 to PM00 bits are rewritten, L is output from the P3_7 to P3_4 pins during 0.5 cycles of the
BCLK by setting the PM01 to PM00 bits in the PM0 register to 01b (memory expansion mode) or 11b
(microprocessor mode) from 00b (single-chip mode) after setting the PM11 bit to 1 (Normal-ver. only).