Button mode. This parameter can be one of the following values: @arg JOY_MODE_GPIO: Joystick pins will be used as simple IOs @arg JOY_MODE_EXTI: Joystick pins will be connected to EXTI line with interrupt generation capability
Return value
IO_OK: if all initializations are OK. Other value if error.
Examples
BSP_JOY_Init() is referenced by 13 libraries and example projects: