Home
last modified time | relevance | path

Searched refs:SAR_SIMPLE_NUM (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-2.7.6/components/driver/test/dac_dma_test/
Dtest_esp32s2.c69 #define SAR_SIMPLE_NUM 512 // Set out number of enabled unit. macro
78 static uint8_t link_buf[2][SAR_SIMPLE_NUM*2] = {0};
97 for(int i=0; i<SAR_SIMPLE_NUM*2; i++) { in dac_dma_linker_init()
110 for(int i=0; i<SAR_SIMPLE_NUM; i++) { in dac_dma_linker_init()
116 .size = (is_alter) ? SAR_SIMPLE_NUM*2 : SAR_SIMPLE_NUM, in dac_dma_linker_init()
117 .length = (is_alter) ? SAR_SIMPLE_NUM*2 : SAR_SIMPLE_NUM, in dac_dma_linker_init()
124 .size = (is_alter) ? SAR_SIMPLE_NUM*2 : SAR_SIMPLE_NUM, in dac_dma_linker_init()
125 .length = (is_alter) ? SAR_SIMPLE_NUM*2 : SAR_SIMPLE_NUM, in dac_dma_linker_init()
/hal_espressif-2.7.6/components/driver/test/adc_dma_test/
Dtest_esp32s2.c101 #define SAR_SIMPLE_NUM 512 // Set sample number of enabled unit. macro
105 #define SAR_MEAS_LIMIT_NUM(unit, sample_num) (SAR_SIMPLE_NUM)
114 static uint8_t link_buf[2][SAR_DMA_DATA_SIZE(2, SAR_SIMPLE_NUM)] = {0};
149 .size = SAR_DMA_DATA_SIZE((adc > 2) ? 2 : 1, SAR_SIMPLE_NUM), in adc_dma_linker_init()
155 .size = SAR_DMA_DATA_SIZE((adc > 2) ? 2 : 1, SAR_SIMPLE_NUM), in adc_dma_linker_init()
185 for (int i = 0; i < SAR_DMA_DATA_SIZE((adc > 2) ? 2 : 1, SAR_SIMPLE_NUM); i += 2) { in adc_dma_data_check()
395 .dma_eof_num = SAR_EOF_NUMBER((adc > 2) ? 2 : 1, SAR_SIMPLE_NUM), in test_adc_dig_dma_single_unit()
504 .dma_eof_num = SAR_EOF_NUMBER((adc > 2) ? 2 : 1, SAR_SIMPLE_NUM), in test_adc_dig_scope_debug_unit()
619 for (int i = 0; i < SAR_DMA_DATA_SIZE((adc > 2) ? 2 : 1, SAR_SIMPLE_NUM); i += 2) {