CMS32L051 User Manual |Chapter 14 Serial interface IICA
www.mcu.com.cn 498 / 703
14.3.8 Registers controlling the IICA pin port function
This product can multiplex IICA pin functions to any port except RESETB.
The SCALn pin and the SDAAn pin can be configured to both ports by setting the port multiplexing
function configuration registers (SCLA0PCFG and SDAA0PCFG).
Place the port mode control register (PMCxx) bits corresponding to both ports and the port mode register
(PMxx) at 0.
When these two ports are configured for multiplexing of the IICA pins, the N-channel open-drain output
(VDD/EVDD withstand voltage) mode of the port is guaranteed to open automatically by design, i.e. the
POMxx register does not require user settings.
For more information on how to set up, see Chapter 2 Pin Functions