lpcopen bug

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

lpcopen bug

352 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lenguyen on Thu Mar 20 09:06:14 MST 2014
Hi All,

I am running into the issue to use Port 5 in LPC4088 however the  LPC_IOCON_T defined max as 5 ports instead of 6 ports.

typedef struct {
#if defined(CHIP_LPC175X_6X)
__IO uint32_t PINSEL[11];
uint32_t RESERVED0[5];
__IO uint32_t PINMODE[10];
__IO uint32_t PINMODE_OD[5];
__IO uint32_t I2CPADCFG;
#else
__IO uint32_t p[5][32];
#endif
} LPC_IOCON_T;

Am I missing something ?

Thanks
LN
Labels (1)
0 Kudos
1 Reply

313 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sundarapandian on Thu Mar 20 13:30:05 MST 2014
Thank you for pointing out the bug. Please use
__IO uin32_t p[6][32];
instead of
__IO uint32_t p[5][32];
this fix will be available with the next release.
0 Kudos