LPC43xx_I2C ready and tested ??

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

LPC43xx_I2C ready and tested ??

501件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by khfreiberg on Wed Oct 03 17:22:55 MST 2012
I try to use the 'I2C_TRANSFER_INTERRUPT' and added 'I2C_MasterHandler' to IRQ list.
First, I do not know any controller which allow a parameter for an interrupt service, and it doesn't work.
So I edited the driver code to use 'LPC_I2C0' as fixed input. Now the data transfer works, but I do not get a callback as defined in my passed dataset of type 'I2C_M_SETUP_Type'. I searched for 'callback' but I do not even find a location where the callback pointer is used. There is no code ?!? 
Additionally, what is this doing in an interrupt driven code:

while(I2C_MasterComplete[tmp] != TRUE);

I expect that the routine returns immediately when I set it up for using interrupts.
The source file says revision 1.0 from 06/02/2011. Is there something newer available?
ラベル(1)
0 件の賞賛
返信
0 返答(返信)