uc-sdk
|
Contains all macro definitions and function prototypes support for Pin connect block firmware library on LPC17xx. More...
Go to the source code of this file.
Classes | |
struct | PINSEL_CFG_Type |
Pin configuration structure. More... | |
Macros | |
#define | PINSEL_PORT_0 ((0)) |
#define | PINSEL_PORT_1 ((1)) |
#define | PINSEL_PORT_2 ((2)) |
#define | PINSEL_PORT_3 ((3)) |
#define | PINSEL_PORT_4 ((4)) |
#define | PINSEL_FUNC_0 ((0)) |
#define | PINSEL_FUNC_1 ((1)) |
#define | PINSEL_FUNC_2 ((2)) |
#define | PINSEL_FUNC_3 ((3)) |
#define | PINSEL_PIN_0 ((0)) |
#define | PINSEL_PIN_1 ((1)) |
#define | PINSEL_PIN_2 ((2)) |
#define | PINSEL_PIN_3 ((3)) |
#define | PINSEL_PIN_4 ((4)) |
#define | PINSEL_PIN_5 ((5)) |
#define | PINSEL_PIN_6 ((6)) |
#define | PINSEL_PIN_7 ((7)) |
#define | PINSEL_PIN_8 ((8)) |
#define | PINSEL_PIN_9 ((9)) |
#define | PINSEL_PIN_10 ((10)) |
#define | PINSEL_PIN_11 ((11)) |
#define | PINSEL_PIN_12 ((12)) |
#define | PINSEL_PIN_13 ((13)) |
#define | PINSEL_PIN_14 ((14)) |
#define | PINSEL_PIN_15 ((15)) |
#define | PINSEL_PIN_16 ((16)) |
#define | PINSEL_PIN_17 ((17)) |
#define | PINSEL_PIN_18 ((18)) |
#define | PINSEL_PIN_19 ((19)) |
#define | PINSEL_PIN_20 ((20)) |
#define | PINSEL_PIN_21 ((21)) |
#define | PINSEL_PIN_22 ((22)) |
#define | PINSEL_PIN_23 ((23)) |
#define | PINSEL_PIN_24 ((24)) |
#define | PINSEL_PIN_25 ((25)) |
#define | PINSEL_PIN_26 ((26)) |
#define | PINSEL_PIN_27 ((27)) |
#define | PINSEL_PIN_28 ((28)) |
#define | PINSEL_PIN_29 ((29)) |
#define | PINSEL_PIN_30 ((30)) |
#define | PINSEL_PIN_31 ((31)) |
#define | PINSEL_PINMODE_PULLUP ((0)) |
#define | PINSEL_PINMODE_TRISTATE ((2)) |
#define | PINSEL_PINMODE_PULLDOWN ((3)) |
#define | PINSEL_PINMODE_NORMAL ((0)) |
#define | PINSEL_PINMODE_OPENDRAIN ((1)) |
#define | PINSEL_I2C_Normal_Mode ((0)) |
#define | PINSEL_I2C_Fast_Mode ((1)) |
#define | PINSEL_I2CPADCFG_SDADRV0 _BIT(0) |
#define | PINSEL_I2CPADCFG_SDAI2C0 _BIT(1) |
#define | PINSEL_I2CPADCFG_SCLDRV0 _BIT(2) |
#define | PINSEL_I2CPADCFG_SCLI2C0 _BIT(3) |
Functions | |
void | PINSEL_ConfigPin (PINSEL_CFG_Type *PinCfg) |
Configure Pin corresponding to specified parameters passed in the PinCfg. More... | |
void | PINSEL_ConfigTraceFunc (FunctionalState NewState) |
Configure trace function. More... | |
void | PINSEL_SetI2C0Pins (uint8_t i2cPinMode, FunctionalState filterSlewRateEnable) |
Setup I2C0 pins. More... | |
Contains all macro definitions and function prototypes support for Pin connect block firmware library on LPC17xx.
Software that is described herein is for illustrative purposes only which provides customers with programming information regarding the products. This software is supplied "AS IS" without any warranties. NXP Semiconductors assumes no responsibility or liability for the use of the software, conveys no license or title under any patent, copyright, or mask work right to the product. NXP Semiconductors reserves the right to make changes in the software without notification. NXP Semiconductors also make no representation or warranty that such application will be suitable for the specified use without further testing or modification.
Definition in file lpc17xx_pinsel.h.