/* Write a big-endian byte to an internal address of an I2C slave.  */
static int i2c_reg_write_byte_be(const struct i2c_dt_spec *bus, uint8_t reg_addr, uint8_t value)
/* Write a big-endian byte to an internal address of an I2C slave.  */
static int i2c_reg_write_byte_be(const struct i2c_dt_spec *bus, uint8_t reg_addr, uint8_t value)
{
	uint8_t tx_buf[3] = { reg_addr, value };
	return i2c_write_dt(bus, tx_buf, 2);
}