Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
lpc17xx_gpio.c File Reference
: Contains all functions support for GPIO firmware library on LPC17xx More...
Go to the source code of this file.
Functions | |
| static LPC_GPIO_TypeDef * | GPIO_GetPointer (uint8_t portNum) |
| Get pointer to GPIO peripheral due to GPIO port. | |
| static GPIO_HalfWord_TypeDef * | FIO_HalfWordGetPointer (uint8_t portNum) |
| Get pointer to FIO peripheral in halfword accessible style due to FIO port. | |
| static GPIO_Byte_TypeDef * | FIO_ByteGetPointer (uint8_t portNum) |
| Get pointer to FIO peripheral in byte accessible style due to FIO port. | |
| void | GPIO_SetDir (uint8_t portNum, uint32_t bitValue, uint8_t dir) |
| Set Direction for GPIO port. | |
| void | GPIO_SetValue (uint8_t portNum, uint32_t bitValue) |
| Set Value for bits that have output direction on GPIO port. | |
| void | GPIO_ClearValue (uint8_t portNum, uint32_t bitValue) |
| Clear Value for bits that have output direction on GPIO port. | |
| uint32_t | GPIO_ReadValue (uint8_t portNum) |
| Read Current state on port pin that have input direction of GPIO. | |
| void | FIO_SetDir (uint8_t portNum, uint32_t bitValue, uint8_t dir) |
| The same with GPIO_SetDir() | |
| void | FIO_SetValue (uint8_t portNum, uint32_t bitValue) |
| The same with GPIO_SetValue() | |
| void | FIO_ClearValue (uint8_t portNum, uint32_t bitValue) |
| The same with GPIO_ClearValue() | |
| uint32_t | FIO_ReadValue (uint8_t portNum) |
| The same with GPIO_ReadValue() | |
| void | FIO_SetMask (uint8_t portNum, uint32_t bitValue, uint8_t maskValue) |
| Set mask value for bits in FIO port. | |
| void | FIO_HalfWordSetDir (uint8_t portNum, uint8_t halfwordNum, uint16_t bitValue, uint8_t dir) |
| Set direction for FIO port in halfword accessible style. | |
| void | FIO_HalfWordSetMask (uint8_t portNum, uint8_t halfwordNum, uint16_t bitValue, uint8_t maskValue) |
| Set mask value for bits in FIO port in halfword accessible style. | |
| void | FIO_HalfWordSetValue (uint8_t portNum, uint8_t halfwordNum, uint16_t bitValue) |
| Set bits for FIO port in halfword accessible style. | |
| void | FIO_HalfWordClearValue (uint8_t portNum, uint8_t halfwordNum, uint16_t bitValue) |
| Clear bits for FIO port in halfword accessible style. | |
| uint16_t | FIO_HalfWordReadValue (uint8_t portNum, uint8_t halfwordNum) |
| Read Current state on port pin that have input direction of GPIO in halfword accessible style. | |
| void | FIO_ByteSetDir (uint8_t portNum, uint8_t byteNum, uint8_t bitValue, uint8_t dir) |
| Set direction for FIO port in byte accessible style. | |
| void | FIO_ByteSetMask (uint8_t portNum, uint8_t byteNum, uint8_t bitValue, uint8_t maskValue) |
| Set mask value for bits in FIO port in byte accessible style. | |
| void | FIO_ByteSetValue (uint8_t portNum, uint8_t byteNum, uint8_t bitValue) |
| Set bits for FIO port in byte accessible style. | |
| void | FIO_ByteClearValue (uint8_t portNum, uint8_t byteNum, uint8_t bitValue) |
| Clear bits for FIO port in byte accessible style. | |
| uint8_t | FIO_ByteReadValue (uint8_t portNum, uint8_t byteNum) |
| Read Current state on port pin that have input direction of GPIO in byte accessible style. | |
Detailed Description
: Contains all functions support for GPIO firmware library on LPC17xx
- Version:
- : 1.0
- Date:
- : 11. Jun. 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_gpio.c.
Generated on Tue Jul 12 2022 17:06:02 by
1.7.2