SBAU412 November 2022 AFE7900 , AFE7903 , AFE7906 , AFE7920 , 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 TI SPI AFE IP, 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