lpcopen bug

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

lpcopen bug

772件の閲覧回数
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 返信

733件の閲覧回数
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 件の賞賛
返信