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?