CC2530单片机的I/O口线置为输入下拉模式,哪个正确?( )
(A)P1INP = 0x00; P2INP =0x00;
(B)P0INP = 0Xff; P2INP =0x00;
(C)P1INP = 0x00; P2INP |= 0x40;
(D)P0INP = 0xFF; P2INP |=0x20;
参考答案
继续答题:下一题
(A)P1INP = 0x00; P2INP =0x00;
(B)P0INP = 0Xff; P2INP =0x00;
(C)P1INP = 0x00; P2INP |= 0x40;
(D)P0INP = 0xFF; P2INP |=0x20;