I am using the SAI in my custom F7 board in slave RX mode. I am having trouble receiving SD from the audio codec. In debugging this issue I noticed that the HAL code generated by CubeMX does not have a configuration for the GPIO pin PE6 to be set as an INPUT. The only two settings are Alternate Function Push Pull, and Alternate Function Open Drain, both of which are outputs.
#define GPIO_MODE_AF_PP ((uint32_t)0x00000002U) /*!< Alternate Function Push Pull Mode */
#define GPIO_MODE_AF_OD ((uint32_t)0x00000012U) /*!< Alternate Function Open Drain Mode */
How does HAL configure PE6 as an INPUT pin?