Lines Matching refs:area
133 - Type of Modbus register area.
134 …B_PARAM_DISCRETE` - represents Input , Holding, Coil and Discrete input register area accordingly;
137 - Relative register address of the characteristic in the register area.
410 .. note:: One slave can define several area descriptors per each type of Modbus register area with …
412 Register area is defined by using the :cpp:type:`mb_register_area_descriptor_t` structure.
414 .. list-table:: Table 3 Modbus register area descriptor
421 … register relative offset for defined register area. Example: register address = 40002 ( 4x regist…
423 - Type of the Modbus register area. Refer to :cpp:type:`mb_param_type_t` for more information.
425 … - A pointer to the memory area which is used to store the register data for this area descriptor.
427 - The size of the memory area in bytes which is used to store register data.
431 The function initializes Modbus communication descriptors for each type of Modbus register area (Ho…
440 mb_register_area_descriptor_t reg_area; // Modbus register area descriptor structure
441 unit16_t holding_reg_area[MB_REG_HOLD_CNT] = {0}; // storage area for holding registers
442 unit16_t input_reg_area[MB_REG_INPUT_CNT] = {0}; // storage area for input registers
444 reg_area.type = MB_PARAM_HOLDING; // Set type of register area
445 …reg_area.start_offset = MB_REG_HOLDING_START_AREA0; // Offset of register area in Modb…
447 …= sizeof(holding_reg_area) << 1; // Set the size of register storage area in bytes
457 …area descriptor per each Modbus register type must be set in order to provide register access to i…
459 Direct access to register area from user application must be protected by critical section:
549 …- type of the Modbus register area being accessed (See the :cpp:type:`mb_event_group_t` for more i…
551 - memory address that corresponds to accessed register in defined area descriptor