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.

CCS/UCD3138A: question about GPIO setting

Part Number: UCD3138A

Tool/software: Code Composer Studio

If it don't have pull-up resistance and i want to the GPIO pin output high, how can i set the register of GPIO?

the code as follow :

    
    MiscAnalogRegs.GLBIOOE.all = ALERT_GLBIO_BIT_MASK;
    MiscAnalogRegs.GLBIOOD.all = 0; 
    MiscAnalogRegs.GLBIOEN.all = ALERT_GLBIO_BIT_MASK;

    MiscAnalogRegs.GLBIOVAL.all = ALERT_GLBIO_BIT_MASK;

I find that it could not output high if i don't connect a pull-up resistance. why? Do the GPIO pin not have the output capability?