LPCOpen v3.01, a little question ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPCOpen v3.01, a little question ?

284 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by okwh on Thu Oct 01 22:26:12 MST 2015
In newest LPCOpen v3.01, for GPIO's setting,
Why some functions  have limit like : "port number (supports port 0 only)"  for setting  DIR,MASK, PIN, MPIN, SET, CLR, NOT   in gpio_5410x.h file  ?

supports port 0 only ?  then  how to do for port 1  ?


for example
/**
* @briefSet all GPIO raw pin states (regardless of masking)
* @parampGPIO: The base of GPIO peripheral on the chip
* @paramport: port Number (supports port 0 only) ????????????????????????????
* @paramvalue: Value to set all GPIO pin states (0..n) to
* @returnNothing
*/
__STATIC_INLINE void Chip_GPIO_SetPortValue(LPC_GPIO_T *pGPIO, uint8_t port, uint32_t value)
{
pGPIO->PIN[port] = value;
}


  Where are those ROM_xxx functions ??
Labels (1)
0 Kudos
Reply
0 Replies