if ( status == ERR_SUCCESS ) { CH375HM_INDEX_WR( 1 ); DataCount = CH375HM_DATA_RD( ); if ( DataCount ) { buf = (unsigned char *)&mCmdParam; i = 2; do { CH375HM_INDEX_WR( i ); i ++; *buf = CH375HM_DATA_RD( ); buf ++; while ( -- DataCount ); }... 以上是v26新版中的程序,为什么每次操作ch421时都要指定Index,例如: 在CH375HM_INDEX_WR( 1 ); 以后索引地址应该自动+1, 可后面又指定一次,i=2, CH375HM_INDEX_WR( i );不解
热门产品 :
CH394: 以太网协议栈芯片