Hello, UART and SPI i have defined my ports for input and output as follows,but in I2C we have SDA which iss by directional. How to see using the manual shown bellow what kind of gpio we need to define here?
Thanks.
https://www.silabs.com/documents/public/reference-manuals/efr32xg14-rm.pdf
Thanks.
https://www.silabs.com/documents/public/reference-manuals/efr32xg14-rm.pdf
Code:
GPIO_PinModeSet(gpioPortA, 1, gpioModeInput, 0);
GPIO_PinModeSet(gpioPortA, 0, gpioModePushPull, 1);