CMS32L051 User Manual |Chapter 24 Security Features
www.mcu.com.cn 681 / 703
24.3.7 Digital output signal level detection function for input/output pin
The IEC60730 standard requires confirmation of proper I/O functionality.
The digital output signal level detection function of the input/output pin reads the digital output level of the
pin when the pin is in output mode.
24.3.7.1 Port mode selection register (PMS)
This register selects whether to read the value of the port's output latch or the output level of the read pin
when the pin is in output mode (the PMmn bit of the port mode register (PMm) is 0).
The PMS registers are set via 8-bit memory operation instructions.
After the reset signal is generated, the value of this register becomes 00H.
Figure 24-11 Format of port mode selection register (PMS)
Address: 4004087BH after reset: 00HR/W
Symbol
7 6 5 4 3 2 1 0
PMS
Note 1 For pins that use the pulse output forced cutoff function of timer M to make the pin into a high impedance state, if
the digital output level of the pin is read, the read value is 0.
Notes m=0~7,12~14
n=0~7