/hal_espressif-2.7.6/examples/protocols/modbus/serial/mb_master/main/ |
D | master.c | 56 #define STR(fieldname) ((const char*)( fieldname )) macro 90 { CID_INP_DATA_0, STR("Data_channel_0"), STR("Volts"), MB_DEVICE_ADDR1, MB_PARAM_INPUT, 0, 2, 92 { CID_HOLD_DATA_0, STR("Humidity_1"), STR("%rH"), MB_DEVICE_ADDR1, MB_PARAM_HOLDING, 0, 2, 94 { CID_INP_DATA_1, STR("Temperature_1"), STR("C"), MB_DEVICE_ADDR1, MB_PARAM_INPUT, 2, 2, 96 { CID_HOLD_DATA_1, STR("Humidity_2"), STR("%rH"), MB_DEVICE_ADDR1, MB_PARAM_HOLDING, 2, 2, 98 { CID_INP_DATA_2, STR("Temperature_2"), STR("C"), MB_DEVICE_ADDR1, MB_PARAM_INPUT, 4, 2, 100 { CID_HOLD_DATA_2, STR("Humidity_3"), STR("%rH"), MB_DEVICE_ADDR1, MB_PARAM_HOLDING, 4, 2, 102 { CID_HOLD_TEST_REG, STR("Test_regs"), STR("__"), MB_DEVICE_ADDR1, MB_PARAM_HOLDING, 10, 58, 104 { CID_RELAY_P1, STR("RelayP1"), STR("on/off"), MB_DEVICE_ADDR1, MB_PARAM_COIL, 0, 8, 106 { CID_RELAY_P2, STR("RelayP2"), STR("on/off"), MB_DEVICE_ADDR1, MB_PARAM_COIL, 8, 8,
|
/hal_espressif-2.7.6/examples/protocols/http_server/advanced_tests/main/ |
D | tests.c | 23 #define STR "Hello World!" in hello_get_handler() macro 25 httpd_resp_send(req, STR, HTTPD_RESP_USE_STRLEN); in hello_get_handler() 27 #undef STR in hello_get_handler() 122 #define STR "Hello World!" in hello_type_get_handler() macro 124 httpd_resp_send(req, STR, HTTPD_RESP_USE_STRLEN); in hello_type_get_handler() 126 #undef STR in hello_type_get_handler() 131 #define STR "Hello World!" in hello_status_get_handler() macro 133 httpd_resp_send(req, STR, HTTPD_RESP_USE_STRLEN); in hello_status_get_handler() 135 #undef STR in hello_status_get_handler() 267 #define STR "Hello Double World!" in generate_async_resp() macro [all …]
|
/hal_espressif-2.7.6/examples/protocols/modbus/tcp/mb_tcp_master/main/ |
D | tcp_master.c | 60 #define STR(fieldname) ((const char*)( fieldname )) macro 111 { CID_INP_DATA_0, STR("Data_channel_0"), STR("Volts"), MB_DEVICE_ADDR1, MB_PARAM_INPUT, 0, 2, 113 { CID_HOLD_DATA_0, STR("Humidity_1"), STR("%rH"), MB_DEVICE_ADDR1, MB_PARAM_HOLDING, 0, 2, 115 { CID_INP_DATA_1, STR("Temperature_1"), STR("C"), MB_DEVICE_ADDR1, MB_PARAM_INPUT, 2, 2, 117 { CID_HOLD_DATA_1, STR("Humidity_2"), STR("%rH"), MB_DEVICE_ADDR1, MB_PARAM_HOLDING, 2, 2, 119 { CID_INP_DATA_2, STR("Temperature_2"), STR("C"), MB_DEVICE_ADDR1, MB_PARAM_INPUT, 4, 2, 121 { CID_HOLD_DATA_2, STR("Humidity_3"), STR("%rH"), MB_DEVICE_ADDR1, MB_PARAM_HOLDING, 4, 2, 123 { CID_RELAY_P1, STR("RelayP1"), STR("on/off"), MB_DEVICE_ADDR1, MB_PARAM_COIL, 0, 8, 125 { CID_RELAY_P2, STR("RelayP2"), STR("on/off"), MB_DEVICE_ADDR1, MB_PARAM_COIL, 8, 8,
|
/hal_espressif-2.7.6/components/spi_flash/test/ |
D | test_esp_flash.c | 129 #define FLASH_TEST_CASE(STR, FUNC_TO_RUN) \ argument 130 …TEST_CASE(STR, "[esp_flash]") {flash_test_func(FUNC_TO_RUN, 1 /* first index reserved for main fla… 132 #define FLASH_TEST_CASE_IGNORE(STR, FUNC_TO_RUN) \ argument 133 …TEST_CASE(STR, "[esp_flash][ignore]") {flash_test_func(FUNC_TO_RUN, 1 /* first index reserved for … 142 #define FLASH_TEST_CASE_3(STR, FUNCT_TO_RUN) argument 143 #define FLASH_TEST_CASE_3_IGNORE(STR, FUNCT_TO_RUN) argument 146 #define FLASH_TEST_CASE_3(STR, FUNC_TO_RUN) \ argument 147 …TEST_CASE(STR", 3 chips", "[esp_flash_3][test_env=UT_T1_ESP_FLASH]") {flash_test_func(FUNC_TO_RUN,… 149 #define FLASH_TEST_CASE_3_IGNORE(STR, FUNC_TO_RUN) \ argument 150 …TEST_CASE(STR", 3 chips", "[esp_flash_3][test_env=UT_T1_ESP_FLASH][ignore]") {flash_test_func(FUNC… [all …]
|
/hal_espressif-2.7.6/components/esp_hw_support/port/esp32c3/ |
D | rtc_sleep.c | 168 #define STR(X) STR2(X) macro 198 "li t1, "STR(SYSTEM_RTC_MEM_CRC_FINISH)"\n" in rtc_deep_sleep_start()
|
/hal_espressif-2.7.6/components/esp_hw_support/port/esp32s2/ |
D | rtc_sleep.c | 172 #define STR(X) STR2(X) macro 205 "bbci a2, "STR(DPORT_RTC_MEM_CRC_FINISH_S)", .Lwaitcrc\n" in rtc_deep_sleep_start()
|
/hal_espressif-2.7.6/components/esp_hw_support/port/esp32/ |
D | rtc_sleep.c | 245 #define STR(X) STR2(X) macro 279 "bbci a2, "STR(RTC_MEM_CRC_FINISH_S)", .Lwaitcrc\n" in rtc_deep_sleep_start()
|
/hal_espressif-2.7.6/components/esp_serial_slave_link/ |
D | essl.c | 39 #define _CHECK_EXECUTE_CMD(DEV, CMD, STR, ...) do{ \ argument 46 ESP_LOGE(TAG, STR); \
|