CMS32L051 User Manual |Chapter 2 Pin Function
www.mcu.com.cn 24 / 703
2.3.4 Port clear control register (PCLRxx)
This is the register to set the port output latch in bit units. After a reset signal is generated, the value of
the register becomes 00H.
Register address = base address + offset address; the base address of the port Clearance control
register is 0x40040000, and the offset address is shown in the following figure.
Figure 2-4 Format of port clear control register