function cmd_i2c_write_register(address, reg_adrs, data) endfunction