Christophe Ostermann Posted November 24, 2021 Share 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 ? Link to comment Share on other sites More sharing options...
Question
Christophe Ostermann
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 ?
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now