Lines Matching defs:txBuf
123 uint8_t rxBuf[8], txBuf[8];
128 memset(txBuf, 0, sizeof(txBuf));
131 txBuf[0] = STATUS_REGISTER_READ;
132 cmd.tx_cmd = txBuf;
143 uint8_t rxBuf[8], txBuf[8];
148 memset(txBuf, 0, sizeof(txBuf));
151 txBuf[0] = MANUFACTURER_ID;
152 cmd.tx_cmd = &txBuf;
301 uint8_t rxBuf[8], txBuf[8];
315 memset(txBuf, 0, sizeof(txBuf));
317 cmd.tx_cmd = txBuf;
337 txBuf[0] = CONTINUOUS_ARRAY_READ;
363 txBuf[0] = BUFFER_TRANSFER;
364 txBuf[1] = ((addr >> 16) & 0xff);
365 txBuf[2] = ((addr >> 8) & 0xff);
366 txBuf[3] = 0;
378 txBuf[0] = PROGRAM_THROUGH_BUFFER;
382 txBuf[1] = ((addr >> 16) & 0xff);
383 txBuf[2] = ((addr >> 8) & 0xff);
384 txBuf[3] = (addr & 0xff);
395 txBuf[0] = BUFFER_COMPARE;
396 txBuf[1] = ((addr >> 16) & 0xff);
397 txBuf[2] = ((addr >> 8) & 0xff);
398 txBuf[3] = 0;