1 /***************************************************************************//**
\r
3 * @brief Provide configuration parameters for EM4 wakeup button.
\r
5 *******************************************************************************
\r
7 * <b>(C) Copyright 2014 Silicon Labs, http://www.silabs.com</b>
\r
8 *******************************************************************************
\r
10 * This file is licensed under the Silabs License Agreement. See the file
\r
11 * "Silabs_License_Agreement.txt" for details. Before using this software for
\r
12 * any purpose, you must agree to the terms of that agreement.
\r
14 ******************************************************************************/
\r
16 #ifndef __SILICON_LABS_EM4CONFIG_H__
\r
17 #define __SILICON_LABS_EM4CONFIG_H__
\r
19 #include "bspconfig.h"
\r
21 #define EM4_WU_PB PB1
\r
22 #define EM4_WU_PB_EN (1 << 17) /* GPIO_EM4WU1 = PF7 = pushbutton 1 */
\r
23 #define EM4_WU_PB_PIN BSP_GPIO_PB1_PIN
\r
24 #define EM4_WU_PB_PORT BSP_GPIO_PB1_PORT
\r
25 #define EM4_WU_PB_STR "PB1"
\r
27 #define EM4_NON_WU_PB PB0
\r
28 #define EM4_NON_WU_PB_PIN BSP_GPIO_PB0_PIN
\r
29 #define EM4_NON_WU_PB_PORT BSP_GPIO_PB0_PORT
\r
30 #define EM4_NON_WU_PB_STR "PB0"
\r
32 #endif /* __SILICON_LABS_EM4CONFIG_H__ */
\r