]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_EFM32_Gecko_Starter_Kit_Simplicity_Studio/Source/SilLabs_Code/kits/SLSTK3401A_EFM32PG/config/em4config.h
7b8c335e1cfcea3aa487e4ad9ce77641745ccbf8
[freertos] / FreeRTOS / Demo / CORTEX_EFM32_Gecko_Starter_Kit_Simplicity_Studio / Source / SilLabs_Code / kits / SLSTK3401A_EFM32PG / config / em4config.h
1 /***************************************************************************//**\r
2  * @file\r
3  * @brief Provide configuration parameters for EM4 wakeup button.\r
4  * @version 4.2.1\r
5  *******************************************************************************\r
6  * @section License\r
7  * <b>(C) Copyright 2014 Silicon Labs, http://www.silabs.com</b>\r
8  *******************************************************************************\r
9  *\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
13  *\r
14  ******************************************************************************/\r
15 \r
16 #ifndef __SILICON_LABS_EM4CONFIG_H__\r
17 #define __SILICON_LABS_EM4CONFIG_H__\r
18 \r
19 #include "bspconfig.h"\r
20 \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
26 \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
31 \r
32 #endif /* __SILICON_LABS_EM4CONFIG_H__ */\r