NXP's driver library for LPC17xx, ported to mbed's online compiler. Not tested! I had to fix a lot of warings and found a couple of pretty obvious bugs, so the chances are there are more. Original: http://ics.nxp.com/support/documents/microcontrollers/zip/lpc17xx.cmsis.driver.library.zip
lpc17xx_pinsel.h File Reference
: 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.
Data Structures | |
struct | PINSEL_CFG_Type |
Pin configuration structure. More... | |
Functions | |
void | PINSEL_SetPinFunc (uint8_t portnum, uint8_t pinnum, uint8_t funcnum) |
Setup the pin selection function. | |
void | PINSEL_ConfigTraceFunc (FunctionalState NewState) |
Configure trace function. | |
void | PINSEL_SetResistorMode (uint8_t portnum, uint8_t pinnum, uint8_t modenum) |
Setup resistor mode for each pin. | |
void | PINSEL_SetOpenDrainMode (uint8_t portnum, uint8_t pinnum, uint8_t modenum) |
Setup Open drain mode for each pin. | |
void | PINSEL_SetI2C0Pins (uint8_t i2cPinMode, FunctionalState filterSlewRateEnable) |
Setup I2C0 pins. | |
void | PINSEL_ConfigPin (PINSEL_CFG_Type *PinCfg) |
Configure Pin corresponding to specified parameters passed in the PinCfg. |
Detailed Description
: Contains all macro definitions and function prototypes support for Pin connect block firmware library on LPC17xx
- Version:
- : 1.0
- Date:
- : 25. Feb. 2009
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.
Generated on Tue Jul 12 2022 17:06:02 by 1.7.2