refactor(ana_cmpr): make analog comparator driver as component

This commit is contained in:
laokaiyao
2023-11-17 10:05:22 +08:00
parent 82a110c7f3
commit bc0201d6f0
34 changed files with 82 additions and 62 deletions
+7
View File
@@ -0,0 +1,7 @@
[mapping:ana_cmpr_driver]
archive: libesp_driver_ana_cmpr.a
entries:
if ANA_CMPR_CTRL_FUNC_IN_IRAM = y:
ana_cmpr: ana_cmpr_set_internal_reference (noflash)
ana_cmpr: ana_cmpr_set_debounce (noflash)
ana_cmpr: ana_cmpr_set_cross_type (noflash)