51单片机STC51系列的P4口

定义:
sfr P4=0xe8;
则可使用:
sbit P40 = P4^0;
sbit P41 = P4^1;
sbit P42 = P4^2;
sbit P43 = P4^3;

你可能感兴趣的:(51单片机STC51系列的P4口)