Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/driver/test/
Dtest_rmt.c227 static void test_rmt_translator(const void *src, rmt_item32_t *dest, size_t src_size, in test_rmt_translator()
230 const rmt_item32_t bit0 = {{{ 10, 1, 20, 0 }}}; //Logical 0 in test_rmt_translator()
231 const rmt_item32_t bit1 = {{{ 20, 1, 10, 0 }}}; //Logical 1 in test_rmt_translator()
235 rmt_item32_t *pdest = dest; in test_rmt_translator()
276 rmt_item32_t *items = NULL; in do_nec_tx_rx()
312 items = (rmt_item32_t *) xRingbufferReceive(rb, &length, 1000); in do_nec_tx_rx()
355 rmt_item32_t *items = malloc(sizeof(rmt_item32_t) * (SOC_RMT_MEM_WORDS_PER_CHANNEL - 1));
357 items[i] = (rmt_item32_t) {
372 rmt_item32_t *frames = NULL;
414 frames = (rmt_item32_t *) xRingbufferReceive(rb, &length, 1000);
[all …]
/hal_espressif-3.4.0/examples/peripherals/rmt/musical_buzzer/components/musical_buzzer/src/
Dmusical_buzzer_rmt.c43 static IRAM_ATTR rmt_item32_t update_notation_freq_duration(rmt_buzzer_t *rmt_buzzer) in update_notation_freq_duration()
45 rmt_item32_t notation_code = {.level0 = 1, .duration0 = 1, .level1 = 0, .duration1 = 1}; in update_notation_freq_duration()
70 rmt_item32_t notation_code = update_notation_freq_duration(rmt_buzzer); in buzzer_play()
100 rmt_item32_t notation_code = update_notation_freq_duration(rmt_buzzer); in rmt_tx_loop_end()
/hal_espressif-3.4.0/examples/peripherals/rmt/ir_protocols/components/infrared_tools/src/
Dir_parser_rmt_nec.c48 rmt_item32_t *buffer;
64 rmt_item32_t item = nec_parser->buffer[nec_parser->cursor]; in nec_parse_head()
74 rmt_item32_t item = nec_parser->buffer[nec_parser->cursor]; in nec_parse_logic0()
83 rmt_item32_t item = nec_parser->buffer[nec_parser->cursor]; in nec_parse_logic1()
112 rmt_item32_t item = nec_parser->buffer[nec_parser->cursor]; in nec_parse_repeat_frame()
Dir_builder_rmt_rc5.c42 rmt_item32_t buffer[0];
143 *(rmt_item32_t **)result = rc5_builder->buffer; in rc5_builder_get_result()
163 uint32_t builder_size = sizeof(rc5_builder_t) + config->buffer_size * sizeof(rmt_item32_t); in ir_builder_rmt_new_rc5()
Dir_builder_rmt_nec.c48 rmt_item32_t buffer[0];
150 *(rmt_item32_t **)result = nec_builder->buffer; in nec_builder_get_result()
170 uint32_t builder_size = sizeof(nec_builder_t) + config->buffer_size * sizeof(rmt_item32_t); in ir_builder_rmt_new_nec()
Dir_parser_rmt_rc5.c40 rmt_item32_t *buffer;
/hal_espressif-3.4.0/examples/peripherals/rmt/step_motor/components/step_motor/src/
Dstep_motor_rmt.c35 rmt_item32_t rmt_items_loop;
37 rmt_item32_t *rmt_items_speedup;
38 rmt_item32_t *rmt_items_speeddown;
69 static esp_err_t helper_fill_rmt_items(rmt_item32_t *items, uint32_t speed, const step_motor_driver… in helper_fill_rmt_items()
165 rmt_handle->rmt_items_speedup = malloc(sizeof(rmt_item32_t) * speed_steps); in rmt_step_motor_smoothstep()
168 rmt_handle->rmt_items_speeddown = malloc(sizeof(rmt_item32_t) * speed_steps); in rmt_step_motor_smoothstep()
/hal_espressif-3.4.0/examples/common_components/led_strip/
Dled_strip_rmt_ws2812.c66 static void IRAM_ATTR ws2812_rmt_adapter(const void *src, rmt_item32_t *dest, size_t src_size, in ws2812_rmt_adapter()
74 const rmt_item32_t bit0 = {{{ ws2812_t0h_ticks, 1, ws2812_t0l_ticks, 0 }}}; //Logical 0 in ws2812_rmt_adapter()
75 const rmt_item32_t bit1 = {{{ ws2812_t1h_ticks, 1, ws2812_t1l_ticks, 0 }}}; //Logical 1 in ws2812_rmt_adapter()
79 rmt_item32_t *pdest = dest; in ws2812_rmt_adapter()
/hal_espressif-3.4.0/examples/peripherals/rmt/ir_protocols/main/
Dir_protocols_main.c34 rmt_item32_t *items = NULL; in example_ir_rx_task()
54 items = (rmt_item32_t *) xRingbufferReceive(rb, &length, portMAX_DELAY); in example_ir_rx_task()
79 rmt_item32_t *items = NULL; in example_ir_tx_task()
/hal_espressif-3.4.0/components/driver/
Drmt.c79 const rmt_item32_t *tx_data;
85 rmt_item32_t *tx_buf;
88 rmt_item32_t *rx_item_buf;
692 static void IRAM_ATTR rmt_fill_memory(rmt_channel_t channel, const rmt_item32_t *item, in rmt_fill_memory()
700 esp_err_t rmt_fill_tx_items(rmt_channel_t channel, const rmt_item32_t *item, uint16_t item_num, uin… in rmt_fill_tx_items()
730 … volatile rmt_item32_t *data = (rmt_item32_t *)RMTMEM.chan[RMT_ENCODE_RX_CHANNEL(channel)].data32; in rmt_rx_get_mem_len_in_isr()
745 rmt_item32_t volatile *addr = NULL; in rmt_driver_isr_default()
796 const rmt_item32_t *pdata = p_rmt->tx_data; in rmt_driver_isr_default()
803 rmt_item32_t stop_data = {0}; in rmt_driver_isr_default()
807 rmt_item32_t stop_data = {0}; in rmt_driver_isr_default()
[all …]
/hal_espressif-3.4.0/components/driver/include/driver/
Drmt.h165 typedef void (*sample_to_rmt_t)(const void *src, rmt_item32_t *dest, size_t src_size, size_t wanted…
636 esp_err_t rmt_fill_tx_items(rmt_channel_t channel, const rmt_item32_t *item, uint16_t item_num, uin…
716 esp_err_t rmt_write_items(rmt_channel_t channel, const rmt_item32_t *rmt_item, int item_num, bool w…
/hal_espressif-3.4.0/components/soc/esp32s3/include/soc/
Drmt_struct.h1102 } rmt_item32_t; typedef
1106 volatile rmt_item32_t data32[48];
1111 _Static_assert(sizeof(rmt_item32_t) == 0x04, "Invalid size of rmt_item32_t structure");
/hal_espressif-3.4.0/components/soc/esp32/include/soc/
Drmt_struct.h248 } rmt_item32_t; typedef
253 rmt_item32_t data32[64];
/hal_espressif-3.4.0/examples/peripherals/rmt/morse_code/main/
Dmorse_code_main.c28 static const rmt_item32_t morse_esp[] = {
/hal_espressif-3.4.0/components/soc/esp32h2/include/soc/
Drmt_struct.h291 } rmt_item32_t; typedef
296 rmt_item32_t data32[48];
/hal_espressif-3.4.0/components/soc/esp32c3/include/soc/
Drmt_struct.h291 } rmt_item32_t; typedef
296 rmt_item32_t data32[48];
/hal_espressif-3.4.0/components/soc/esp32s2/include/soc/
Drmt_struct.h815 } rmt_item32_t; typedef
820 rmt_item32_t data32[64];
/hal_espressif-3.4.0/components/hal/include/hal/
Drmt_hal.h108 uint32_t rmt_hal_receive(rmt_hal_context_t *hal, uint32_t channel, rmt_item32_t *buf);
/hal_espressif-3.4.0/components/hal/
Drmt_hal.c72 uint32_t rmt_hal_receive(rmt_hal_context_t *hal, uint32_t channel, rmt_item32_t *buf) in rmt_hal_receive()
/hal_espressif-3.4.0/tools/unit-test-app/components/test_utils/
Dref_clock_impl_rmt_pcnt.c73 rmt_item32_t data = { in ref_clock_init()
/hal_espressif-3.4.0/docs/en/api-reference/peripherals/
Drmt.rst181 …roller, later called an 'item', is provided in a structure :cpp:type:`rmt_item32_t`. Each item con…