-->
Page 1 of 1

NONOS SDK // Hi-Z

PostPosted: Sun Apr 28, 2019 3:01 pm
by k4t4n4
How does one go about setting a gpio pin state to the equivalent of Hi-Z using nonos sdk? I'm trying to set tx/rx to hi-z on 8285 for a usb project.

Re: NONOS SDK // Hi-Z

PostPosted: Thu May 09, 2019 8:15 am
by quackmore
setting the gpio as an input and disabling the pullup should do it
have a look to the pullup macros into eagle_soc.h

Code: Select all#define PIN_PULLUP_DIS(PIN_NAME) ...
#define PIN_PULLUP_EN(PIN_NAME) ...