Home
last modified time | relevance | path

Searched refs:reg_index (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.4.0/components/freemodbus/common/
Desp_modbus_slave.c305 uint16_t reg_index; in mbc_reg_input_slave_cb() local
307 reg_index = (uint16_t)(address - input_reg_start); in mbc_reg_input_slave_cb()
308 reg_index <<= 1; // register Address to byte address in mbc_reg_input_slave_cb()
309 input_buffer += reg_index; in mbc_reg_input_slave_cb()
313 reg_index += 2; in mbc_reg_input_slave_cb()
336 uint16_t reg_index; in mbc_reg_holding_slave_cb() local
343 reg_index = (uint16_t) (address - reg_holding_start); in mbc_reg_holding_slave_cb()
344 reg_index <<= 1; // register Address to byte address in mbc_reg_holding_slave_cb()
345 holding_buffer += reg_index; in mbc_reg_holding_slave_cb()
351 reg_index += 2; in mbc_reg_holding_slave_cb()
[all …]
/hal_espressif-3.4.0/components/espcoredump/src/port/xtensa/
Dcore_dump_port.c86 uint32_t reg_index; member
203 s_extra_info.exccause.reg_index = EXCCAUSE; in esp_core_dump_get_regs_from_stack()
205 s_extra_info.excvaddr.reg_index = EXCVADDR; in esp_core_dump_get_regs_from_stack()
255 s_extra_info.exccause.reg_index = EXCCAUSE; in esp_core_dump_port_init()
484 if (ei->extra_regs[i].reg_index >= EPC_1 in esp_core_dump_summary_parse_extra_info()
485 && ei->extra_regs[i].reg_index < (EPC_1 + XCHAL_NUM_INTLEVELS)) { in esp_core_dump_summary_parse_extra_info()
486 summary->ex_info.epcx[ei->extra_regs[i].reg_index - EPC_1] = ei->extra_regs[i].reg_val; in esp_core_dump_summary_parse_extra_info()
487 summary->ex_info.epcx_reg_bits |= (1 << (ei->extra_regs[i].reg_index - EPC_1)); in esp_core_dump_summary_parse_extra_info()