Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/a2dp/
Dbtc_a2dp_source.c155 SBC_ENC_PARAMS encoder; member
737 a2dp_source_local_param.btc_aa_src_cb.encoder.sbc_mode = SBC_MODE_STD; in btc_a2dp_source_enc_init()
738 a2dp_source_local_param.btc_aa_src_cb.encoder.s16ChannelMode = pInitAudio->ChannelMode; in btc_a2dp_source_enc_init()
739 a2dp_source_local_param.btc_aa_src_cb.encoder.s16NumOfSubBands = pInitAudio->NumOfSubBands; in btc_a2dp_source_enc_init()
740 a2dp_source_local_param.btc_aa_src_cb.encoder.s16NumOfBlocks = pInitAudio->NumOfBlocks; in btc_a2dp_source_enc_init()
741 … a2dp_source_local_param.btc_aa_src_cb.encoder.s16AllocationMethod = pInitAudio->AllocationMethod; in btc_a2dp_source_enc_init()
742 a2dp_source_local_param.btc_aa_src_cb.encoder.s16SamplingFreq = pInitAudio->SamplingFreq; in btc_a2dp_source_enc_init()
744 a2dp_source_local_param.btc_aa_src_cb.encoder.u16BitRate = btc_a2dp_source_get_sbc_rate(); in btc_a2dp_source_enc_init()
755 …a2dp_source_local_param.btc_aa_src_cb.encoder.s16ChannelMode, a2dp_source_local_param.btc_aa_src_c… in btc_a2dp_source_enc_init()
756 a2dp_source_local_param.btc_aa_src_cb.encoder.s16NumOfBlocks, in btc_a2dp_source_enc_init()
[all …]
/hal_espressif-3.6.0/examples/peripherals/pcnt/rotary_encoder/main/
Drotary_encoder_example_main.c23 rotary_encoder_t *encoder = NULL; in app_main() local
24 ESP_ERROR_CHECK(rotary_encoder_new_ec11(&config, &encoder)); in app_main()
27 ESP_ERROR_CHECK(encoder->set_glitch_filter(encoder, 1)); in app_main()
30 ESP_ERROR_CHECK(encoder->start(encoder)); in app_main()
34 ESP_LOGI(TAG, "Encoder value: %d", encoder->get_counter_value(encoder)); in app_main()
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/hf_client/
Dbta_hf_client_co.c59 SBC_ENC_PARAMS encoder; member
167 bta_hf_client_co_cb.encoder.sbc_mode = SBC_MODE_MSBC; in bta_hf_enc_init()
168 bta_hf_client_co_cb.encoder.s16NumOfBlocks = 15; in bta_hf_enc_init()
169 bta_hf_client_co_cb.encoder.s16NumOfSubBands = 8; in bta_hf_enc_init()
170 bta_hf_client_co_cb.encoder.s16AllocationMethod = SBC_LOUDNESS; in bta_hf_enc_init()
171 bta_hf_client_co_cb.encoder.s16BitPool = 26; in bta_hf_enc_init()
172 bta_hf_client_co_cb.encoder.s16ChannelMode = SBC_MONO; in bta_hf_enc_init()
173 bta_hf_client_co_cb.encoder.s16NumOfChannels = 1; in bta_hf_enc_init()
174 bta_hf_client_co_cb.encoder.s16SamplingFreq = SBC_sf16000; in bta_hf_enc_init()
176 SBC_Encoder_Init(&(bta_hf_client_co_cb.encoder)); in bta_hf_enc_init()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/hf_ag/
Dbta_ag_co.c68 SBC_ENC_PARAMS encoder; member
243 bta_ag_co_cb.encoder.sbc_mode = SBC_MODE_MSBC; in bta_hf_enc_init()
244 bta_ag_co_cb.encoder.s16NumOfBlocks = 15; in bta_hf_enc_init()
245 bta_ag_co_cb.encoder.s16NumOfSubBands = 8; in bta_hf_enc_init()
246 bta_ag_co_cb.encoder.s16AllocationMethod = SBC_LOUDNESS; in bta_hf_enc_init()
247 bta_ag_co_cb.encoder.s16BitPool = 26; in bta_hf_enc_init()
248 bta_ag_co_cb.encoder.s16ChannelMode = SBC_MONO; in bta_hf_enc_init()
249 bta_ag_co_cb.encoder.s16NumOfChannels = 1; in bta_hf_enc_init()
250 bta_ag_co_cb.encoder.s16SamplingFreq = SBC_sf16000; in bta_hf_enc_init()
252 SBC_Encoder_Init(&(bta_ag_co_cb.encoder)); in bta_hf_enc_init()
[all …]
/hal_espressif-3.6.0/examples/peripherals/pcnt/rotary_encoder/components/rotary_encoder/src/
Drotary_encoder_pcnt_ec11.c51 static esp_err_t ec11_set_glitch_filter(rotary_encoder_t *encoder, uint32_t max_glitch_us) in ec11_set_glitch_filter() argument
54 ec11_t *ec11 = __containerof(encoder, ec11_t, parent); in ec11_set_glitch_filter()
70 static esp_err_t ec11_start(rotary_encoder_t *encoder) in ec11_start() argument
72 ec11_t *ec11 = __containerof(encoder, ec11_t, parent); in ec11_start()
77 static esp_err_t ec11_stop(rotary_encoder_t *encoder) in ec11_stop() argument
79 ec11_t *ec11 = __containerof(encoder, ec11_t, parent); in ec11_stop()
84 static int ec11_get_counter_value(rotary_encoder_t *encoder) in ec11_get_counter_value() argument
86 ec11_t *ec11 = __containerof(encoder, ec11_t, parent); in ec11_get_counter_value()
92 static esp_err_t ec11_del(rotary_encoder_t *encoder) in ec11_del() argument
94 ec11_t *ec11 = __containerof(encoder, ec11_t, parent); in ec11_del()
/hal_espressif-3.6.0/examples/peripherals/pcnt/rotary_encoder/components/rotary_encoder/include/
Drotary_encoder.h71 esp_err_t (*set_glitch_filter)(rotary_encoder_t *encoder, uint32_t max_glitch_us);
81 esp_err_t (*start)(rotary_encoder_t *encoder);
91 esp_err_t (*stop)(rotary_encoder_t *encoder);
101 esp_err_t (*del)(rotary_encoder_t *encoder);
109 int (*get_counter_value)(rotary_encoder_t *encoder);
/hal_espressif-3.6.0/examples/peripherals/mcpwm/mcpwm_brushed_dc_control/main/
Dmcpwm_brushed_dc_control_example.c104 rotary_encoder_t *encoder = (rotary_encoder_t *)args; in pcnt_get_pulse_callback() local
106 unsigned int temp = encoder->get_counter_value(encoder); in pcnt_get_pulse_callback()
150 ESP_ERROR_CHECK(rotary_encoder_new_ec11(&config, &motor_ctrl.encoder)); in motor_ctrl_pcnt_rotary_encoder_init()
152 ESP_ERROR_CHECK(motor_ctrl.encoder->set_glitch_filter(motor_ctrl.encoder, 1)); in motor_ctrl_pcnt_rotary_encoder_init()
154 ESP_ERROR_CHECK(motor_ctrl.encoder->start(motor_ctrl.encoder)); in motor_ctrl_pcnt_rotary_encoder_init()
184 pulse_info_t pulse_info = {.callback_args = motor_ctrl.encoder, in motor_ctrl_timer_init()
Dmcpwm_brushed_dc_control_example.h33 rotary_encoder_t *encoder; // PCNT rotary encoder handler member
/hal_espressif-3.6.0/examples/peripherals/pcnt/rotary_encoder/
DREADME.md9 …tial signals generated from a common rotary encoder -- [EC11](https://tech.alpsalpine.com/prod/e/h…
11 The signals a rotary encoder produces (and what can be handled by this example) are based on a 2-bi…
34 * EC11 rotary encoder (or other encoders which can produce quadrature waveforms)
/hal_espressif-3.6.0/examples/peripherals/mcpwm/mcpwm_brushed_dc_control/
DREADME.md20 * A quadrature encoder to detect speed
49 …he PCNT encoder pins, flashing might fail while the wires are connected. If this occurs, please tr…
/hal_espressif-3.6.0/components/bt/
DCMakeLists.txt68 host/bluedroid/external/sbc/encoder/include
223 "host/bluedroid/external/sbc/encoder/srce/sbc_analysis.c"
224 "host/bluedroid/external/sbc/encoder/srce/sbc_dct.c"
225 "host/bluedroid/external/sbc/encoder/srce/sbc_dct_coeffs.c"
226 "host/bluedroid/external/sbc/encoder/srce/sbc_enc_bit_alloc_mono.c"
227 "host/bluedroid/external/sbc/encoder/srce/sbc_enc_bit_alloc_ste.c"
228 "host/bluedroid/external/sbc/encoder/srce/sbc_enc_coeffs.c"
229 "host/bluedroid/external/sbc/encoder/srce/sbc_encoder.c"
230 "host/bluedroid/external/sbc/encoder/srce/sbc_packing.c"
Dcomponent.mk60 host/bluedroid/external/sbc/encoder/include \
108 host/bluedroid/external/sbc/encoder/srce \
/hal_espressif-3.6.0/components/nghttp/
Dnghttp.rst8 An HPACK encoder and decoder are available as a public API.
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/
Dpcnt.rst93 * Parse the signal generated from rotary encoder: :example:`peripherals/pcnt/rotary_encoder`.