我的这些IO口已经定义了,在IO.H中,我一直想不明白编译不出错,但是跟踪时,总是不能跟到 void Wsenddata ( unsigned char headadd , unsigned char N , unsigned char *buf ) { startI2C () ; 无法设断点
senddata ( 0xa0 ) ; 无法设断点
void Rreceivedata ( unsigned char headadd , unsigned char N , unsigned char *buf )
{ startI2C () ; 无法设断点
senddata ( 0xa0 ) ; 无法设断点
这两个函数是进行8个字节连续操作的,其他语句可以正常断点,就是这开头两行,跟不了,试了重写了函数单字节操作没有问题,为什么连续操作就不行呢?
|