Button to be configured This parameter can be one of the following values: @arg BUTTON_WAKEUP: Wakeup Push Button @arg BUTTON_TAMPER: Tamper Push Button @arg BUTTON_KEY: Key Push Button @arg BUTTON_RIGHT: Joystick Right Push Button @arg BUTTON_LEFT: Joystick Left Push Button @arg BUTTON_UP: Joystick Up Push Button @arg BUTTON_DOWN: Joystick Down Push Button @arg BUTTON_SEL: Joystick Sel Push Button
Button mode This parameter can be one of the following values: @arg BUTTON_MODE_GPIO: Button will be used as simple IO @arg BUTTON_MODE_EXTI: Button will be connected to EXTI line with interrupt generation capability
Examples
BSP_PB_Init() is referenced by 34 libraries and example projects: