Home
last modified time | relevance | path

Searched refs:pulse_duration_ticks (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_rc5.c37 uint32_t pulse_duration_ticks; member
52 rc5_builder->buffer[rc5_builder->cursor].duration0 = rc5_builder->pulse_duration_ticks; in rc5_builder_make_head()
54 rc5_builder->buffer[rc5_builder->cursor].duration1 = rc5_builder->pulse_duration_ticks; in rc5_builder_make_head()
58 rc5_builder->buffer[rc5_builder->cursor].duration0 = rc5_builder->pulse_duration_ticks; in rc5_builder_make_head()
60 rc5_builder->buffer[rc5_builder->cursor].duration1 = rc5_builder->pulse_duration_ticks; in rc5_builder_make_head()
64 rc5_builder->buffer[rc5_builder->cursor].duration0 = rc5_builder->pulse_duration_ticks; in rc5_builder_make_head()
66 rc5_builder->buffer[rc5_builder->cursor].duration1 = rc5_builder->pulse_duration_ticks; in rc5_builder_make_head()
75 rc5_builder->buffer[rc5_builder->cursor].duration0 = rc5_builder->pulse_duration_ticks; in rc5_builder_make_logic0()
77 rc5_builder->buffer[rc5_builder->cursor].duration1 = rc5_builder->pulse_duration_ticks; in rc5_builder_make_logic0()
86 rc5_builder->buffer[rc5_builder->cursor].duration0 = rc5_builder->pulse_duration_ticks; in rc5_builder_make_logic1()
[all …]
Dir_parser_rmt_rc5.c38 uint32_t pulse_duration_ticks; member
66 return (duration < (rc5_parser->pulse_duration_ticks + rc5_parser->margin_ticks)) && in rc5_duration_one_unit()
67 (duration > (rc5_parser->pulse_duration_ticks - rc5_parser->margin_ticks)); in rc5_duration_one_unit()
72 return (duration < (rc5_parser->pulse_duration_ticks * 2 + rc5_parser->margin_ticks)) && in rc5_duration_two_unit()
73 (duration > (rc5_parser->pulse_duration_ticks * 2 - rc5_parser->margin_ticks)); in rc5_duration_two_unit()
157 rc5_parser->pulse_duration_ticks = (uint32_t)(ratio * RC5_PULSE_DURATION_US); in ir_parser_rmt_new_rc5()