TFT_ShieldDetect() is only used within FatFs_uSD.
 
Symbols
loading...
Files
loading...

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 (mapped to JoyStick available on adafruit 1.8" TFT shield). If the state of PC.01 is high then the adafruit 1.8" TFT shield is available.

Syntax

static ShieldStatus TFT_ShieldDetect(void);
Implemented in main.c:251

Return value

SHIELD_DETECTED: 1.8" TFT shield is available SHIELD_NOT_DETECTED: 1.8" TFT shield is not available

References

LocationReferrerText
main.c:251
static ShieldStatus TFT_ShieldDetect(void)
main.c:39
static ShieldStatus TFT_ShieldDetect(void);
main.c:71main()
if(TFT_ShieldDetect() != SHIELD_DETECTED)

Call Tree

Functions calling TFT_ShieldDetect()
Functions called by TFT_ShieldDetect()
all items filtered out
TFT_ShieldDetect()
all items filtered out
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