Kconfig 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. menu "Driver configurations"
  2. menu "ADC configuration"
  3. config ADC_FORCE_XPD_FSM
  4. bool "Use the FSM to control ADC power"
  5. default n
  6. help
  7. ADC power can be controlled by the FSM instead of software. This allows the ADC to
  8. be shut off when it is not working leading to lower power consumption. However
  9. using the FSM control ADC power will increase the noise of ADC.
  10. config ADC2_DISABLE_DAC
  11. bool "Disable DAC when ADC2 is used on GPIO 25 and 26"
  12. default y
  13. help
  14. If this is set, the ADC2 driver will disables the output of the DAC corresponding to the specified channel. This is the default value.
  15. For testing, disable this option so that we can measure the output of DAC by internal ADC.
  16. endmenu # ADC Configuration
  17. menu "SPI master configuration"
  18. config SPI_MASTER_IN_IRAM
  19. bool "Place transmitting functions of SPI master into IRAM"
  20. default n
  21. select SPI_MASTER_ISR_IN_IRAM
  22. help
  23. Normally only the ISR of SPI master is placed in the IRAM, so that it
  24. can work without the flash when interrupt is triggered.
  25. For other functions, there's some possibility that the flash cache
  26. miss when running inside and out of SPI functions, which may increase
  27. the interval of SPI transactions.
  28. Enable this to put ``queue_trans``, ``get_trans_result`` and
  29. ``transmit`` functions into the IRAM to avoid possible cache miss.
  30. During unit test, this is enabled to measure the ideal case of api.
  31. config SPI_MASTER_ISR_IN_IRAM
  32. bool "Place SPI master ISR function into IRAM"
  33. default y
  34. help
  35. Place the SPI master ISR in to IRAM to avoid possibly cache miss, or
  36. being disabled during flash writing access.
  37. endmenu # SPI Master Configuration
  38. endmenu # Driver configurations