SPRUIU1C July 2020 – February 2024 DRA821U , DRA821U-Q1
This procedure initializes the general-purpose Interface module after a power-on reset (POR) or software reset.
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Configure GPIO channels as input or output of the corresponding bank | DIR | -h |
Interrupt requests configuration | ||
Configure detection events | SET_RIS_TRIG and/or SET_FAL_TRIG | -h |
Clear interrupt status | INTSTAT | FFFFh |
Enable interrupts for desired banks [0:8] | GPIO_BINTEN[8-0] | -h |