Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/examples/peripherals/rmt/ir_protocols/components/infrared_tools/src/
Dir_builder_rmt_nec.c53 nec_builder_t *nec_builder = __containerof(builder, nec_builder_t, parent); in nec_builder_make_head() local
54 nec_builder->cursor = 0; in nec_builder_make_head()
55 nec_builder->buffer[nec_builder->cursor].level0 = !nec_builder->inverse; in nec_builder_make_head()
56 nec_builder->buffer[nec_builder->cursor].duration0 = nec_builder->leading_code_high_ticks; in nec_builder_make_head()
57 nec_builder->buffer[nec_builder->cursor].level1 = nec_builder->inverse; in nec_builder_make_head()
58 nec_builder->buffer[nec_builder->cursor].duration1 = nec_builder->leading_code_low_ticks; in nec_builder_make_head()
59 nec_builder->cursor += 1; in nec_builder_make_head()
65 nec_builder_t *nec_builder = __containerof(builder, nec_builder_t, parent); in nec_builder_make_logic0() local
66 nec_builder->buffer[nec_builder->cursor].level0 = !nec_builder->inverse; in nec_builder_make_logic0()
67 nec_builder->buffer[nec_builder->cursor].duration0 = nec_builder->payload_logic0_high_ticks; in nec_builder_make_logic0()
[all …]