Home
last modified time | relevance | path

Searched refs:rc5_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_rc5.c47 rc5_builder_t *rc5_builder = __containerof(builder, rc5_builder_t, parent); in rc5_builder_make_head() local
48 rc5_builder->cursor = 0; in rc5_builder_make_head()
49 rc5_builder->toggle = !rc5_builder->toggle; in rc5_builder_make_head()
51 rc5_builder->buffer[rc5_builder->cursor].level0 = rc5_builder->inverse; in rc5_builder_make_head()
52 rc5_builder->buffer[rc5_builder->cursor].duration0 = rc5_builder->pulse_duration_ticks; in rc5_builder_make_head()
53 rc5_builder->buffer[rc5_builder->cursor].level1 = !rc5_builder->inverse; in rc5_builder_make_head()
54 rc5_builder->buffer[rc5_builder->cursor].duration1 = rc5_builder->pulse_duration_ticks; in rc5_builder_make_head()
55 rc5_builder->cursor += 1; in rc5_builder_make_head()
57 rc5_builder->buffer[rc5_builder->cursor].level0 = rc5_builder->s2_bit ^ rc5_builder->inverse; in rc5_builder_make_head()
58 rc5_builder->buffer[rc5_builder->cursor].duration0 = rc5_builder->pulse_duration_ticks; in rc5_builder_make_head()
[all …]