DoubleBuff双缓冲 1.双缓冲结构体 typedef struct stManagerBuffer { /* 缓冲区 */ uint8_t ucDoubleBuff[2][1024*32]; /* 当前缓冲区 */ uint8_t ucCurrentBuff; /* 缓冲区周期检测标志 */ uint8_t ucDetectFlag; /* 缓冲区指针 */ uint16_t usBuffCount[2];