This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28035上电时GPIO口状态

Other Parts Discussed in Thread: TMS320F28035

TMS320F28035的GPIO口配置为通用IO口时,如下:

//  GPIO-42 - PIN FUNCTION = --Spare--
 GpioCtrlRegs.GPBMUX1.bit.GPIO42 = 0; // 0=GPIO,  1=Resv,  2=Resv,  3=COMP1OUT
 GpioCtrlRegs.GPBDIR.bit.GPIO42 = 1;  // 1=OUTput,  0=INput
 GpioDataRegs.GPBCLEAR.bit.GPIO42 = 1; // uncomment if --> Set Low initially

首次上电,GpioDataRegs.GPBDAT.bit.GPIO42是什么状态,是0呢还是1呢?

还请大侠给出答案和解释,如果是不定状态,并且要是实现上电时为确定状态:1或0时,是不是要再外部配上拉或下拉呢?