|
请问大家:
我在看II驱动A24里的drv.cpp中
BOOL WRITE_IIC(UINT32 slvAddr, UINT8 n, UINT8 *data);
BOOL READ_IIC(UINT32 slvAddr,UINT32 addr,UINT8 n,UINT8 *data);
switch (dwCode) {
// IOCTL_A24_xxx
case IOCTL_A24_READ:
for (i=0;i<5;i++)
{
READ_IIC(0xA1,0x00,1,&chTemp); DEBUGMSG (1, (TEXT("read -- DATA[%d] --> : 0x%x \r\n"),i,chTemp));
}
break;
case IOCTL_A24_WRITE:
for (i=0;i<5;i++)
{
chTemp[0] = i;
chTemp[1] = 0xaa;
DEBUGMSG (1, (TEXT("write -- DATA[%d] --> : 0x%x \r\n"),i,chTemp));
WRITE_IIC(0xA0,2,&chTemp[0]); }
break;
但是我怎么找不到这两个函数的原型啊!! |
|