Download Print this page

Renesas M16C/50 Series User Manual page 196

Advertisement

M16C/5L Group, M16C/56 Group
11.3.10 Pin Assignment Control Register (PACR)
Pin Assignment Control Register
b7 b6 b5 b4
b3
b2
b1
Write to the PACR register in the next instruction after setting the PRC2 bit in the PRCR register to 1
(write enabled).
PACR2 to PACR0 (Pin Enable Bit) (b2 to b0)
Bits PACR2 to PACR0 are 000b after reset. Select either 010b (64-pin package), or 011b (80-pin
package) depending on a product.
Set bits PACR2 to PACR0 before inputting or outputting to each pin. When their value does not change
after reset, I/O function of some the pins is disabled.
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
b0
Symbol
PACR
Bit Symbol
Bit Name
PACR0
Pin enable bit
PACR1
PACR2
No register bits. If necessary, set to 0. The read value is undefined.
(b6-b3)
U1MAP
UART1 pin remapping bit
Address
0370h
Function
b2 b1 b0
0 1
0: 64-pin version
0 1
1: 80-pin version
Only set the values listed above.
UART1 pin assigned to:
0: P6_7 to P6_4
1: P7_3 to P7_0
11. Programmable I/O Ports
Reset Value
0XXXX000b
RW
RW
RW
RW
RW
Page 159 of 803

Advertisement

loading