Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/examples/peripherals/rmt/ir_protocols/components/infrared_tools/src/
Dir_builder_rmt_nec.c21 #define NEC_CHECK(a, str, goto_tag, ret_value, ...) \ macro
105NEC_CHECK(low_byte == (~high_byte & 0xFF), "address not match standard NEC protocol", err, ESP_ERR… in nec_build_frame()
108NEC_CHECK(low_byte == (~high_byte & 0xFF), "command not match standard NEC protocol", err, ESP_ERR… in nec_build_frame()
149 NEC_CHECK(result && length, "result and length can't be null", err, ESP_ERR_INVALID_ARG); in nec_builder_get_result()
167 NEC_CHECK(config, "nec configuration can't be null", err, NULL); in ir_builder_rmt_new_nec()
168 NEC_CHECK(config->buffer_size, "buffer size can't be zero", err, NULL); in ir_builder_rmt_new_nec()
172 NEC_CHECK(nec_builder, "request memory for nec_builder failed", err, NULL); in ir_builder_rmt_new_nec()
181 NEC_CHECK(rmt_get_counter_clock((rmt_channel_t)config->dev_hdl, &counter_clk_hz) == ESP_OK, in ir_builder_rmt_new_nec()
Dir_parser_rmt_nec.c22 #define NEC_CHECK(a, str, goto_tag, ret_value, ...) \ macro
124 NEC_CHECK(raw_data, "input data can't be null", err, ESP_ERR_INVALID_ARG); in nec_parser_input()
146NEC_CHECK(address && command && repeat, "address, command and repeat can't be null", out, ESP_ERR_… in nec_parser_get_scan_code()
189 NEC_CHECK(config, "nec configuration can't be null", err, NULL); in ir_parser_rmt_new_nec()
192 NEC_CHECK(nec_parser, "request memory for nec_parser failed", err, NULL); in ir_parser_rmt_new_nec()
200 NEC_CHECK(rmt_get_counter_clock((rmt_channel_t)config->dev_hdl, &counter_clk_hz) == ESP_OK, in ir_parser_rmt_new_nec()