Searched refs:reg_discrete_start (Results 1 – 1 of 1) sorted by relevance
448 uint16_t reg_discrete_start = (uint16_t)it->start_offset; // MB offset of registers in mbc_reg_discrete_slave_cb() local451 …reg_index = (uint16_t) (address - reg_discrete_start) / 8; // Get register index in the buffer for… in mbc_reg_discrete_slave_cb()452 reg_bit_index = (uint16_t)(address - reg_discrete_start) % 8; // Get bit index in mbc_reg_discrete_slave_cb()