STC8A8K64D4 Series Manual
-
Set the PxDR register, which can be used to control the drive current of the I/O port. When set to 1, I/O output is general drive current,
and when set to 0, it is strong drive current.
9.3.7
How to set I/O port current drive capability
If you need to change the current drive capability of the I/O port, you can do so by setting the PxDR register
Set the PxDR register, which can be used to control the drive current of the I/O port. When set to 1, I/O output is general drive
current, when set to 0, it is strong drive current
9.3.8 How to reduce the external radiation of I/O ports
Because the PxSR register is set, it can be used to control the I/O port level conversion speed, and the PxDR register can be used to control the
I/O port drive current.
When the external radiation of the I/O port needs to be reduced, the PxSR register needs to be set to 1 to reduce the I/O port level conversion
speed, and the PxDR register needs to be set to 1 to reduce the I/O drive current, and finally reduce I /O port external radiation