457
Chapter 30 I/O Ports
3.Port Register Settings
3.3 Port Input Enable
This section describes the Port Input Enable function.
■ PORTEN: Port Input Enable.
All port inputs are disabled by default to avoid transverse current floating in the IO input stages and the
subsequent logic. After configuring all ports according to their functional specification (input level, output drive,
pull-up or pull-down resistor, etc.) it is mandatory to globally enable the inputs by setting the port input enable bit.
GPORTEN 0 - The inputs of all ports are disabled.
1 - The inputs of all ports are enabled.
CPORTEN 0 - The inputs of the bootloader communication ports are disabled.
1 - The inputs of the bootloader communication ports are enabled.
Addr 7 6 5 4 3 2 1 0 initial
PORTEN 0498h - - - - - - CPORTEN GPORTEN ---- --00
- - - - - - R/W R/W