Home
last modified time | relevance | path

Searched refs:STR (Results 1 – 8 of 8) sorted by relevance

/hal_espressif-2.7.6/examples/protocols/modbus/serial/mb_master/main/
Dmaster.c56 #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/
Dtests.c23 #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/
Dtcp_master.c60 #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/
Dtest_esp_flash.c129 #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/
Drtc_sleep.c168 #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/
Drtc_sleep.c172 #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/
Drtc_sleep.c245 #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/
Dessl.c39 #define _CHECK_EXECUTE_CMD(DEV, CMD, STR, ...) do{ \ argument
46 ESP_LOGE(TAG, STR); \