SPRUIV7B May 2022 – September 2023 AM620-Q1 , AM623 , AM625 , AM625-Q1 , AM625SIP
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 |