SBAU412A November 2022 – May 2024 AFE7900 , AFE7903 , AFE7906 , AFE7920 , AFE7921 , AFE7950
XGpio_DiscreteWrite(&GPOs, 1, regval);
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.
Bit Description | Bit Position |
---|---|
JESD RSTn | 4 |
JESD TXRST | 3 |
RSTn | 2 |
RXTDD | 1 |
TXTDD | 0 |
For Example:
XGpio_DiscreteWrite(&GPOs, 1, 0x14);
This command sets JESD RSTn and RSTn to 1, sets all other bits to 0