Appiko
|
This file contains definitions for Software Development Kit eval board push-buttons. More...
#include "cube_hal.h"
Go to the source code of this file.
Macros | |
#define | BUTTON_2 BUTTON_1 |
All the old buttons are mapped in the BUTTON_1 (only one in the Nucleo Board) | |
#define | BUTTON_KEY BUTTON_1 |
All the old buttons are mapped in the BUTTON_1 (only one in the Nucleo Board) | |
Enumerations | |
enum | SdkEvalButton { BUTTON_1 = 0 } |
Buttons for SDK EVAL enumeration. More... | |
enum | SdkEvalButtonMode |
Button Mode for SDK EVAL enumeration. | |
enum | SdkEvalJoyState |
Joystick for SDK EVAL enumeration. | |
Functions | |
void | SdkEvalPushButtonInit (SdkEvalButton xButton, SdkEvalButtonMode xButtonMode) |
Configures Button GPIO and EXTI Line. More... | |
FlagStatus | SdkEvalPushButtonGetState (SdkEvalButton xButton) |
Returns the selected Button state. More... | |
This module exports functions used to configure and manage the SDK motherboard push-buttons.
Example:
THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
THIS SOURCE CODE IS PROTECTED BY A LICENSE. FOR MORE INFORMATION PLEASE CAREFULLY READ THE LICENSE AGREEMENT FILE LOCATED IN THE ROOT DIRECTORY OF THIS FIRMWARE PACKAGE.
Definition in file SDK_EVAL_Button.h.