The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
TARGET_TB_SENSE_12/TOOLCHAIN_IAR/efr32mg12p_gpio_p.h@171:3a7713b1edbc, 2018-11-08 (annotated)
- Committer:
- AnnaBridge
- Date:
- Thu Nov 08 11:45:42 2018 +0000
- Revision:
- 171:3a7713b1edbc
- Parent:
- TARGET_TB_SENSE_12/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFR32MG12/device/efr32mg12p_gpio_p.h@142:4eea097334d6
mbed library. Release version 164
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Anna Bridge |
142:4eea097334d6 | 1 | /**************************************************************************//** |
Anna Bridge |
142:4eea097334d6 | 2 | * @file efr32mg12p_gpio_p.h |
Anna Bridge |
142:4eea097334d6 | 3 | * @brief EFR32MG12P_GPIO_P register and bit field definitions |
Anna Bridge |
142:4eea097334d6 | 4 | * @version 5.1.2 |
Anna Bridge |
142:4eea097334d6 | 5 | ****************************************************************************** |
Anna Bridge |
142:4eea097334d6 | 6 | * @section License |
Anna Bridge |
142:4eea097334d6 | 7 | * <b>Copyright 2017 Silicon Laboratories, Inc. http://www.silabs.com</b> |
Anna Bridge |
142:4eea097334d6 | 8 | ****************************************************************************** |
Anna Bridge |
142:4eea097334d6 | 9 | * |
Anna Bridge |
142:4eea097334d6 | 10 | * Permission is granted to anyone to use this software for any purpose, |
Anna Bridge |
142:4eea097334d6 | 11 | * including commercial applications, and to alter it and redistribute it |
Anna Bridge |
142:4eea097334d6 | 12 | * freely, subject to the following restrictions: |
Anna Bridge |
142:4eea097334d6 | 13 | * |
Anna Bridge |
142:4eea097334d6 | 14 | * 1. The origin of this software must not be misrepresented; you must not |
Anna Bridge |
142:4eea097334d6 | 15 | * claim that you wrote the original software.@n |
Anna Bridge |
142:4eea097334d6 | 16 | * 2. Altered source versions must be plainly marked as such, and must not be |
Anna Bridge |
142:4eea097334d6 | 17 | * misrepresented as being the original software.@n |
Anna Bridge |
142:4eea097334d6 | 18 | * 3. This notice may not be removed or altered from any source distribution. |
Anna Bridge |
142:4eea097334d6 | 19 | * |
Anna Bridge |
142:4eea097334d6 | 20 | * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. |
Anna Bridge |
142:4eea097334d6 | 21 | * has no obligation to support this Software. Silicon Laboratories, Inc. is |
Anna Bridge |
142:4eea097334d6 | 22 | * providing the Software "AS IS", with no express or implied warranties of any |
Anna Bridge |
142:4eea097334d6 | 23 | * kind, including, but not limited to, any implied warranties of |
Anna Bridge |
142:4eea097334d6 | 24 | * merchantability or fitness for any particular purpose or warranties against |
Anna Bridge |
142:4eea097334d6 | 25 | * infringement of any proprietary rights of a third party. |
Anna Bridge |
142:4eea097334d6 | 26 | * |
Anna Bridge |
142:4eea097334d6 | 27 | * Silicon Laboratories, Inc. will not be liable for any consequential, |
Anna Bridge |
142:4eea097334d6 | 28 | * incidental, or special damages, or any other relief, or for any claim by |
Anna Bridge |
142:4eea097334d6 | 29 | * any third party, arising from your use of this Software. |
Anna Bridge |
142:4eea097334d6 | 30 | * |
Anna Bridge |
142:4eea097334d6 | 31 | *****************************************************************************/ |
Anna Bridge |
142:4eea097334d6 | 32 | /**************************************************************************//** |
Anna Bridge |
142:4eea097334d6 | 33 | * @addtogroup Parts |
Anna Bridge |
142:4eea097334d6 | 34 | * @{ |
Anna Bridge |
142:4eea097334d6 | 35 | ******************************************************************************/ |
Anna Bridge |
142:4eea097334d6 | 36 | /**************************************************************************//** |
Anna Bridge |
142:4eea097334d6 | 37 | * @brief GPIO_P EFR32MG12P GPIO P |
Anna Bridge |
142:4eea097334d6 | 38 | *****************************************************************************/ |
Anna Bridge |
142:4eea097334d6 | 39 | typedef struct |
Anna Bridge |
142:4eea097334d6 | 40 | { |
Anna Bridge |
142:4eea097334d6 | 41 | __IOM uint32_t CTRL; /**< Port Control Register */ |
Anna Bridge |
142:4eea097334d6 | 42 | __IOM uint32_t MODEL; /**< Port Pin Mode Low Register */ |
Anna Bridge |
142:4eea097334d6 | 43 | __IOM uint32_t MODEH; /**< Port Pin Mode High Register */ |
Anna Bridge |
142:4eea097334d6 | 44 | __IOM uint32_t DOUT; /**< Port Data Out Register */ |
Anna Bridge |
142:4eea097334d6 | 45 | uint32_t RESERVED0[2]; /**< Reserved for future use **/ |
Anna Bridge |
142:4eea097334d6 | 46 | __IOM uint32_t DOUTTGL; /**< Port Data Out Toggle Register */ |
Anna Bridge |
142:4eea097334d6 | 47 | __IM uint32_t DIN; /**< Port Data In Register */ |
Anna Bridge |
142:4eea097334d6 | 48 | __IOM uint32_t PINLOCKN; /**< Port Unlocked Pins Register */ |
Anna Bridge |
142:4eea097334d6 | 49 | uint32_t RESERVED1[1]; /**< Reserved for future use **/ |
Anna Bridge |
142:4eea097334d6 | 50 | __IOM uint32_t OVTDIS; /**< Over Voltage Disable for all modes */ |
Anna Bridge |
142:4eea097334d6 | 51 | uint32_t RESERVED2[1]; /**< Reserved future */ |
Anna Bridge |
142:4eea097334d6 | 52 | } GPIO_P_TypeDef; |
Anna Bridge |
142:4eea097334d6 | 53 | |
Anna Bridge |
142:4eea097334d6 | 54 | /** @} End of group Parts */ |
Anna Bridge |
142:4eea097334d6 | 55 | |
Anna Bridge |
142:4eea097334d6 | 56 |