RTEMS 6.1-rc2
Loading...
Searching...
No Matches
stm32h7xx_ll_dma.h
Go to the documentation of this file.
1
19/* Define to prevent recursive inclusion -------------------------------------*/
20#ifndef STM32H7xx_LL_DMA_H
21#define STM32H7xx_LL_DMA_H
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/* Includes ------------------------------------------------------------------*/
28#include "stm32h7xx.h"
29#include "stm32h7xx_ll_dmamux.h"
30
35#if defined (DMA1) || defined (DMA2)
36
42/* Private types -------------------------------------------------------------*/
43/* Private variables ---------------------------------------------------------*/
48/* Array used to get the DMA stream register offset versus stream index LL_DMA_STREAM_x */
49static const uint8_t LL_DMA_STR_OFFSET_TAB[] =
50{
51 (uint8_t)(DMA1_Stream0_BASE - DMA1_BASE),
52 (uint8_t)(DMA1_Stream1_BASE - DMA1_BASE),
53 (uint8_t)(DMA1_Stream2_BASE - DMA1_BASE),
54 (uint8_t)(DMA1_Stream3_BASE - DMA1_BASE),
55 (uint8_t)(DMA1_Stream4_BASE - DMA1_BASE),
56 (uint8_t)(DMA1_Stream5_BASE - DMA1_BASE),
57 (uint8_t)(DMA1_Stream6_BASE - DMA1_BASE),
58 (uint8_t)(DMA1_Stream7_BASE - DMA1_BASE)
59};
60
61
66/* Private macros ------------------------------------------------------------*/
78#define LL_DMA_INSTANCE_TO_DMAMUX_CHANNEL(__DMA_INSTANCE__) \
79(((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) ? 0UL : 8UL)
84/* Exported types ------------------------------------------------------------*/
85#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
90typedef struct
91{
92 uint32_t PeriphOrM2MSrcAddress;
97 uint32_t MemoryOrM2MDstAddress;
102 uint32_t Direction;
108 uint32_t Mode;
115 uint32_t PeriphOrM2MSrcIncMode;
121 uint32_t MemoryOrM2MDstIncMode;
127 uint32_t PeriphOrM2MSrcDataSize;
133 uint32_t MemoryOrM2MDstDataSize;
139 uint32_t NbData;
146 uint32_t PeriphRequest;
151 uint32_t Priority;
156 uint32_t FIFOMode;
163 uint32_t FIFOThreshold;
168 uint32_t MemBurst;
176 uint32_t PeriphBurst;
184} LL_DMA_InitTypeDef;
188#endif /*USE_FULL_LL_DRIVER*/
189/* Exported constants --------------------------------------------------------*/
199#define LL_DMA_STREAM_0 0x00000000U
200#define LL_DMA_STREAM_1 0x00000001U
201#define LL_DMA_STREAM_2 0x00000002U
202#define LL_DMA_STREAM_3 0x00000003U
203#define LL_DMA_STREAM_4 0x00000004U
204#define LL_DMA_STREAM_5 0x00000005U
205#define LL_DMA_STREAM_6 0x00000006U
206#define LL_DMA_STREAM_7 0x00000007U
207#define LL_DMA_STREAM_ALL 0xFFFF0000U
217#define LL_DMA_DIRECTION_PERIPH_TO_MEMORY 0x00000000U
218#define LL_DMA_DIRECTION_MEMORY_TO_PERIPH DMA_SxCR_DIR_0
219#define LL_DMA_DIRECTION_MEMORY_TO_MEMORY DMA_SxCR_DIR_1
228#define LL_DMA_MODE_NORMAL 0x00000000U
229#define LL_DMA_MODE_CIRCULAR DMA_SxCR_CIRC
230#define LL_DMA_MODE_PFCTRL DMA_SxCR_PFCTRL
239#define LL_DMA_DOUBLEBUFFER_MODE_DISABLE 0x00000000U
240#define LL_DMA_DOUBLEBUFFER_MODE_ENABLE DMA_SxCR_DBM
249#define LL_DMA_PERIPH_NOINCREMENT 0x00000000U
250#define LL_DMA_PERIPH_INCREMENT DMA_SxCR_PINC
259#define LL_DMA_MEMORY_NOINCREMENT 0x00000000U
260#define LL_DMA_MEMORY_INCREMENT DMA_SxCR_MINC
269#define LL_DMA_PDATAALIGN_BYTE 0x00000000U
270#define LL_DMA_PDATAALIGN_HALFWORD DMA_SxCR_PSIZE_0
271#define LL_DMA_PDATAALIGN_WORD DMA_SxCR_PSIZE_1
280#define LL_DMA_MDATAALIGN_BYTE 0x00000000U
281#define LL_DMA_MDATAALIGN_HALFWORD DMA_SxCR_MSIZE_0
282#define LL_DMA_MDATAALIGN_WORD DMA_SxCR_MSIZE_1
291#define LL_DMA_OFFSETSIZE_PSIZE 0x00000000U
292#define LL_DMA_OFFSETSIZE_FIXEDTO4 DMA_SxCR_PINCOS
301#define LL_DMA_PRIORITY_LOW 0x00000000U
302#define LL_DMA_PRIORITY_MEDIUM DMA_SxCR_PL_0
303#define LL_DMA_PRIORITY_HIGH DMA_SxCR_PL_1
304#define LL_DMA_PRIORITY_VERYHIGH DMA_SxCR_PL
314#define LL_DMA_MBURST_SINGLE 0x00000000U
315#define LL_DMA_MBURST_INC4 DMA_SxCR_MBURST_0
316#define LL_DMA_MBURST_INC8 DMA_SxCR_MBURST_1
317#define LL_DMA_MBURST_INC16 (DMA_SxCR_MBURST_0 | DMA_SxCR_MBURST_1)
326#define LL_DMA_PBURST_SINGLE 0x00000000U
327#define LL_DMA_PBURST_INC4 DMA_SxCR_PBURST_0
328#define LL_DMA_PBURST_INC8 DMA_SxCR_PBURST_1
329#define LL_DMA_PBURST_INC16 (DMA_SxCR_PBURST_0 | DMA_SxCR_PBURST_1)
338#define LL_DMA_FIFOMODE_DISABLE 0x00000000U
339#define LL_DMA_FIFOMODE_ENABLE DMA_SxFCR_DMDIS
348#define LL_DMA_FIFOSTATUS_0_25 0x00000000U
349#define LL_DMA_FIFOSTATUS_25_50 DMA_SxFCR_FS_0
350#define LL_DMA_FIFOSTATUS_50_75 DMA_SxFCR_FS_1
351#define LL_DMA_FIFOSTATUS_75_100 (DMA_SxFCR_FS_1 | DMA_SxFCR_FS_0)
352#define LL_DMA_FIFOSTATUS_EMPTY DMA_SxFCR_FS_2
353#define LL_DMA_FIFOSTATUS_FULL (DMA_SxFCR_FS_2 | DMA_SxFCR_FS_0)
362#define LL_DMA_FIFOTHRESHOLD_1_4 0x00000000U
363#define LL_DMA_FIFOTHRESHOLD_1_2 DMA_SxFCR_FTH_0
364#define LL_DMA_FIFOTHRESHOLD_3_4 DMA_SxFCR_FTH_1
365#define LL_DMA_FIFOTHRESHOLD_FULL DMA_SxFCR_FTH
374#define LL_DMA_CURRENTTARGETMEM0 0x00000000U
375#define LL_DMA_CURRENTTARGETMEM1 DMA_SxCR_CT
384/* Exported macro ------------------------------------------------------------*/
401#define LL_DMA_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG((__INSTANCE__)->__REG__, (__VALUE__))
402
409#define LL_DMA_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__)
423#define __LL_DMA_GET_INSTANCE(__STREAM_INSTANCE__) \
424(((uint32_t)(__STREAM_INSTANCE__) > ((uint32_t)DMA1_Stream7)) ? DMA2 : DMA1)
425
431#define __LL_DMA_GET_STREAM(__STREAM_INSTANCE__) \
432(((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA1_Stream0)) ? LL_DMA_STREAM_0 : \
433 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA2_Stream0)) ? LL_DMA_STREAM_0 : \
434 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA1_Stream1)) ? LL_DMA_STREAM_1 : \
435 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA2_Stream1)) ? LL_DMA_STREAM_1 : \
436 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA1_Stream2)) ? LL_DMA_STREAM_2 : \
437 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA2_Stream2)) ? LL_DMA_STREAM_2 : \
438 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA1_Stream3)) ? LL_DMA_STREAM_3 : \
439 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA2_Stream3)) ? LL_DMA_STREAM_3 : \
440 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA1_Stream4)) ? LL_DMA_STREAM_4 : \
441 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA2_Stream4)) ? LL_DMA_STREAM_4 : \
442 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA1_Stream5)) ? LL_DMA_STREAM_5 : \
443 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA2_Stream5)) ? LL_DMA_STREAM_5 : \
444 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA1_Stream6)) ? LL_DMA_STREAM_6 : \
445 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA2_Stream6)) ? LL_DMA_STREAM_6 : \
446 LL_DMA_STREAM_7)
447
454#define __LL_DMA_GET_STREAM_INSTANCE(__DMA_INSTANCE__, __STREAM__) \
455((((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_0))) ? DMA1_Stream0 : \
456 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA2)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_0))) ? DMA2_Stream0 : \
457 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_1))) ? DMA1_Stream1 : \
458 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA2)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_1))) ? DMA2_Stream1 : \
459 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_2))) ? DMA1_Stream2 : \
460 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA2)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_2))) ? DMA2_Stream2 : \
461 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_3))) ? DMA1_Stream3 : \
462 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA2)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_3))) ? DMA2_Stream3 : \
463 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_4))) ? DMA1_Stream4 : \
464 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA2)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_4))) ? DMA2_Stream4 : \
465 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_5))) ? DMA1_Stream5 : \
466 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA2)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_5))) ? DMA2_Stream5 : \
467 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_6))) ? DMA1_Stream6 : \
468 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA2)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_6))) ? DMA2_Stream6 : \
469 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_7))) ? DMA1_Stream7 : \
470 DMA2_Stream7)
471
481/* Exported functions --------------------------------------------------------*/
506__STATIC_INLINE void LL_DMA_EnableStream(DMA_TypeDef *DMAx, uint32_t Stream)
507{
508 uint32_t dma_base_addr = (uint32_t)DMAx;
509
510 SET_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_EN);
511}
512
528__STATIC_INLINE void LL_DMA_DisableStream(DMA_TypeDef *DMAx, uint32_t Stream)
529{
530 uint32_t dma_base_addr = (uint32_t)DMAx;
531
532 CLEAR_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_EN);
533}
534
550__STATIC_INLINE uint32_t LL_DMA_IsEnabledStream(DMA_TypeDef *DMAx, uint32_t Stream)
551{
552 uint32_t dma_base_addr = (uint32_t)DMAx;
553
554 return ((READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_EN) == (DMA_SxCR_EN)) ? 1UL : 0UL);
555}
556
587__STATIC_INLINE void LL_DMA_ConfigTransfer(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Configuration)
588{
589 uint32_t dma_base_addr = (uint32_t)DMAx;
590
591 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR,
593 Configuration);
594}
595
615__STATIC_INLINE void LL_DMA_SetDataTransferDirection(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Direction)
616{
617 uint32_t dma_base_addr = (uint32_t)DMAx;
618
619 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_DIR, Direction);
620}
621
640__STATIC_INLINE uint32_t LL_DMA_GetDataTransferDirection(DMA_TypeDef *DMAx, uint32_t Stream)
641{
642 uint32_t dma_base_addr = (uint32_t)DMAx;
643
644 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_DIR));
645}
646
667__STATIC_INLINE void LL_DMA_SetMode(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Mode)
668{
669 uint32_t dma_base_addr = (uint32_t)DMAx;
670
671 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_CIRC | DMA_SxCR_PFCTRL, Mode);
672}
673
693__STATIC_INLINE uint32_t LL_DMA_GetMode(DMA_TypeDef *DMAx, uint32_t Stream)
694{
695 uint32_t dma_base_addr = (uint32_t)DMAx;
696
697 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_CIRC | DMA_SxCR_PFCTRL));
698}
699
718__STATIC_INLINE void LL_DMA_SetPeriphIncMode(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t IncrementMode)
719{
720 uint32_t dma_base_addr = (uint32_t)DMAx;
721
722 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PINC, IncrementMode);
723}
724
742__STATIC_INLINE uint32_t LL_DMA_GetPeriphIncMode(DMA_TypeDef *DMAx, uint32_t Stream)
743{
744 uint32_t dma_base_addr = (uint32_t)DMAx;
745
746 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PINC));
747}
748
767__STATIC_INLINE void LL_DMA_SetMemoryIncMode(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t IncrementMode)
768{
769 uint32_t dma_base_addr = (uint32_t)DMAx;
770
771 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_MINC, IncrementMode);
772}
773
791__STATIC_INLINE uint32_t LL_DMA_GetMemoryIncMode(DMA_TypeDef *DMAx, uint32_t Stream)
792{
793 uint32_t dma_base_addr = (uint32_t)DMAx;
794
795 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_MINC));
796}
797
817__STATIC_INLINE void LL_DMA_SetPeriphSize(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Size)
818{
819 uint32_t dma_base_addr = (uint32_t)DMAx;
820
821 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PSIZE, Size);
822}
823
842__STATIC_INLINE uint32_t LL_DMA_GetPeriphSize(DMA_TypeDef *DMAx, uint32_t Stream)
843{
844 uint32_t dma_base_addr = (uint32_t)DMAx;
845
846 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PSIZE));
847}
848
868__STATIC_INLINE void LL_DMA_SetMemorySize(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Size)
869{
870 uint32_t dma_base_addr = (uint32_t)DMAx;
871
872 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_MSIZE, Size);
873}
874
893__STATIC_INLINE uint32_t LL_DMA_GetMemorySize(DMA_TypeDef *DMAx, uint32_t Stream)
894{
895 uint32_t dma_base_addr = (uint32_t)DMAx;
896
897 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_MSIZE));
898}
899
918__STATIC_INLINE void LL_DMA_SetIncOffsetSize(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t OffsetSize)
919{
920 uint32_t dma_base_addr = (uint32_t)DMAx;
921
922 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PINCOS, OffsetSize);
923}
924
942__STATIC_INLINE uint32_t LL_DMA_GetIncOffsetSize(DMA_TypeDef *DMAx, uint32_t Stream)
943{
944 uint32_t dma_base_addr = (uint32_t)DMAx;
945
946 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PINCOS));
947}
948
969__STATIC_INLINE void LL_DMA_SetStreamPriorityLevel(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Priority)
970{
971 uint32_t dma_base_addr = (uint32_t)DMAx;
972
973 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PL, Priority);
974}
975
995__STATIC_INLINE uint32_t LL_DMA_GetStreamPriorityLevel(DMA_TypeDef *DMAx, uint32_t Stream)
996{
997 uint32_t dma_base_addr = (uint32_t)DMAx;
998
999 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PL));
1000}
1001
1017__STATIC_INLINE void LL_DMA_EnableBufferableTransfer(DMA_TypeDef *DMAx, uint32_t Stream)
1018{
1019 uint32_t dma_base_addr = (uint32_t)DMAx;
1020
1021 SET_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_TRBUFF);
1022}
1023
1039__STATIC_INLINE void LL_DMA_DisableBufferableTransfer(DMA_TypeDef *DMAx, uint32_t Stream)
1040{
1041 uint32_t dma_base_addr = (uint32_t)DMAx;
1042
1043 CLEAR_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_TRBUFF);
1044}
1045
1064__STATIC_INLINE void LL_DMA_SetDataLength(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t NbData)
1065{
1066 uint32_t dma_base_addr = (uint32_t)DMAx;
1067
1068 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->NDTR, DMA_SxNDT, NbData);
1069}
1070
1088__STATIC_INLINE uint32_t LL_DMA_GetDataLength(DMA_TypeDef *DMAx, uint32_t Stream)
1089{
1090 uint32_t dma_base_addr = (uint32_t)DMAx;
1091
1092 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->NDTR, DMA_SxNDT));
1093}
1251__STATIC_INLINE void LL_DMA_SetPeriphRequest(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Request)
1252{
1253 MODIFY_REG(((DMAMUX_Channel_TypeDef *)(uint32_t)((uint32_t)DMAMUX1_Channel0 + (DMAMUX_CCR_SIZE * (Stream)) + (uint32_t)(DMAMUX_CCR_SIZE * LL_DMA_INSTANCE_TO_DMAMUX_CHANNEL(DMAx))))->CCR, DMAMUX_CxCR_DMAREQ_ID, Request);
1254}
1255
1412__STATIC_INLINE uint32_t LL_DMA_GetPeriphRequest(DMA_TypeDef *DMAx, uint32_t Stream)
1413{
1414 return (READ_BIT(((DMAMUX_Channel_TypeDef *)((uint32_t)((uint32_t)DMAMUX1_Channel0 + (DMAMUX_CCR_SIZE * (Stream)) + (uint32_t)(DMAMUX_CCR_SIZE * LL_DMA_INSTANCE_TO_DMAMUX_CHANNEL(DMAx)))))->CCR, DMAMUX_CxCR_DMAREQ_ID));
1415}
1416
1437__STATIC_INLINE void LL_DMA_SetMemoryBurstxfer(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Mburst)
1438{
1439 uint32_t dma_base_addr = (uint32_t)DMAx;
1440
1441 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_MBURST, Mburst);
1442}
1443
1463__STATIC_INLINE uint32_t LL_DMA_GetMemoryBurstxfer(DMA_TypeDef *DMAx, uint32_t Stream)
1464{
1465 uint32_t dma_base_addr = (uint32_t)DMAx;
1466
1467 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_MBURST));
1468}
1469
1490__STATIC_INLINE void LL_DMA_SetPeriphBurstxfer(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Pburst)
1491{
1492 uint32_t dma_base_addr = (uint32_t)DMAx;
1493
1494 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PBURST, Pburst);
1495}
1496
1516__STATIC_INLINE uint32_t LL_DMA_GetPeriphBurstxfer(DMA_TypeDef *DMAx, uint32_t Stream)
1517{
1518 uint32_t dma_base_addr = (uint32_t)DMAx;
1519
1520 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PBURST));
1521}
1522
1541__STATIC_INLINE void LL_DMA_SetCurrentTargetMem(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t CurrentMemory)
1542{
1543 uint32_t dma_base_addr = (uint32_t)DMAx;
1544
1545 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_CT, CurrentMemory);
1546}
1547
1565__STATIC_INLINE uint32_t LL_DMA_GetCurrentTargetMem(DMA_TypeDef *DMAx, uint32_t Stream)
1566{
1567 uint32_t dma_base_addr = (uint32_t)DMAx;
1568
1569 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_CT));
1570}
1571
1587__STATIC_INLINE void LL_DMA_EnableDoubleBufferMode(DMA_TypeDef *DMAx, uint32_t Stream)
1588{
1589 uint32_t dma_base_addr = (uint32_t)DMAx;
1590
1591 SET_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_DBM);
1592}
1593
1609__STATIC_INLINE void LL_DMA_DisableDoubleBufferMode(DMA_TypeDef *DMAx, uint32_t Stream)
1610{
1611 uint32_t dma_base_addr = (uint32_t)DMAx;
1612
1613 CLEAR_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_DBM);
1614}
1615
1637__STATIC_INLINE uint32_t LL_DMA_GetFIFOStatus(DMA_TypeDef *DMAx, uint32_t Stream)
1638{
1639 uint32_t dma_base_addr = (uint32_t)DMAx;
1640
1641 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->FCR, DMA_SxFCR_FS));
1642}
1643
1659__STATIC_INLINE void LL_DMA_DisableFifoMode(DMA_TypeDef *DMAx, uint32_t Stream)
1660{
1661 uint32_t dma_base_addr = (uint32_t)DMAx;
1662
1663 CLEAR_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->FCR, DMA_SxFCR_DMDIS);
1664}
1665
1681__STATIC_INLINE void LL_DMA_EnableFifoMode(DMA_TypeDef *DMAx, uint32_t Stream)
1682{
1683 uint32_t dma_base_addr = (uint32_t)DMAx;
1684
1685 SET_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->FCR, DMA_SxFCR_DMDIS);
1686}
1687
1708__STATIC_INLINE void LL_DMA_SetFIFOThreshold(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Threshold)
1709{
1710 uint32_t dma_base_addr = (uint32_t)DMAx;
1711
1712 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->FCR, DMA_SxFCR_FTH, Threshold);
1713}
1714
1734__STATIC_INLINE uint32_t LL_DMA_GetFIFOThreshold(DMA_TypeDef *DMAx, uint32_t Stream)
1735{
1736 uint32_t dma_base_addr = (uint32_t)DMAx;
1737
1738 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->FCR, DMA_SxFCR_FTH));
1739}
1740
1765__STATIC_INLINE void LL_DMA_ConfigFifo(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t FifoMode, uint32_t FifoThreshold)
1766{
1767 uint32_t dma_base_addr = (uint32_t)DMAx;
1768
1769 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->FCR, DMA_SxFCR_FTH | DMA_SxFCR_DMDIS, FifoMode | FifoThreshold);
1770}
1771
1795__STATIC_INLINE void LL_DMA_ConfigAddresses(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t SrcAddress, uint32_t DstAddress, uint32_t Direction)
1796{
1797 uint32_t dma_base_addr = (uint32_t)DMAx;
1798
1799 /* Direction Memory to Periph */
1800 if (Direction == LL_DMA_DIRECTION_MEMORY_TO_PERIPH)
1801 {
1802 WRITE_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->M0AR, SrcAddress);
1803 WRITE_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->PAR, DstAddress);
1804 }
1805 /* Direction Periph to Memory and Memory to Memory */
1806 else
1807 {
1808 WRITE_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->PAR, SrcAddress);
1809 WRITE_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->M0AR, DstAddress);
1810 }
1811}
1812
1831__STATIC_INLINE void LL_DMA_SetMemoryAddress(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t MemoryAddress)
1832{
1833 uint32_t dma_base_addr = (uint32_t)DMAx;
1834
1835 WRITE_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->M0AR, MemoryAddress);
1836}
1837
1856__STATIC_INLINE void LL_DMA_SetPeriphAddress(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t PeriphAddress)
1857{
1858 uint32_t dma_base_addr = (uint32_t)DMAx;
1859
1860 WRITE_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->PAR, PeriphAddress);
1861}
1862
1879__STATIC_INLINE uint32_t LL_DMA_GetMemoryAddress(DMA_TypeDef *DMAx, uint32_t Stream)
1880{
1881 uint32_t dma_base_addr = (uint32_t)DMAx;
1882
1883 return (READ_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->M0AR));
1884}
1885
1902__STATIC_INLINE uint32_t LL_DMA_GetPeriphAddress(DMA_TypeDef *DMAx, uint32_t Stream)
1903{
1904 uint32_t dma_base_addr = (uint32_t)DMAx;
1905
1906 return (READ_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->PAR));
1907}
1908
1927__STATIC_INLINE void LL_DMA_SetM2MSrcAddress(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t MemoryAddress)
1928{
1929 uint32_t dma_base_addr = (uint32_t)DMAx;
1930
1931 WRITE_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->PAR, MemoryAddress);
1932}
1933
1952__STATIC_INLINE void LL_DMA_SetM2MDstAddress(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t MemoryAddress)
1953{
1954 uint32_t dma_base_addr = (uint32_t)DMAx;
1955
1956 WRITE_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->M0AR, MemoryAddress);
1957}
1958
1975__STATIC_INLINE uint32_t LL_DMA_GetM2MSrcAddress(DMA_TypeDef *DMAx, uint32_t Stream)
1976{
1977 uint32_t dma_base_addr = (uint32_t)DMAx;
1978
1979 return (READ_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->PAR));
1980}
1981
1998__STATIC_INLINE uint32_t LL_DMA_GetM2MDstAddress(DMA_TypeDef *DMAx, uint32_t Stream)
1999{
2000 uint32_t dma_base_addr = (uint32_t)DMAx;
2001
2002 return (READ_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->M0AR));
2003}
2004
2021__STATIC_INLINE void LL_DMA_SetMemory1Address(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Address)
2022{
2023 uint32_t dma_base_addr = (uint32_t)DMAx;
2024
2025 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->M1AR, DMA_SxM1AR_M1A, Address);
2026}
2027
2043__STATIC_INLINE uint32_t LL_DMA_GetMemory1Address(DMA_TypeDef *DMAx, uint32_t Stream)
2044{
2045 uint32_t dma_base_addr = (uint32_t)DMAx;
2046
2047 return (((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->M1AR);
2048}
2049
2065__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_HT0(DMA_TypeDef *DMAx)
2066{
2067 return ((READ_BIT(DMAx->LISR, DMA_LISR_HTIF0) == (DMA_LISR_HTIF0)) ? 1UL : 0UL);
2068}
2069
2076__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_HT1(DMA_TypeDef *DMAx)
2077{
2078 return ((READ_BIT(DMAx->LISR, DMA_LISR_HTIF1) == (DMA_LISR_HTIF1)) ? 1UL : 0UL);
2079}
2080
2087__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_HT2(DMA_TypeDef *DMAx)
2088{
2089 return ((READ_BIT(DMAx->LISR, DMA_LISR_HTIF2) == (DMA_LISR_HTIF2)) ? 1UL : 0UL);
2090}
2091
2098__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_HT3(DMA_TypeDef *DMAx)
2099{
2100 return ((READ_BIT(DMAx->LISR, DMA_LISR_HTIF3) == (DMA_LISR_HTIF3)) ? 1UL : 0UL);
2101}
2102
2109__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_HT4(DMA_TypeDef *DMAx)
2110{
2111 return ((READ_BIT(DMAx->HISR, DMA_HISR_HTIF4) == (DMA_HISR_HTIF4)) ? 1UL : 0UL);
2112}
2113
2120__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_HT5(DMA_TypeDef *DMAx)
2121{
2122 return ((READ_BIT(DMAx->HISR, DMA_HISR_HTIF5) == (DMA_HISR_HTIF5)) ? 1UL : 0UL);
2123}
2124
2131__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_HT6(DMA_TypeDef *DMAx)
2132{
2133 return ((READ_BIT(DMAx->HISR, DMA_HISR_HTIF6) == (DMA_HISR_HTIF6)) ? 1UL : 0UL);
2134}
2135
2142__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_HT7(DMA_TypeDef *DMAx)
2143{
2144 return ((READ_BIT(DMAx->HISR, DMA_HISR_HTIF7) == (DMA_HISR_HTIF7)) ? 1UL : 0UL);
2145}
2146
2153__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TC0(DMA_TypeDef *DMAx)
2154{
2155 return ((READ_BIT(DMAx->LISR, DMA_LISR_TCIF0) == (DMA_LISR_TCIF0)) ? 1UL : 0UL);
2156}
2157
2164__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TC1(DMA_TypeDef *DMAx)
2165{
2166 return ((READ_BIT(DMAx->LISR, DMA_LISR_TCIF1) == (DMA_LISR_TCIF1)) ? 1UL : 0UL);
2167}
2168
2175__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TC2(DMA_TypeDef *DMAx)
2176{
2177 return ((READ_BIT(DMAx->LISR, DMA_LISR_TCIF2) == (DMA_LISR_TCIF2)) ? 1UL : 0UL);
2178}
2179
2186__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TC3(DMA_TypeDef *DMAx)
2187{
2188 return ((READ_BIT(DMAx->LISR, DMA_LISR_TCIF3) == (DMA_LISR_TCIF3)) ? 1UL : 0UL);
2189}
2190
2197__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TC4(DMA_TypeDef *DMAx)
2198{
2199 return ((READ_BIT(DMAx->HISR, DMA_HISR_TCIF4) == (DMA_HISR_TCIF4)) ? 1UL : 0UL);
2200}
2201
2208__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TC5(DMA_TypeDef *DMAx)
2209{
2210 return ((READ_BIT(DMAx->HISR, DMA_HISR_TCIF5) == (DMA_HISR_TCIF5)) ? 1UL : 0UL);
2211}
2212
2219__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TC6(DMA_TypeDef *DMAx)
2220{
2221 return ((READ_BIT(DMAx->HISR, DMA_HISR_TCIF6) == (DMA_HISR_TCIF6)) ? 1UL : 0UL);
2222}
2223
2230__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TC7(DMA_TypeDef *DMAx)
2231{
2232 return ((READ_BIT(DMAx->HISR, DMA_HISR_TCIF7) == (DMA_HISR_TCIF7)) ? 1UL : 0UL);
2233}
2234
2241__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TE0(DMA_TypeDef *DMAx)
2242{
2243 return ((READ_BIT(DMAx->LISR, DMA_LISR_TEIF0) == (DMA_LISR_TEIF0)) ? 1UL : 0UL);
2244}
2245
2252__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TE1(DMA_TypeDef *DMAx)
2253{
2254 return ((READ_BIT(DMAx->LISR, DMA_LISR_TEIF1) == (DMA_LISR_TEIF1)) ? 1UL : 0UL);
2255}
2256
2263__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TE2(DMA_TypeDef *DMAx)
2264{
2265 return ((READ_BIT(DMAx->LISR, DMA_LISR_TEIF2) == (DMA_LISR_TEIF2)) ? 1UL : 0UL);
2266}
2267
2274__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TE3(DMA_TypeDef *DMAx)
2275{
2276 return ((READ_BIT(DMAx->LISR, DMA_LISR_TEIF3) == (DMA_LISR_TEIF3)) ? 1UL : 0UL);
2277}
2278
2285__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TE4(DMA_TypeDef *DMAx)
2286{
2287 return ((READ_BIT(DMAx->HISR, DMA_HISR_TEIF4) == (DMA_HISR_TEIF4)) ? 1UL : 0UL);
2288}
2289
2296__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TE5(DMA_TypeDef *DMAx)
2297{
2298 return ((READ_BIT(DMAx->HISR, DMA_HISR_TEIF5) == (DMA_HISR_TEIF5)) ? 1UL : 0UL);
2299}
2300
2307__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TE6(DMA_TypeDef *DMAx)
2308{
2309 return ((READ_BIT(DMAx->HISR, DMA_HISR_TEIF6) == (DMA_HISR_TEIF6)) ? 1UL : 0UL);
2310}
2311
2318__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TE7(DMA_TypeDef *DMAx)
2319{
2320 return ((READ_BIT(DMAx->HISR, DMA_HISR_TEIF7) == (DMA_HISR_TEIF7)) ? 1UL : 0UL);
2321}
2322
2329__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_DME0(DMA_TypeDef *DMAx)
2330{
2331 return ((READ_BIT(DMAx->LISR, DMA_LISR_DMEIF0) == (DMA_LISR_DMEIF0)) ? 1UL : 0UL);
2332}
2333
2340__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_DME1(DMA_TypeDef *DMAx)
2341{
2342 return ((READ_BIT(DMAx->LISR, DMA_LISR_DMEIF1) == (DMA_LISR_DMEIF1)) ? 1UL : 0UL);
2343}
2344
2351__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_DME2(DMA_TypeDef *DMAx)
2352{
2353 return ((READ_BIT(DMAx->LISR, DMA_LISR_DMEIF2) == (DMA_LISR_DMEIF2)) ? 1UL : 0UL);
2354}
2355
2362__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_DME3(DMA_TypeDef *DMAx)
2363{
2364 return ((READ_BIT(DMAx->LISR, DMA_LISR_DMEIF3) == (DMA_LISR_DMEIF3)) ? 1UL : 0UL);
2365}
2366
2373__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_DME4(DMA_TypeDef *DMAx)
2374{
2375 return ((READ_BIT(DMAx->HISR, DMA_HISR_DMEIF4) == (DMA_HISR_DMEIF4)) ? 1UL : 0UL);
2376}
2377
2384__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_DME5(DMA_TypeDef *DMAx)
2385{
2386 return ((READ_BIT(DMAx->HISR, DMA_HISR_DMEIF5) == (DMA_HISR_DMEIF5)) ? 1UL : 0UL);
2387}
2388
2395__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_DME6(DMA_TypeDef *DMAx)
2396{
2397 return ((READ_BIT(DMAx->HISR, DMA_HISR_DMEIF6) == (DMA_HISR_DMEIF6)) ? 1UL : 0UL);
2398}
2399
2406__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_DME7(DMA_TypeDef *DMAx)
2407{
2408 return ((READ_BIT(DMAx->HISR, DMA_HISR_DMEIF7) == (DMA_HISR_DMEIF7)) ? 1UL : 0UL);
2409}
2410
2417__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_FE0(DMA_TypeDef *DMAx)
2418{
2419 return ((READ_BIT(DMAx->LISR, DMA_LISR_FEIF0) == (DMA_LISR_FEIF0)) ? 1UL : 0UL);
2420}
2421
2428__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_FE1(DMA_TypeDef *DMAx)
2429{
2430 return ((READ_BIT(DMAx->LISR, DMA_LISR_FEIF1) == (DMA_LISR_FEIF1)) ? 1UL : 0UL);
2431}
2432
2439__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_FE2(DMA_TypeDef *DMAx)
2440{
2441 return ((READ_BIT(DMAx->LISR, DMA_LISR_FEIF2) == (DMA_LISR_FEIF2)) ? 1UL : 0UL);
2442}
2443
2450__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_FE3(DMA_TypeDef *DMAx)
2451{
2452 return ((READ_BIT(DMAx->LISR, DMA_LISR_FEIF3) == (DMA_LISR_FEIF3)) ? 1UL : 0UL);
2453}
2454
2461__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_FE4(DMA_TypeDef *DMAx)
2462{
2463 return ((READ_BIT(DMAx->HISR, DMA_HISR_FEIF4) == (DMA_HISR_FEIF4)) ? 1UL : 0UL);
2464}
2465
2472__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_FE5(DMA_TypeDef *DMAx)
2473{
2474 return ((READ_BIT(DMAx->HISR, DMA_HISR_FEIF5) == (DMA_HISR_FEIF5)) ? 1UL : 0UL);
2475}
2476
2483__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_FE6(DMA_TypeDef *DMAx)
2484{
2485 return ((READ_BIT(DMAx->HISR, DMA_HISR_FEIF6) == (DMA_HISR_FEIF6)) ? 1UL : 0UL);
2486}
2487
2494__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_FE7(DMA_TypeDef *DMAx)
2495{
2496 return ((READ_BIT(DMAx->HISR, DMA_HISR_FEIF7) == (DMA_HISR_FEIF7)) ? 1UL : 0UL);
2497}
2498
2505__STATIC_INLINE void LL_DMA_ClearFlag_HT0(DMA_TypeDef *DMAx)
2506{
2507 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CHTIF0);
2508}
2509
2516__STATIC_INLINE void LL_DMA_ClearFlag_HT1(DMA_TypeDef *DMAx)
2517{
2518 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CHTIF1);
2519}
2520
2527__STATIC_INLINE void LL_DMA_ClearFlag_HT2(DMA_TypeDef *DMAx)
2528{
2529 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CHTIF2);
2530}
2531
2538__STATIC_INLINE void LL_DMA_ClearFlag_HT3(DMA_TypeDef *DMAx)
2539{
2540 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CHTIF3);
2541}
2542
2549__STATIC_INLINE void LL_DMA_ClearFlag_HT4(DMA_TypeDef *DMAx)
2550{
2551 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CHTIF4);
2552}
2553
2560__STATIC_INLINE void LL_DMA_ClearFlag_HT5(DMA_TypeDef *DMAx)
2561{
2562 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CHTIF5);
2563}
2564
2571__STATIC_INLINE void LL_DMA_ClearFlag_HT6(DMA_TypeDef *DMAx)
2572{
2573 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CHTIF6);
2574}
2575
2582__STATIC_INLINE void LL_DMA_ClearFlag_HT7(DMA_TypeDef *DMAx)
2583{
2584 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CHTIF7);
2585}
2586
2593__STATIC_INLINE void LL_DMA_ClearFlag_TC0(DMA_TypeDef *DMAx)
2594{
2595 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CTCIF0);
2596}
2597
2604__STATIC_INLINE void LL_DMA_ClearFlag_TC1(DMA_TypeDef *DMAx)
2605{
2606 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CTCIF1);
2607}
2608
2615__STATIC_INLINE void LL_DMA_ClearFlag_TC2(DMA_TypeDef *DMAx)
2616{
2617 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CTCIF2);
2618}
2619
2626__STATIC_INLINE void LL_DMA_ClearFlag_TC3(DMA_TypeDef *DMAx)
2627{
2628 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CTCIF3);
2629}
2630
2637__STATIC_INLINE void LL_DMA_ClearFlag_TC4(DMA_TypeDef *DMAx)
2638{
2639 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CTCIF4);
2640}
2641
2648__STATIC_INLINE void LL_DMA_ClearFlag_TC5(DMA_TypeDef *DMAx)
2649{
2650 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CTCIF5);
2651}
2652
2659__STATIC_INLINE void LL_DMA_ClearFlag_TC6(DMA_TypeDef *DMAx)
2660{
2661 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CTCIF6);
2662}
2663
2670__STATIC_INLINE void LL_DMA_ClearFlag_TC7(DMA_TypeDef *DMAx)
2671{
2672 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CTCIF7);
2673}
2674
2681__STATIC_INLINE void LL_DMA_ClearFlag_TE0(DMA_TypeDef *DMAx)
2682{
2683 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CTEIF0);
2684}
2685
2692__STATIC_INLINE void LL_DMA_ClearFlag_TE1(DMA_TypeDef *DMAx)
2693{
2694 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CTEIF1);
2695}
2696
2703__STATIC_INLINE void LL_DMA_ClearFlag_TE2(DMA_TypeDef *DMAx)
2704{
2705 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CTEIF2);
2706}
2707
2714__STATIC_INLINE void LL_DMA_ClearFlag_TE3(DMA_TypeDef *DMAx)
2715{
2716 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CTEIF3);
2717}
2718
2725__STATIC_INLINE void LL_DMA_ClearFlag_TE4(DMA_TypeDef *DMAx)
2726{
2727 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CTEIF4);
2728}
2729
2736__STATIC_INLINE void LL_DMA_ClearFlag_TE5(DMA_TypeDef *DMAx)
2737{
2738 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CTEIF5);
2739}
2740
2747__STATIC_INLINE void LL_DMA_ClearFlag_TE6(DMA_TypeDef *DMAx)
2748{
2749 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CTEIF6);
2750}
2751
2758__STATIC_INLINE void LL_DMA_ClearFlag_TE7(DMA_TypeDef *DMAx)
2759{
2760 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CTEIF7);
2761}
2762
2769__STATIC_INLINE void LL_DMA_ClearFlag_DME0(DMA_TypeDef *DMAx)
2770{
2771 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CDMEIF0);
2772}
2773
2780__STATIC_INLINE void LL_DMA_ClearFlag_DME1(DMA_TypeDef *DMAx)
2781{
2782 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CDMEIF1);
2783}
2784
2791__STATIC_INLINE void LL_DMA_ClearFlag_DME2(DMA_TypeDef *DMAx)
2792{
2793 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CDMEIF2);
2794}
2795
2802__STATIC_INLINE void LL_DMA_ClearFlag_DME3(DMA_TypeDef *DMAx)
2803{
2804 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CDMEIF3);
2805}
2806
2813__STATIC_INLINE void LL_DMA_ClearFlag_DME4(DMA_TypeDef *DMAx)
2814{
2815 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CDMEIF4);
2816}
2817
2824__STATIC_INLINE void LL_DMA_ClearFlag_DME5(DMA_TypeDef *DMAx)
2825{
2826 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CDMEIF5);
2827}
2828
2835__STATIC_INLINE void LL_DMA_ClearFlag_DME6(DMA_TypeDef *DMAx)
2836{
2837 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CDMEIF6);
2838}
2839
2846__STATIC_INLINE void LL_DMA_ClearFlag_DME7(DMA_TypeDef *DMAx)
2847{
2848 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CDMEIF7);
2849}
2850
2857__STATIC_INLINE void LL_DMA_ClearFlag_FE0(DMA_TypeDef *DMAx)
2858{
2859 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CFEIF0);
2860}
2861
2868__STATIC_INLINE void LL_DMA_ClearFlag_FE1(DMA_TypeDef *DMAx)
2869{
2870 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CFEIF1);
2871}
2872
2879__STATIC_INLINE void LL_DMA_ClearFlag_FE2(DMA_TypeDef *DMAx)
2880{
2881 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CFEIF2);
2882}
2883
2890__STATIC_INLINE void LL_DMA_ClearFlag_FE3(DMA_TypeDef *DMAx)
2891{
2892 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CFEIF3);
2893}
2894
2901__STATIC_INLINE void LL_DMA_ClearFlag_FE4(DMA_TypeDef *DMAx)
2902{
2903 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CFEIF4);
2904}
2905
2912__STATIC_INLINE void LL_DMA_ClearFlag_FE5(DMA_TypeDef *DMAx)
2913{
2914 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CFEIF5);
2915}
2916
2923__STATIC_INLINE void LL_DMA_ClearFlag_FE6(DMA_TypeDef *DMAx)
2924{
2925 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CFEIF6);
2926}
2927
2934__STATIC_INLINE void LL_DMA_ClearFlag_FE7(DMA_TypeDef *DMAx)
2935{
2936 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CFEIF7);
2937}
2938
2963__STATIC_INLINE void LL_DMA_EnableIT_HT(DMA_TypeDef *DMAx, uint32_t Stream)
2964{
2965 uint32_t dma_base_addr = (uint32_t)DMAx;
2966
2967 SET_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_HTIE);
2968}
2969
2985__STATIC_INLINE void LL_DMA_EnableIT_TE(DMA_TypeDef *DMAx, uint32_t Stream)
2986{
2987 uint32_t dma_base_addr = (uint32_t)DMAx;
2988
2989 SET_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_TEIE);
2990}
2991
3007__STATIC_INLINE void LL_DMA_EnableIT_TC(DMA_TypeDef *DMAx, uint32_t Stream)
3008{
3009 uint32_t dma_base_addr = (uint32_t)DMAx;
3010
3011 SET_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_TCIE);
3012}
3013
3029__STATIC_INLINE void LL_DMA_EnableIT_DME(DMA_TypeDef *DMAx, uint32_t Stream)
3030{
3031 uint32_t dma_base_addr = (uint32_t)DMAx;
3032
3033 SET_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_DMEIE);
3034}
3035
3051__STATIC_INLINE void LL_DMA_EnableIT_FE(DMA_TypeDef *DMAx, uint32_t Stream)
3052{
3053 uint32_t dma_base_addr = (uint32_t)DMAx;
3054
3055 SET_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->FCR, DMA_SxFCR_FEIE);
3056}
3057
3073__STATIC_INLINE void LL_DMA_DisableIT_HT(DMA_TypeDef *DMAx, uint32_t Stream)
3074{
3075 uint32_t dma_base_addr = (uint32_t)DMAx;
3076
3077 CLEAR_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_HTIE);
3078}
3079
3095__STATIC_INLINE void LL_DMA_DisableIT_TE(DMA_TypeDef *DMAx, uint32_t Stream)
3096{
3097 uint32_t dma_base_addr = (uint32_t)DMAx;
3098
3099 CLEAR_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_TEIE);
3100}
3101
3117__STATIC_INLINE void LL_DMA_DisableIT_TC(DMA_TypeDef *DMAx, uint32_t Stream)
3118{
3119 uint32_t dma_base_addr = (uint32_t)DMAx;
3120
3121 CLEAR_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_TCIE);
3122}
3123
3139__STATIC_INLINE void LL_DMA_DisableIT_DME(DMA_TypeDef *DMAx, uint32_t Stream)
3140{
3141 uint32_t dma_base_addr = (uint32_t)DMAx;
3142
3143 CLEAR_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_DMEIE);
3144}
3145
3161__STATIC_INLINE void LL_DMA_DisableIT_FE(DMA_TypeDef *DMAx, uint32_t Stream)
3162{
3163 uint32_t dma_base_addr = (uint32_t)DMAx;
3164
3165 CLEAR_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->FCR, DMA_SxFCR_FEIE);
3166}
3167
3183__STATIC_INLINE uint32_t LL_DMA_IsEnabledIT_HT(DMA_TypeDef *DMAx, uint32_t Stream)
3184{
3185 uint32_t dma_base_addr = (uint32_t)DMAx;
3186
3187 return ((READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_HTIE) == DMA_SxCR_HTIE) ? 1UL : 0UL);
3188}
3189
3205__STATIC_INLINE uint32_t LL_DMA_IsEnabledIT_TE(DMA_TypeDef *DMAx, uint32_t Stream)
3206{
3207 uint32_t dma_base_addr = (uint32_t)DMAx;
3208
3209 return ((READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_TEIE) == DMA_SxCR_TEIE) ? 1UL : 0UL);
3210}
3211
3227__STATIC_INLINE uint32_t LL_DMA_IsEnabledIT_TC(DMA_TypeDef *DMAx, uint32_t Stream)
3228{
3229 uint32_t dma_base_addr = (uint32_t)DMAx;
3230
3231 return ((READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_TCIE) == DMA_SxCR_TCIE) ? 1UL : 0UL);
3232}
3233
3249__STATIC_INLINE uint32_t LL_DMA_IsEnabledIT_DME(DMA_TypeDef *DMAx, uint32_t Stream)
3250{
3251 uint32_t dma_base_addr = (uint32_t)DMAx;
3252
3253 return ((READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_DMEIE) == DMA_SxCR_DMEIE) ? 1UL : 0UL);
3254}
3255
3271__STATIC_INLINE uint32_t LL_DMA_IsEnabledIT_FE(DMA_TypeDef *DMAx, uint32_t Stream)
3272{
3273 uint32_t dma_base_addr = (uint32_t)DMAx;
3274
3275 return ((READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->FCR, DMA_SxFCR_FEIE) == DMA_SxFCR_FEIE) ? 1UL : 0UL);
3276}
3277
3282#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
3288uint32_t LL_DMA_Init(DMA_TypeDef *DMAx, uint32_t Stream, LL_DMA_InitTypeDef *DMA_InitStruct);
3289uint32_t LL_DMA_DeInit(DMA_TypeDef *DMAx, uint32_t Stream);
3290void LL_DMA_StructInit(LL_DMA_InitTypeDef *DMA_InitStruct);
3291
3295#endif /* USE_FULL_LL_DRIVER */
3296
3305#endif /* DMA1 || DMA2 */
3306
3311#ifdef __cplusplus
3312}
3313#endif
3314
3315#endif /* __STM32H7xx_LL_DMA_H */
3316
#define DMA1_BASE
Definition: MIMXRT1166_cm4.h:32638
#define DMA_LISR_DMEIF3
Definition: stm32h723xx.h:8891
#define DMA_LISR_HTIF1
Definition: stm32h723xx.h:8915
#define DMA_LIFCR_CTEIF3
Definition: stm32h723xx.h:9012
#define DMA_LISR_TEIF1
Definition: stm32h723xx.h:8918
#define DMA_HISR_HTIF6
Definition: stm32h723xx.h:8962
#define DMA_HISR_FEIF5
Definition: stm32h723xx.h:8986
#define DMA_HIFCR_CDMEIF4
Definition: stm32h723xx.h:9122
#define DMA_LIFCR_CHTIF3
Definition: stm32h723xx.h:9009
#define DMA_SxCR_PFCTRL
Definition: stm32h723xx.h:8822
#define DMA_SxCR_HTIE
Definition: stm32h723xx.h:8828
#define DMA_SxCR_PL
Definition: stm32h723xx.h:8790
#define DMA_HIFCR_CDMEIF5
Definition: stm32h723xx.h:9107
#define DMA_SxCR_DIR
Definition: stm32h723xx.h:8817
#define DMA_HISR_TEIF6
Definition: stm32h723xx.h:8965
#define DMA_HIFCR_CFEIF4
Definition: stm32h723xx.h:9125
#define DMA_SxCR_PINC
Definition: stm32h723xx.h:8811
#define DMA_HIFCR_CHTIF5
Definition: stm32h723xx.h:9101
#define DMA_HIFCR_CTEIF5
Definition: stm32h723xx.h:9104
#define DMA_HIFCR_CFEIF6
Definition: stm32h723xx.h:9095
#define DMA_HISR_DMEIF7
Definition: stm32h723xx.h:8953
#define DMA_SxCR_TRBUFF
Definition: stm32h723xx.h:8781
#define DMAMUX_CxCR_DMAREQ_ID
Definition: stm32h723xx.h:9150
#define DMA_HIFCR_CTCIF4
Definition: stm32h723xx.h:9113
#define DMA_SxFCR_FTH
Definition: stm32h723xx.h:8875
#define DMA_LISR_TCIF3
Definition: stm32h723xx.h:8882
#define DMA_LIFCR_CHTIF0
Definition: stm32h723xx.h:9054
#define DMA_SxCR_PBURST
Definition: stm32h723xx.h:8776
#define DMA_HIFCR_CFEIF7
Definition: stm32h723xx.h:9080
#define DMA_LIFCR_CTCIF3
Definition: stm32h723xx.h:9006
#define DMA_LIFCR_CTCIF2
Definition: stm32h723xx.h:9021
#define DMA_LISR_FEIF3
Definition: stm32h723xx.h:8894
#define DMA_SxCR_DBM
Definition: stm32h723xx.h:8787
#define DMA_SxFCR_FS
Definition: stm32h723xx.h:8866
#define DMA_LIFCR_CTEIF0
Definition: stm32h723xx.h:9057
#define DMA_SxCR_MBURST
Definition: stm32h723xx.h:8771
#define DMA_LISR_TEIF3
Definition: stm32h723xx.h:8888
#define DMA_LISR_HTIF0
Definition: stm32h723xx.h:8930
#define DMA_SxNDT
Definition: stm32h723xx.h:8842
#define DMA_HISR_TCIF5
Definition: stm32h723xx.h:8974
#define DMA_HIFCR_CTEIF6
Definition: stm32h723xx.h:9089
#define DMA_SxCR_TCIE
Definition: stm32h723xx.h:8825
#define DMA_LISR_HTIF2
Definition: stm32h723xx.h:8900
#define DMA_LISR_DMEIF0
Definition: stm32h723xx.h:8936
#define DMA_LIFCR_CTCIF1
Definition: stm32h723xx.h:9036
#define DMA_LISR_TEIF2
Definition: stm32h723xx.h:8903
#define DMA_LIFCR_CDMEIF2
Definition: stm32h723xx.h:9030
#define DMA_SxCR_MINC
Definition: stm32h723xx.h:8808
#define DMA_LISR_FEIF0
Definition: stm32h723xx.h:8939
#define DMA_HIFCR_CDMEIF6
Definition: stm32h723xx.h:9092
#define DMA_HIFCR_CTEIF7
Definition: stm32h723xx.h:9074
#define DMA_HISR_HTIF5
Definition: stm32h723xx.h:8977
#define DMA_SxFCR_DMDIS
Definition: stm32h723xx.h:8872
#define DMA_HISR_TEIF4
Definition: stm32h723xx.h:8995
#define DMA_HIFCR_CHTIF7
Definition: stm32h723xx.h:9071
#define DMA_HISR_TEIF7
Definition: stm32h723xx.h:8950
#define DMA_LIFCR_CFEIF1
Definition: stm32h723xx.h:9048
#define DMA_LISR_FEIF2
Definition: stm32h723xx.h:8909
#define DMA_HIFCR_CFEIF5
Definition: stm32h723xx.h:9110
#define DMA_LIFCR_CDMEIF1
Definition: stm32h723xx.h:9045
#define DMA_HIFCR_CTEIF4
Definition: stm32h723xx.h:9119
#define DMA_LISR_HTIF3
Definition: stm32h723xx.h:8885
#define DMA_LISR_DMEIF1
Definition: stm32h723xx.h:8921
#define DMA_HIFCR_CTCIF5
Definition: stm32h723xx.h:9098
#define DMA_LIFCR_CTEIF2
Definition: stm32h723xx.h:9027
#define DMA_SxCR_EN
Definition: stm32h723xx.h:8837
#define DMA_LIFCR_CTCIF0
Definition: stm32h723xx.h:9051
#define DMA_HISR_DMEIF6
Definition: stm32h723xx.h:8968
#define DMA_SxFCR_FEIE
Definition: stm32h723xx.h:8863
#define DMA_LISR_DMEIF2
Definition: stm32h723xx.h:8906
#define DMA_LIFCR_CDMEIF3
Definition: stm32h723xx.h:9015
#define DMA_HISR_DMEIF5
Definition: stm32h723xx.h:8983
#define DMA_HISR_FEIF4
Definition: stm32h723xx.h:9001
#define DMA_SxCR_DMEIE
Definition: stm32h723xx.h:8834
#define DMA_HIFCR_CTCIF6
Definition: stm32h723xx.h:9083
#define DMA_HISR_TCIF7
Definition: stm32h723xx.h:8944
#define DMA_HISR_TCIF6
Definition: stm32h723xx.h:8959
#define DMA_LIFCR_CHTIF1
Definition: stm32h723xx.h:9039
#define DMA_LISR_TEIF0
Definition: stm32h723xx.h:8933
#define DMA_HIFCR_CDMEIF7
Definition: stm32h723xx.h:9077
#define DMA_LIFCR_CFEIF3
Definition: stm32h723xx.h:9018
#define DMA_HISR_HTIF4
Definition: stm32h723xx.h:8992
#define DMA_LISR_TCIF0
Definition: stm32h723xx.h:8927
#define DMA_SxCR_CIRC
Definition: stm32h723xx.h:8814
#define DMA_SxCR_CT
Definition: stm32h723xx.h:8784
#define DMA_HISR_FEIF7
Definition: stm32h723xx.h:8956
#define DMA_LIFCR_CFEIF0
Definition: stm32h723xx.h:9063
#define DMA_HIFCR_CTCIF7
Definition: stm32h723xx.h:9068
#define DMA_LISR_TCIF1
Definition: stm32h723xx.h:8912
#define DMA_SxM1AR_M1A
Definition: stm32h723xx.h:9140
#define DMA_LIFCR_CFEIF2
Definition: stm32h723xx.h:9033
#define DMA_LIFCR_CHTIF2
Definition: stm32h723xx.h:9024
#define DMA_SxCR_MSIZE
Definition: stm32h723xx.h:8798
#define DMA_SxCR_PINCOS
Definition: stm32h723xx.h:8795
#define DMA_HIFCR_CHTIF6
Definition: stm32h723xx.h:9086
#define DMA_SxCR_TEIE
Definition: stm32h723xx.h:8831
#define DMA_HISR_TEIF5
Definition: stm32h723xx.h:8980
#define DMA_LISR_TCIF2
Definition: stm32h723xx.h:8897
#define DMA_HISR_HTIF7
Definition: stm32h723xx.h:8947
#define DMA_LIFCR_CTEIF1
Definition: stm32h723xx.h:9042
#define DMA_HISR_DMEIF4
Definition: stm32h723xx.h:8998
#define DMA_HIFCR_CHTIF4
Definition: stm32h723xx.h:9116
#define DMA_HISR_FEIF6
Definition: stm32h723xx.h:8971
#define DMA_LISR_FEIF1
Definition: stm32h723xx.h:8924
#define DMA_HISR_TCIF4
Definition: stm32h723xx.h:8989
#define DMA_LIFCR_CDMEIF0
Definition: stm32h723xx.h:9060
CMSIS STM32H7xx Device Peripheral Access Layer Header File.
Header file of DMAMUX LL module.
Definition: stm32h723xx.h:634
DMA Controller.
Definition: stm32h723xx.h:601
Definition: stm32h723xx.h:611
__IO uint32_t HISR
Definition: stm32h723xx.h:613
__IO uint32_t LIFCR
Definition: stm32h723xx.h:614
__IO uint32_t HIFCR
Definition: stm32h723xx.h:615
__IO uint32_t LISR
Definition: stm32h723xx.h:612