Appiko
Macros | Enumerations | Functions
SDK_EVAL_Button.h File Reference

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...
 

Detailed Description

Author
AMG - RF Application team
Version
3.2.1
Date
26-September-2016

This module exports functions used to configure and manage the SDK motherboard push-buttons.

Example:

SdkEvalPushButtonInit(BUTTON_KEY, BUTTON_MODE_EXTI);

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.

© COPYRIGHT 2016 STMicroelectronics

Definition in file SDK_EVAL_Button.h.