Question
How to conveniently read GPIO while it is in AF mode ?
Posted on November 05, 2015 at 17:59
I'm interfacing with TI CC1101, it need to check MISO pin to low before start SPI transaction.
Shall I change MISO pin to AF mode to Input mode before I read, and then change it back to AF mode to start SPI.Is there a convenient way to do so ? ( I think GPIO_Init is a little overhead )Or I can just read the pin as normal input pin in AF mode ?