STM32F4xx-Nucleo + 0/1 examples
SourceVu will show references to BSP_JOY_GetState() from the following samples and libraries:
Examples
STM32F411RE-Nucleo
 
Symbols
loading...
Files
loading...
SummarySyntaxReferences

Return value

JOYState_TypeDef: Code of the Joystick key pressed.

Notes

To know which Joystick key is pressed we need to detect the voltage level on each key output - None : 3.3 V / 4095 - SEL : 1.055 V / 1308 - DOWN : 0.71 V / 88 - LEFT : 3.0 V / 3720 - RIGHT : 0.595 V / 737 - UP : 1.65 V / 2046

References

from examples