/hal_espressif-latest/components/driver/deprecated/driver/ |
D | dac.h | 17 #warning "The legacy DAC driver is deprecated, please use `driver/dac_oneshot.h`, `driver/dac_cosin… 26 * @brief Get the GPIO number of a specific DAC channel. 36 * @brief Set DAC output voltage. 37 * DAC output is 8-bit. Maximum (255) corresponds to VDD3P3_RTC. 39 * @note Need to configure DAC pad before calling this function. 40 * DAC channel 0 is attached to GPIO25, DAC channel 1 is attached to GPIO26 41 * @param channel DAC channel 42 * @param dac_value DAC output value 50 * @brief DAC pad output enable 52 * @param channel DAC channel [all …]
|
D | dac_types_legacy.h | 43 * @brief DAC digital controller (DMA mode) work mode. 46 … /*!< The data in the DMA buffer is simultaneously output to the enable channel of the DAC. */ 47 … /*!< The data in the DMA buffer is alternately output to the enable channel of the DAC. */ 52 * @brief DAC digital controller (DMA mode) configuration parameters. 55 …dac_digi_convert_mode_t mode; /*!<DAC digital controller (DMA mode) work mode. See ``dac_digi_co… 56 …uint32_t interval; /*!<The number of interval clock cycles for the DAC digital contro… 60 …adc_digi_clk_t dig_clk; /*!<DAC digital controller clock divider settings. Refer to ``adc_… 61 … Note: The clocks of the DAC digital controller use the ADC digital controller clock divider. */ 66 * @brief Config the cosine wave generator function in DAC module. 69 dac_channel_t en_ch; /*!< Enable the cosine wave generator of DAC channel. */
|
D | i2s_types_legacy.h | 120 //built-in DAC functions are only supported on I2S0 for ESP32 chip. 121 … << 4), /*!< Output I2S data to built-in DAC, no matter the data format is 16bit or 32 bit, … 132 * @brief I2S DAC mode for i2s_set_dac_mode. 134 * @note Built-in DAC functions are only supported on I2S0 for current ESP32 chip. 137 I2S_DAC_CHANNEL_DISABLE = 0, /*!< Disable I2S built-in DAC signals*/ 138 …I2S_DAC_CHANNEL_RIGHT_EN = 1, /*!< Enable I2S built-in DAC right channel, maps to DAC channel 0… 139 …I2S_DAC_CHANNEL_LEFT_EN = 2, /*!< Enable I2S built-in DAC left channel, maps to DAC channel 1… 140 I2S_DAC_CHANNEL_BOTH_EN = 0x3, /*!< Enable both of the I2S built-in DAC channels.*/ 141 I2S_DAC_CHANNEL_MAX = 0x4, /*!< I2S built-in DAC mode max index*/
|
D | i2s.h | 46 …* @param pin I2S Pin structure, or NULL to set 2-channel 8-bit internal DAC pin configur… 51 …* @note if *pin is set as NULL, this function will initialize both of the built-in DAC channels by… 52 …* if you don't want this to happen and you want to initialize only one of the DAC channels, … 366 * @brief Set I2S dac mode, I2S built-in DAC is disabled by default 368 * @param dac_mode DAC mode configurations - see i2s_dac_mode_t 370 * @note Built-in DAC functions are only supported on I2S0 for current ESP32 chip. 371 * If either of the built-in DAC channel are enabled, the other one can not 372 * be used as RTC DAC function at the same time.
|
D | temp_sensor_types_legacy.h | 31 … /*!< The temperature measurement range is configured with a built-in temperature offset DAC. */
|
/hal_espressif-latest/components/hal/esp32s2/include/hal/ |
D | dac_ll.h | 32 DAC common setting 35 * Power on dac module and start output voltage. 37 * @note Before powering up, make sure the DAC PAD is set to RTC PAD and floating status. 38 * @param channel DAC channel num. 48 * Power done dac module and stop output voltage. 50 * @param channel DAC channel num. 67 * @param channel DAC channel num. 76 HAL_FORCE_MODIFY_U32_REG_FIELD(RTCIO.pad_dac[channel], dac, value); in dac_ll_update_output_value() 79 HAL_FORCE_MODIFY_U32_REG_FIELD(RTCIO.pad_dac[channel], dac, value); in dac_ll_update_output_value() 84 * Reset dac by software. [all …]
|
/hal_espressif-latest/components/hal/esp32/include/hal/ |
D | dac_ll.h | 30 * Power on dac module and start output voltage. 32 * @note Before powering up, make sure the DAC PAD is set to RTC PAD and floating status. 33 * @param channel DAC channel num. 42 * Power done dac module and stop output voltage. 44 * @param channel DAC channel num. 55 * @param channel DAC channel num. 64 HAL_FORCE_MODIFY_U32_REG_FIELD(RTCIO.pad_dac[channel], dac, value); in dac_ll_update_output_value() 67 HAL_FORCE_MODIFY_U32_REG_FIELD(RTCIO.pad_dac[channel], dac, value); in dac_ll_update_output_value() 72 * Enable/disable the synchronization operation function of ADC1 and DAC. 74 …* @note If enabled(default), ADC RTC controller sampling will cause the DAC channel output voltag… [all …]
|
D | clk_tree_ll.h | 226 uint32_t dac = CLK_LL_XTAL_32K_DAC_VAL; // current in clk_ll_xtal32k_enable() local 230 dac = CLK_LL_XTAL_32K_EXT_DAC_VAL; in clk_ll_xtal32k_enable() 234 dac = CLK_LL_XTAL_32K_BOOTSTRAP_DAC_VAL; in clk_ll_xtal32k_enable() 238 REG_SET_FIELD(RTC_IO_XTAL_32K_PAD_REG, RTC_IO_DAC_XTAL_32K, dac); in clk_ll_xtal32k_enable()
|
/hal_espressif-latest/components/hal/include/hal/ |
D | dac_types.h | 8 DAC_CHAN_0 = 0, /*!< DAC channel 0 is GPIO25(ESP32) / GPIO17(ESP32S2) */ 9 DAC_CHAN_1 = 1, /*!< DAC channel 1 is GPIO26(ESP32) / GPIO18(ESP32S2) */ 18 …DAC_COSINE_ATTEN_DEFAULT = 0x0, /*!< No attenuation to the DAC cosine wave amplitude. Defa… 19 …DAC_COSINE_ATTEN_DB_0 = 0x0, /*!< Original amplitude of the DAC cosine wave, equals to … 20 DAC_COSINE_ATTEN_DB_6 = 0x1, /*!< 1/2 amplitude of the DAC cosine wave */ 21 DAC_COSINE_ATTEN_DB_12 = 0x2, /*!< 1/4 amplitude of the DAC cosine wave */ 22 DAC_COSINE_ATTEN_DB_18 = 0x3, /*!< 1/8 amplitude of the DAC cosine wave */
|
D | i2s_types.h | 114 …* For the DAC output mode, PDM data signal can be connected to a power amplifier directly w… 115 * normally, DAC output mode doesn't need the clock signal. 119 …I2S_PDM_TX_ONE_LINE_DAC, /*!< PDM DAC format output, left or right slot data on a single… 120 …I2S_PDM_TX_TWO_LINE_DAC, /*!< PDM DAC format output, left and right slot data on separat…
|
D | gdma_types.h | 26 GDMA_TRIG_PERIPH_DAC, /*!< GDMA trigger peripheral: DAC */
|
/hal_espressif-latest/components/driver/deprecated/ |
D | dac_common_legacy.c | 24 static __attribute__((unused)) const char *TAG = "DAC"; 27 DAC 31 ESP_RETURN_ON_FALSE(channel < SOC_DAC_CHAN_NUM, ESP_ERR_INVALID_ARG, TAG, "DAC channel error"); in dac_pad_get_io_num() 40 ESP_RETURN_ON_FALSE(channel < SOC_DAC_CHAN_NUM, ESP_ERR_INVALID_ARG, TAG, "DAC channel error"); in dac_rtc_pad_init() 54 ESP_RETURN_ON_FALSE(channel < SOC_DAC_CHAN_NUM, ESP_ERR_INVALID_ARG, TAG, "DAC channel error"); in dac_output_enable() 67 ESP_RETURN_ON_FALSE(channel < SOC_DAC_CHAN_NUM, ESP_ERR_INVALID_ARG, TAG, "DAC channel error"); in dac_output_disable() 78 ESP_RETURN_ON_FALSE(channel < SOC_DAC_CHAN_NUM, ESP_ERR_INVALID_ARG, TAG, "DAC channel error"); in dac_output_voltage() 89 ESP_RETURN_ON_FALSE(channel < SOC_DAC_CHAN_NUM, ESP_ERR_INVALID_ARG, TAG, "DAC channel error"); in dac_out_voltage()
|
/hal_espressif-latest/components/driver/deprecated/esp32s2/ |
D | dac_legacy.c | 17 static __attribute__((unused)) const char *TAG = "DAC"; 60 ESP_RETURN_ON_FALSE(cfg->mode <= DAC_CONV_ALTER, ESP_ERR_INVALID_ARG, TAG, "DAC mode error"); in dac_digi_controller_config() 61 …ESP_RETURN_ON_FALSE(cfg->interval > 0 && cfg->interval < 4096, ESP_ERR_INVALID_ARG, TAG, "DAC inte… in dac_digi_controller_config() 62 …ESP_RETURN_ON_FALSE(cfg->dig_clk.div_num < 256, ESP_ERR_INVALID_ARG, TAG, "DAC clk div_num error"); in dac_digi_controller_config() 63 …fg->dig_clk.div_b > 0 && cfg->dig_clk.div_b < 64, ESP_ERR_INVALID_ARG, TAG, "DAC clk div_b error"); in dac_digi_controller_config() 64 ESP_RETURN_ON_FALSE(cfg->dig_clk.div_a < 64, ESP_ERR_INVALID_ARG, TAG, "DAC clk div_a error"); in dac_digi_controller_config() 75 ESP_LOGE(TAG, "DAC-DMA pm lock error"); in dac_digi_controller_config()
|
/hal_espressif-latest/components/soc/esp32/include/soc/ |
D | dac_channel.h | 12 …NUM //`DAC_CHANNEL_1_GPIO_NUM` is defined for DAC legacy driver, indicating the first DAC… 16 …UM //`DAC_CHANNEL_2_GPIO_NUM` is defined for DAC legacy driver, indicating the second DAC…
|
D | rtc_io_struct.h | 177 … /*Power on DAC1. Usually we need to tristate PDAC1 if we power on the DAC i.e. IE=0 OE=0 R… 184 … /*Power on DAC1. Usually we need to tristate PDAC1 if we power on the DAC i.e. IE=0 OE=0 R… 185 uint32_t dac: 8; /*PAD DAC1 control code.*/ member 211 uint32_t dac_xtal_32k: 2; /*32K XTAL bias current DAC.*/ 247 …uint32_t dac: 3; /*touch sensor slope control. 3-bit for each touch panel default… member
|
D | clk_tree_defs.h | 316 ////////////////////////////////////////////////////DAC////////////////////////////////////////////… 319 * @brief Array initializer for all supported clock sources of DAC digital controller 324 * @brief DAC digital controller clock source 334 * @brief Array initializer for all supported clock sources of DAC cosine wave generator 339 * @brief DAC cosine wave generator clock source
|
/hal_espressif-latest/components/soc/esp32s2/include/soc/ |
D | dac_channel.h | 11 …NUM //`DAC_CHANNEL_1_GPIO_NUM` is defined for DAC legacy driver, indicating the first DAC… 15 …UM //`DAC_CHANNEL_2_GPIO_NUM` is defined for DAC legacy driver, indicating the second DAC…
|
D | clk_tree_defs.h | 307 ////////////////////////////////////////////////////DAC////////////////////////////////////////////… 310 * @brief Array initializer for all supported clock sources of DAC digital controller 315 * @brief DAC digital controller clock source 325 * @brief Array initializer for all supported clock sources of DAC cosine wave generator 330 * @brief DAC cosine wave generator clock source
|
D | apb_saradc_struct.h | 180 uint32_t dac_timer_en: 1; /*enable read dac data*/ 181 uint32_t apb_dac_alter_mode: 1; /*enable dac alter mode*/
|
D | rtc_io_struct.h | 120 uint32_t dac: 3; /*TOUCH_DAC*/ member 166 uint32_t dac: 8; /*PDAC1_DAC*/ member
|
/hal_espressif-latest/components/hal/ |
D | adc_oneshot_hal.c | 29 // To disable DAC, workarounds, see this function body to know more 167 * Workaround: Disable the synchronization operation function of ADC1 and DAC. in s_disable_dac() 168 * If enabled(default), ADC RTC controller sampling will cause the DAC channel output voltage. in s_disable_dac() 177 dac_ll_power_down(DAC_CHAN_0); // the same as DAC channel 0 in s_disable_dac() 186 dac_ll_power_down(DAC_CHAN_0); // the same as DAC channel 0 in s_disable_dac() 193 //Nothing needed (DAC is only supported on ESP32 and ESP32S2), add this if future chips needs in s_disable_dac()
|
/hal_espressif-latest/components/esp_adc/ |
D | Kconfig | 48 bool "Disable DAC when ADC2 is in use" 52 corresponding DAC channels: 56 Disable this option so as to measure the output of DAC by internal ADC, for test usage.
|
/hal_espressif-latest/components/soc/esp32/ |
D | dac_periph.c | 10 Bunch of constants for DAC peripheral: GPIO number
|
/hal_espressif-latest/components/soc/esp32s2/ |
D | dac_periph.c | 10 Bunch of constants for DAC peripheral: GPIO number
|
/hal_espressif-latest/components/esp_hw_support/port/esp32/ |
D | rtc_clk.c | 54 …NOTE: TOUCH8 and TOUCH9 register settings are reversed except for DAC, so we set RTC_IO_TOUCH_PAD9… in rtc_clk_32k_enable_common() 59 So the Touch DAC start to drive some current from VDD to TOUCH8(which is also XTAL-N)*/ in rtc_clk_32k_enable_common() 70 …NOTE: TOUCH8 and TOUCH9 register settings are reversed except for DAC, so we set RTC_IO_TOUCH_PAD9… in rtc_clk_32k_enable_common() 76 So the Touch DAC start to drive some current from VDD to TOUCH8(which is also XTAL-N) in rtc_clk_32k_enable_common()
|