TFT_ShieldDetect() function
Check the availability of adafruit 1.8" TFT shield on top of STM32NUCLEO board. This is done by reading the state of IO PC.01 pin when using the ADC1 peripheral or IO PF.03 pin when using ADC3 peripheral (mapped to JoyStick available on adafruit 1.8" TFT shield). If the state of PC.01 or PF.03 is high then the adafruit 1.8" TFT shield is available.
Return value
SHIELD_DETECTED: 1.8" TFT shield is available SHIELD_NOT_DETECTED: 1.8" TFT shield is not available
Functions calling TFT_ShieldDetect()
Functions called by TFT_ShieldDetect()
TFT_ShieldDetect()
Data read by TFT_ShieldDetect()
Data written by TFT_ShieldDetect()
TFT_ShieldDetect()::GPIO_InitStruct TFT_ShieldDetect()::tmpreg all items filtered out
TFT_ShieldDetect()
TFT_ShieldDetect()::tmpreg all items filtered out
Type of TFT_ShieldDetect()
TFT_ShieldDetect()
uint32_t all items filtered out