Lines Matching refs:buffer_tx

460 	uint8_t buffer_tx[3];  in ads114s0x_read_register()  local
461 uint8_t buffer_rx[ARRAY_SIZE(buffer_tx)]; in ads114s0x_read_register()
463 .buf = buffer_tx, in ads114s0x_read_register()
464 .len = ARRAY_SIZE(buffer_tx), in ads114s0x_read_register()
479 buffer_tx[0] = ((uint8_t)ADS114S0X_COMMAND_RREG) | ((uint8_t)register_address); in ads114s0x_read_register()
481 buffer_tx[1] = 0x00; in ads114s0x_read_register()
500 uint8_t buffer_tx[3]; in ads114s0x_write_register() local
502 .buf = buffer_tx, in ads114s0x_write_register()
503 .len = ARRAY_SIZE(buffer_tx), in ads114s0x_write_register()
510 buffer_tx[0] = ((uint8_t)ADS114S0X_COMMAND_WREG) | ((uint8_t)register_address); in ads114s0x_write_register()
512 buffer_tx[1] = 0x00; in ads114s0x_write_register()
513 buffer_tx[2] = value; in ads114s0x_write_register()
531 uint8_t buffer_tx[2]; in ads114s0x_write_multiple_registers() local
534 .buf = buffer_tx, in ads114s0x_write_multiple_registers()
535 .len = ARRAY_SIZE(buffer_tx), in ads114s0x_write_multiple_registers()
552 buffer_tx[0] = ((uint8_t)ADS114S0X_COMMAND_WREG) | ((uint8_t)register_addresses[0]); in ads114s0x_write_multiple_registers()
553 buffer_tx[1] = count - 1; in ads114s0x_write_multiple_registers()
577 uint8_t buffer_tx[1]; in ads114s0x_send_command() local
579 .buf = buffer_tx, in ads114s0x_send_command()
580 .len = ARRAY_SIZE(buffer_tx), in ads114s0x_send_command()
587 buffer_tx[0] = (uint8_t)command; in ads114s0x_send_command()
994 uint8_t buffer_tx[3]; in ads114s0x_read_sample() local
995 uint8_t buffer_rx[ARRAY_SIZE(buffer_tx)]; in ads114s0x_read_sample()
997 .buf = buffer_tx, in ads114s0x_read_sample()
998 .len = ARRAY_SIZE(buffer_tx), in ads114s0x_read_sample()
1013 buffer_tx[0] = (uint8_t)ADS114S0X_COMMAND_RDATA; in ads114s0x_read_sample()