Kconfig 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. menu "ADC and ADC Calibration"
  2. config ADC_ONESHOT_CTRL_FUNC_IN_IRAM
  3. bool "Place ISR version ADC oneshot mode read function into IRAM"
  4. default n
  5. help
  6. Place ISR version ADC oneshot mode read function into IRAM.
  7. config ADC_CONTINUOUS_ISR_IRAM_SAFE
  8. depends on SOC_ADC_DMA_SUPPORTED
  9. bool "ADC continuous mode driver ISR IRAM-Safe"
  10. default n
  11. select GDMA_ISR_IRAM_SAFE if SOC_ADC_DMA_SUPPORTED && SOC_GDMA_SUPPORTED
  12. help
  13. Ensure the ADC continuous mode ISR is IRAM-Safe. When enabled, the ISR handler
  14. will be available when the cache is disabled.
  15. menu "ADC Calibration Configurations"
  16. depends on IDF_TARGET_ESP32
  17. config ADC_CALI_EFUSE_TP_ENABLE
  18. bool "Use Two Point Values"
  19. default "y"
  20. help
  21. Some ESP32s have Two Point calibration values burned into eFuse BLOCK3.
  22. This option will allow the ADC calibration component to characterize the
  23. ADC-Voltage curve using Two Point values if they are available.
  24. config ADC_CALI_EFUSE_VREF_ENABLE
  25. bool "Use eFuse Vref"
  26. default "y"
  27. help
  28. Some ESP32s have Vref burned into eFuse BLOCK0. This option will allow
  29. the ADC calibration component to characterize the ADC-Voltage curve using
  30. eFuse Vref if it is available.
  31. config ADC_CALI_LUT_ENABLE
  32. bool "Use Lookup Tables"
  33. default "y"
  34. help
  35. This option will allow the ADC calibration component to use Lookup Tables
  36. to correct for non-linear behavior in 11db attenuation. Other attenuations
  37. do not exhibit non-linear behavior hence will not be affected by this option.
  38. endmenu
  39. config ADC_DISABLE_DAC_OUTPUT
  40. depends on SOC_DAC_SUPPORTED
  41. bool "Disable DAC when ADC2 is in use"
  42. default y
  43. help
  44. By default, this is set. The ADC oneshot driver will disable the output of the
  45. corresponding DAC channels:
  46. ESP32: IO25 and IO26
  47. ESP32S2: IO17 and IO18
  48. Disable this option so as to measure the output of DAC by internal ADC, for test usage.
  49. endmenu