EasyManuals Logo

Espressif ESP32-S2 User Manual

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #645 background imageLoading...
Page #645 background image
Chapter 2. API Reference
Type Definitions
typedef esp_err_t (*iface_init)(void **)
common interface method typesInterface method init
typedef esp_err_t (*iface_destroy)(void)
Interface method destroy
typedef esp_err_t (*iface_setup)(void *)
Interface method setup
typedef esp_err_t (*iface_start)(void)
Interface method start
Enumerations
enum mb_port_type_t
Types of actual Modbus implementation.
Values:
MB_PORT_SERIAL_MASTER = 0x00
Modbus port type serial master.
MB_PORT_SERIAL_SLAVE
Modbus port type serial slave.
MB_PORT_TCP_MASTER
Modbus port type TCP master.
MB_PORT_TCP_SLAVE
Modbus port type TCP slave.
MB_PORT_COUNT
Modbus port count.
MB_PORT_INACTIVE = 0xFF
enum mb_event_group_t
Event group for parameters notification.
Values:
MB_EVENT_NO_EVENTS = 0x00
MB_EVENT_HOLDING_REG_WR = BIT0
Modbus Event Write Holding registers.
MB_EVENT_HOLDING_REG_RD = BIT1
Modbus Event Read Holding registers.
MB_EVENT_INPUT_REG_RD = BIT3
Modbus Event Read Input registers.
MB_EVENT_COILS_WR = BIT4
Modbus Event Write Coils.
MB_EVENT_COILS_RD = BIT5
Modbus Event Read Coils.
MB_EVENT_DISCRETE_RD = BIT6
Modbus Event Read Discrete bits.
MB_EVENT_STACK_STARTED = BIT7
Modbus Event Stack started
enum mb_param_type_t
Type of Modbus parameter.
Values:
Espressif Systems 634
Submit Document Feedback
Release v4.4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Espressif ESP32-S2 and is the answer not in the manual?

Espressif ESP32-S2 Specifications

General IconGeneral
BrandEspressif
ModelESP32-S2
CategorySingle board computers
LanguageEnglish