OpenEdv-¿ªÔ´µç×ÓÍø

 ÕÒ»ØÃÜÂë
 Á¢¼´×¢²á
ÕýµãÔ­×ÓÈ«Ì×STM32/Linux/FPGA¿ª·¢×ÊÁÏ£¬ÉÏǧ½²STM32ÊÓƵ½Ì³ÌÃâ·ÑÏÂÔØ...
²é¿´: 241|»Ø¸´: 0

STM32F3ΪʲôҪʹÄÜ DMA_InitStructure.DMA_M2M = DMA_M2M_Enable²Å¿ªÊ¼×ª»»£¬²»Ê¹ÄܾͲ»×ª»»£¬³ÌÐòÊÇADCµ½DMA

[¸´ÖÆÁ´½Ó]

1

Ö÷Ìâ

1

Ìû×Ó

0

¾«»ª

ÐÂÊÖÉÏ·

»ý·Ö
22
½ðÇ®
22
×¢²áʱ¼ä
2024-1-29
ÔÚÏßʱ¼ä
4 Сʱ
·¢±íÓÚ 2024-8-24 10:11:44 | ÏÔʾȫ²¿Â¥²ã |ÔĶÁģʽ
    DMA_InitStructure.DMA_PeripheralBaseAddr = (uint32_t)&ADC2->DR;
    DMA_InitStructure.DMA_MemoryBaseAddr = (uint32_t)&adc2ConvertedValues;
    DMA_InitStructure.DMA_DIR = DMA_DIR_PeripheralSRC;
    DMA_InitStructure.DMA_BufferSize = 4;
    DMA_InitStructure.DMA_PeripheralInc = DMA_PeripheralInc_Disable;
    DMA_InitStructure.DMA_MemoryInc = DMA_MemoryInc_Enable;
    DMA_InitStructure.DMA_PeripheralDataSize = DMA_PeripheralDataSize_HalfWord;
    DMA_InitStructure.DMA_MemoryDataSize = DMA_MemoryDataSize_HalfWord;
    DMA_InitStructure.DMA_Mode = DMA_Mode_Circular;
    DMA_InitStructure.DMA_Priority = DMA_Priority_High;
    DMA_InitStructure.DMA_M2M = DMA_M2M_Enable;
    DMA_Init(DMA1_Channel2, &DMA_InitStructure);
ÕýµãÔ­×ÓÂß¼­·ÖÎöÒÇDL16¾¢±¬ÉÏÊÐ
»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

ÄúÐèÒªµÇ¼ºó²Å¿ÉÒÔ»ØÌû µÇ¼ | Á¢¼´×¢²á

±¾°æ»ý·Ö¹æÔò



¹Ø±Õ

Ô­×Ӹ缫Á¦ÍƼöÉÏÒ»Ìõ /2 ÏÂÒ»Ìõ

ÕýµãÔ­×Ó¹«ÖÚºÅ

QQ|ÊÖ»ú°æ|OpenEdv-¿ªÔ´µç×ÓÍø ( ÔÁICP±¸12000418ºÅ-1 )

GMT+8, 2024-11-22 08:57

Powered by OpenEdv-¿ªÔ´µç×ÓÍø

© 2001-2030 OpenEdv-¿ªÔ´µç×ÓÍø

¿ìËٻظ´ ·µ»Ø¶¥²¿ ·µ»ØÁбí