Digilent Adept JTAG Interface default output value in Other Posted November 24, 2021 Hi, As soons as we call the function DjtgSetGpioDir(hif, GPIOOUTPUTS, &value); to configure IO in output mode, the pad is driven and is equal 0. Then I can use DjtgSetGpioState to control IO state. My problem is that I would like to keep the IO high when I configure it as output. I tried to call DjtgSetGpioState before DjtgSetGpioDir but it does not work. Any hints ?
Digilent Adept JTAG Interface default output value
in Other
Posted
Hi,
As soons as we call the function DjtgSetGpioDir(hif, GPIOOUTPUTS, &value); to configure IO in output mode, the pad is driven and is equal 0.
Then I can use DjtgSetGpioState to control IO state.
My problem is that I would like to keep the IO high when I configure it as output.
I tried to call DjtgSetGpioState before DjtgSetGpioDir but it does not work.
Any hints ?