Part Number: MSP432P401R
Tool/software: Code Composer Studio
I have a situation where I have P3.7 configured as MISO for a SPI peripheral. I wish to be able to read the state of this pin (when not performing a SPI read or write) as you would a GPIO input pin. Do I reconfigure the pin as a GPIO, read the state, then set back to SPI function? I have used SYSCFG to configure everything, how do I change the pin to a GPIO during run-time?