lpcopen bug

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

lpcopen bug

755 次查看
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
标签 (1)
0 项奖励
回复
1 回复

716 次查看
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 项奖励
回复