]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_EFM32_Gecko_Starter_Kit_Simplicity_Studio/Source/SilLabs_Code/Device/SiliconLabs/EFM32PG1B/Include/efm32pg1b_gpio_p.h
9b58d079ccb1a0a08ad49fc398aa894278025fe1
[freertos] / FreeRTOS / Demo / CORTEX_EFM32_Gecko_Starter_Kit_Simplicity_Studio / Source / SilLabs_Code / Device / SiliconLabs / EFM32PG1B / Include / efm32pg1b_gpio_p.h
1 /**************************************************************************//**\r
2  * @file efm32pg1b_gpio_p.h\r
3  * @brief EFM32PG1B_GPIO_P register and bit field definitions\r
4  * @version 4.2.1\r
5  ******************************************************************************\r
6  * @section License\r
7  * <b>Copyright 2015 Silicon Laboratories, Inc. http://www.silabs.com</b>\r
8  ******************************************************************************\r
9  *\r
10  * Permission is granted to anyone to use this software for any purpose,\r
11  * including commercial applications, and to alter it and redistribute it\r
12  * freely, subject to the following restrictions:\r
13  *\r
14  * 1. The origin of this software must not be misrepresented; you must not\r
15  *    claim that you wrote the original software.@n\r
16  * 2. Altered source versions must be plainly marked as such, and must not be\r
17  *    misrepresented as being the original software.@n\r
18  * 3. This notice may not be removed or altered from any source distribution.\r
19  *\r
20  * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.\r
21  * has no obligation to support this Software. Silicon Laboratories, Inc. is\r
22  * providing the Software "AS IS", with no express or implied warranties of any\r
23  * kind, including, but not limited to, any implied warranties of\r
24  * merchantability or fitness for any particular purpose or warranties against\r
25  * infringement of any proprietary rights of a third party.\r
26  *\r
27  * Silicon Laboratories, Inc. will not be liable for any consequential,\r
28  * incidental, or special damages, or any other relief, or for any claim by\r
29  * any third party, arising from your use of this Software.\r
30  *\r
31  *****************************************************************************/\r
32 /**************************************************************************//**\r
33 * @addtogroup Parts\r
34 * @{\r
35 ******************************************************************************/\r
36 /**************************************************************************//**\r
37  * @brief GPIO_P EFM32PG1B GPIO P\r
38  *****************************************************************************/\r
39 typedef struct\r
40 {\r
41   __IO uint32_t CTRL;         /**< Port Control Register  */\r
42   __IO uint32_t MODEL;        /**< Port Pin Mode Low Register  */\r
43   __IO uint32_t MODEH;        /**< Port Pin Mode High Register  */\r
44   __IO uint32_t DOUT;         /**< Port Data Out Register  */\r
45   uint32_t      RESERVED0[2]; /**< Reserved for future use **/\r
46   __IO uint32_t DOUTTGL;      /**< Port Data Out Toggle Register  */\r
47   __I uint32_t  DIN;          /**< Port Data In Register  */\r
48   __IO uint32_t PINLOCKN;     /**< Port Unlocked Pins Register  */\r
49   uint32_t      RESERVED1[1]; /**< Reserved for future use **/\r
50   __IO uint32_t OVTDIS;       /**< Over Voltage Disable for all modes  */\r
51   uint32_t      RESERVED2[1]; /**< Reserved future */\r
52 } GPIO_P_TypeDef;\r
53 \r
54 /** @} End of group Parts */\r
55 \r
56 \r