Home
last modified time | relevance | path

Searched refs:clk_div (Results 1 – 25 of 30) sorted by relevance

12

/hal_espressif-3.6.0/components/hal/esp32s2/include/hal/
Duart_ll.h111 uint32_t sclk_freq, clk_div; in uart_ll_set_baudrate() local
114 clk_div = ((sclk_freq) << 4) / baud; in uart_ll_set_baudrate()
117 hw->clk_div.div_int = clk_div >> 4; in uart_ll_set_baudrate()
118 hw->clk_div.div_frag = clk_div & 0xf; in uart_ll_set_baudrate()
131 __typeof__(hw->clk_div) div_reg = hw->clk_div; in uart_ll_get_baudrate()
/hal_espressif-3.6.0/components/hal/esp32/include/hal/
Duart_ll.h114 uint32_t sclk_freq, clk_div; in uart_ll_set_baudrate() local
117 clk_div = ((sclk_freq) << 4) / baud; in uart_ll_set_baudrate()
120 hw->clk_div.div_int = clk_div >> 4; in uart_ll_set_baudrate()
121 hw->clk_div.div_frag = clk_div & 0xf; in uart_ll_set_baudrate()
134 __typeof__(hw->clk_div) div_reg = hw->clk_div; in uart_ll_get_baudrate()
/hal_espressif-3.6.0/components/hal/esp32h2/include/hal/
Duart_ll.h164 uint32_t clk_div = ((sclk_freq) << 4) / (baud * sclk_div); in uart_ll_set_baudrate() local
167 hw->clk_div.div_int = clk_div >> 4; in uart_ll_set_baudrate()
168 hw->clk_div.div_frag = clk_div & 0xf; in uart_ll_set_baudrate()
183 __typeof__(hw->clk_div) div_reg = hw->clk_div; in uart_ll_get_baudrate()
/hal_espressif-3.6.0/components/hal/esp32c3/include/hal/
Duart_ll.h164 uint32_t clk_div = ((sclk_freq) << 4) / (baud * sclk_div); in uart_ll_set_baudrate() local
167 hw->clk_div.div_int = clk_div >> 4; in uart_ll_set_baudrate()
168 hw->clk_div.div_frag = clk_div & 0xf; in uart_ll_set_baudrate()
183 __typeof__(hw->clk_div) div_reg = hw->clk_div; in uart_ll_get_baudrate()
/hal_espressif-3.6.0/components/driver/esp32s2/include/driver/
Dtemp_sensor.h34 uint8_t clk_div; /*!< Default: 6 */ member
41 .clk_div = 6}
/hal_espressif-3.6.0/components/driver/esp32c3/include/driver/
Dtemp_sensor.h31 uint8_t clk_div; /*!< Default: 6 */ member
35 .clk_div = 6}
/hal_espressif-3.6.0/components/driver/esp32h2/include/driver/
Dtemp_sensor.h31 uint8_t clk_div; /*!< Default: 6 */ member
35 .clk_div = 6}
/hal_espressif-3.6.0/components/driver/esp32s3/include/driver/
Dtemp_sensor.h34 uint8_t clk_div; /*!< Default: 6 */ member
41 .clk_div = 6}
/hal_espressif-3.6.0/components/driver/include/driver/
Drmt.h74 uint8_t clk_div; /*!< RMT channel counter divider */ member
92 .clk_div = 80, \
115 .clk_div = 80, \
Dadc.h265 esp_err_t adc_set_clk_div(uint8_t clk_div);
/hal_espressif-3.6.0/components/driver/esp32c3/
Drtc_tempsensor.c72 APB_SARADC.apb_tsens_ctrl.tsens_clk_div = tsens.clk_div; in temp_sensor_set_config()
95 tsens->clk_div = APB_SARADC.apb_tsens_ctrl.tsens_clk_div; in temp_sensor_get_config()
/hal_espressif-3.6.0/components/driver/esp32h2/
Drtc_tempsensor.c70 APB_SARADC.apb_tsens_ctrl.tsens_clk_div = tsens.clk_div; in temp_sensor_set_config()
93 tsens->clk_div = APB_SARADC.apb_tsens_ctrl.tsens_clk_div; in temp_sensor_get_config()
/hal_espressif-3.6.0/components/driver/esp32s2/
Drtc_tempsensor.c80 SENS.sar_tctrl.tsens_clk_div = tsens.clk_div; in temp_sensor_set_config()
108 tsens->clk_div = SENS.sar_tctrl.tsens_clk_div; in temp_sensor_get_config()
/hal_espressif-3.6.0/examples/peripherals/rmt/morse_code/main/
Dmorse_code_main.c64 config.clk_div = 255; in rmt_tx_init()
/hal_espressif-3.6.0/examples/peripherals/temp_sensor/main/
Dtemp_sensor_main.c29 ESP_LOGI(TAG, "default dac %d, clk_div %d", temp_sensor.dac_offset, temp_sensor.clk_div); in tempsensor_example()
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/
Duart_ll.h162 uint32_t clk_div = ((sclk_freq) << 4) / (baud * sclk_div); in uart_ll_set_baudrate() local
165 hw->clkdiv.clkdiv = clk_div >> 4; in uart_ll_set_baudrate()
166 hw->clkdiv.clkdiv_frag = clk_div & 0xf; in uart_ll_set_baudrate()
/hal_espressif-3.6.0/examples/peripherals/rmt/led_strip/main/
Dled_strip_main.c84 config.clk_div = 2; in app_main()
/hal_espressif-3.6.0/components/driver/
Dadc_common.c236 esp_err_t adc_set_clk_div(uint8_t clk_div) in adc_set_clk_div() argument
239 adc_ll_digi_set_clk_div(clk_div); in adc_set_clk_div()
Drmt.c563 uint8_t clk_div = rmt_param->clk_div; in rmt_internal_config() local
570 ESP_RETURN_ON_FALSE(clk_div > 0, ESP_ERR_INVALID_ARG, TAG, RMT_CLK_DIV_ERROR_STR); in rmt_internal_config()
612 rmt_ll_tx_set_channel_clock_div(dev, channel, clk_div); in rmt_internal_config()
642 … channel, gpio_num, rmt_source_clk_hz, clk_div, carrier_freq_hz, carrier_duty_percent); in rmt_internal_config()
648 rmt_ll_rx_set_channel_clock_div(dev, RMT_DECODE_RX_CHANNEL(channel), clk_div); in rmt_internal_config()
676 channel, gpio_num, rmt_source_clk_hz, clk_div, threshold, filter_cnt); in rmt_internal_config()
/hal_espressif-3.6.0/zephyr/esp_shared/components/driver/
Dadc_common.c244 esp_err_t adc_set_clk_div(uint8_t clk_div) in adc_set_clk_div() argument
247 adc_ll_digi_set_clk_div(clk_div); in adc_set_clk_div()
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/
Dtemp_sensor.rst40 .clk_div = 6,
/hal_espressif-3.6.0/examples/peripherals/temp_sensor/
DREADME.md41 I (243) TempSensor: default dac 2, clk_div 6
/hal_espressif-3.6.0/components/driver/esp32s3/
Drtc_tempsensor.c74 HAL_FORCE_MODIFY_U32_REG_FIELD(SENS.sar_tctrl, tsens_clk_div, tsens.clk_div); in temp_sensor_set_config()
/hal_espressif-3.6.0/examples/common_components/led_strip/
Dled_strip_rmt_ws2812.c181 config.clk_div = 2; in led_strip_init()
/hal_espressif-3.6.0/components/soc/esp32s2/include/soc/
Duart_struct.h138 } clk_div; member

12