Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/driver/test/
Dtest_rmt.c56 rmt_config_t rx_config = RMT_DEFAULT_CONFIG_RX(RMT_DATA_IO, rx_channel); in rmt_setup_testbench() local
58 rx_config.flags |= RMT_CHANNEL_FLAGS_AWARE_DFS; in rmt_setup_testbench()
62 rx_config.rx_config.rm_carrier = true; in rmt_setup_testbench()
63 rx_config.rx_config.carrier_freq_hz = 38000; in rmt_setup_testbench()
64 rx_config.rx_config.carrier_duty_percent = 33; in rmt_setup_testbench()
65 rx_config.rx_config.carrier_level = RMT_CARRIER_LEVEL_HIGH; in rmt_setup_testbench()
68 TEST_ESP_OK(rmt_config(&rx_config)); in rmt_setup_testbench()
/hal_espressif-3.6.0/components/driver/include/driver/
Drmt.h79 rmt_rx_config_t rx_config; /*!< RMT RX parameter */ member
118 .rx_config = { \
/hal_espressif-3.6.0/components/driver/
Drmt.c644 uint8_t filter_cnt = rmt_param->rx_config.filter_ticks_thresh; in rmt_internal_config()
645 uint16_t threshold = rmt_param->rx_config.idle_threshold; in rmt_internal_config()
656 … rmt_ll_rx_enable_filter(dev, RMT_DECODE_RX_CHANNEL(channel), rmt_param->rx_config.filter_en); in rmt_internal_config()
664 …_enable_carrier_demodulation(dev, RMT_DECODE_RX_CHANNEL(channel), rmt_param->rx_config.rm_carrier); in rmt_internal_config()
665 if (rmt_param->rx_config.rm_carrier) { in rmt_internal_config()
666 …_get_channel_clock_div(dev, RMT_DECODE_RX_CHANNEL(channel)) / rmt_param->rx_config.carrier_freq_hz; in rmt_internal_config()
667 uint32_t duty_high = duty_total * rmt_param->rx_config.carrier_duty_percent / 100; in rmt_internal_config()
670 …rmt_ll_rx_set_carrier_level(dev, RMT_DECODE_RX_CHANNEL(channel), rmt_param->rx_config.carrier_leve… in rmt_internal_config()
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/
Drmt.rst156 In receive mode, set **rx_config** and the following members of :cpp:type:`rmt_rx_config_t`: