SBAU412A November 2022 – May 2024 AFE7900 , AFE7901 , AFE7903 , AFE7906 , AFE7920 , AFE7921 , AFE7950 , AFE7950-SP , AFE7951 , AFE7953 , AFE7954 , AFE7955 , AFE7958
XGpio_SetDataDirection(&GPOs, 1, 0);
First argument &GPOs point to the GPIO instance initialized in previous command.
Second argument 1 indicates the GPIO bank. In this example, only the first bank is used.
Third argument 0 indicates all GPIO bits are set for outputs.