RTEMS 6.1-rc5
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 uint32_t DoubleBufferMode;
189 uint32_t TargetMemInDoubleBufferMode;
193} LL_DMA_InitTypeDef;
197#endif /*USE_FULL_LL_DRIVER*/
198/* Exported constants --------------------------------------------------------*/
208#define LL_DMA_STREAM_0 0x00000000U
209#define LL_DMA_STREAM_1 0x00000001U
210#define LL_DMA_STREAM_2 0x00000002U
211#define LL_DMA_STREAM_3 0x00000003U
212#define LL_DMA_STREAM_4 0x00000004U
213#define LL_DMA_STREAM_5 0x00000005U
214#define LL_DMA_STREAM_6 0x00000006U
215#define LL_DMA_STREAM_7 0x00000007U
216#define LL_DMA_STREAM_ALL 0xFFFF0000U
226#define LL_DMA_DIRECTION_PERIPH_TO_MEMORY 0x00000000U
227#define LL_DMA_DIRECTION_MEMORY_TO_PERIPH DMA_SxCR_DIR_0
228#define LL_DMA_DIRECTION_MEMORY_TO_MEMORY DMA_SxCR_DIR_1
237#define LL_DMA_MODE_NORMAL 0x00000000U
238#define LL_DMA_MODE_CIRCULAR DMA_SxCR_CIRC
239#define LL_DMA_MODE_PFCTRL DMA_SxCR_PFCTRL
248#define LL_DMA_DOUBLEBUFFER_MODE_DISABLE 0x00000000U
249#define LL_DMA_DOUBLEBUFFER_MODE_ENABLE DMA_SxCR_DBM
257#define LL_DMA_CURRENTTARGETMEM0 0x00000000U
258#define LL_DMA_CURRENTTARGETMEM1 DMA_SxCR_CT
267#define LL_DMA_PERIPH_NOINCREMENT 0x00000000U
268#define LL_DMA_PERIPH_INCREMENT DMA_SxCR_PINC
277#define LL_DMA_MEMORY_NOINCREMENT 0x00000000U
278#define LL_DMA_MEMORY_INCREMENT DMA_SxCR_MINC
287#define LL_DMA_PDATAALIGN_BYTE 0x00000000U
288#define LL_DMA_PDATAALIGN_HALFWORD DMA_SxCR_PSIZE_0
289#define LL_DMA_PDATAALIGN_WORD DMA_SxCR_PSIZE_1
298#define LL_DMA_MDATAALIGN_BYTE 0x00000000U
299#define LL_DMA_MDATAALIGN_HALFWORD DMA_SxCR_MSIZE_0
300#define LL_DMA_MDATAALIGN_WORD DMA_SxCR_MSIZE_1
309#define LL_DMA_OFFSETSIZE_PSIZE 0x00000000U
310#define LL_DMA_OFFSETSIZE_FIXEDTO4 DMA_SxCR_PINCOS
319#define LL_DMA_PRIORITY_LOW 0x00000000U
320#define LL_DMA_PRIORITY_MEDIUM DMA_SxCR_PL_0
321#define LL_DMA_PRIORITY_HIGH DMA_SxCR_PL_1
322#define LL_DMA_PRIORITY_VERYHIGH DMA_SxCR_PL
332#define LL_DMA_MBURST_SINGLE 0x00000000U
333#define LL_DMA_MBURST_INC4 DMA_SxCR_MBURST_0
334#define LL_DMA_MBURST_INC8 DMA_SxCR_MBURST_1
335#define LL_DMA_MBURST_INC16 (DMA_SxCR_MBURST_0 | DMA_SxCR_MBURST_1)
344#define LL_DMA_PBURST_SINGLE 0x00000000U
345#define LL_DMA_PBURST_INC4 DMA_SxCR_PBURST_0
346#define LL_DMA_PBURST_INC8 DMA_SxCR_PBURST_1
347#define LL_DMA_PBURST_INC16 (DMA_SxCR_PBURST_0 | DMA_SxCR_PBURST_1)
356#define LL_DMA_FIFOMODE_DISABLE 0x00000000U
357#define LL_DMA_FIFOMODE_ENABLE DMA_SxFCR_DMDIS
366#define LL_DMA_FIFOSTATUS_0_25 0x00000000U
367#define LL_DMA_FIFOSTATUS_25_50 DMA_SxFCR_FS_0
368#define LL_DMA_FIFOSTATUS_50_75 DMA_SxFCR_FS_1
369#define LL_DMA_FIFOSTATUS_75_100 (DMA_SxFCR_FS_1 | DMA_SxFCR_FS_0)
370#define LL_DMA_FIFOSTATUS_EMPTY DMA_SxFCR_FS_2
371#define LL_DMA_FIFOSTATUS_FULL (DMA_SxFCR_FS_2 | DMA_SxFCR_FS_0)
380#define LL_DMA_FIFOTHRESHOLD_1_4 0x00000000U
381#define LL_DMA_FIFOTHRESHOLD_1_2 DMA_SxFCR_FTH_0
382#define LL_DMA_FIFOTHRESHOLD_3_4 DMA_SxFCR_FTH_1
383#define LL_DMA_FIFOTHRESHOLD_FULL DMA_SxFCR_FTH
392/* Exported macro ------------------------------------------------------------*/
409#define LL_DMA_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG((__INSTANCE__)->__REG__, (__VALUE__))
410
417#define LL_DMA_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__)
431#define __LL_DMA_GET_INSTANCE(__STREAM_INSTANCE__) \
432(((uint32_t)(__STREAM_INSTANCE__) > ((uint32_t)DMA1_Stream7)) ? DMA2 : DMA1)
433
439#define __LL_DMA_GET_STREAM(__STREAM_INSTANCE__) \
440(((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA1_Stream0)) ? LL_DMA_STREAM_0 : \
441 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA2_Stream0)) ? LL_DMA_STREAM_0 : \
442 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA1_Stream1)) ? LL_DMA_STREAM_1 : \
443 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA2_Stream1)) ? LL_DMA_STREAM_1 : \
444 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA1_Stream2)) ? LL_DMA_STREAM_2 : \
445 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA2_Stream2)) ? LL_DMA_STREAM_2 : \
446 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA1_Stream3)) ? LL_DMA_STREAM_3 : \
447 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA2_Stream3)) ? LL_DMA_STREAM_3 : \
448 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA1_Stream4)) ? LL_DMA_STREAM_4 : \
449 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA2_Stream4)) ? LL_DMA_STREAM_4 : \
450 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA1_Stream5)) ? LL_DMA_STREAM_5 : \
451 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA2_Stream5)) ? LL_DMA_STREAM_5 : \
452 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA1_Stream6)) ? LL_DMA_STREAM_6 : \
453 ((uint32_t)(__STREAM_INSTANCE__) == ((uint32_t)DMA2_Stream6)) ? LL_DMA_STREAM_6 : \
454 LL_DMA_STREAM_7)
455
462#define __LL_DMA_GET_STREAM_INSTANCE(__DMA_INSTANCE__, __STREAM__) \
463((((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_0))) ? DMA1_Stream0 : \
464 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA2)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_0))) ? DMA2_Stream0 : \
465 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_1))) ? DMA1_Stream1 : \
466 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA2)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_1))) ? DMA2_Stream1 : \
467 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_2))) ? DMA1_Stream2 : \
468 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA2)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_2))) ? DMA2_Stream2 : \
469 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_3))) ? DMA1_Stream3 : \
470 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA2)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_3))) ? DMA2_Stream3 : \
471 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_4))) ? DMA1_Stream4 : \
472 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA2)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_4))) ? DMA2_Stream4 : \
473 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_5))) ? DMA1_Stream5 : \
474 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA2)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_5))) ? DMA2_Stream5 : \
475 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_6))) ? DMA1_Stream6 : \
476 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA2)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_6))) ? DMA2_Stream6 : \
477 (((uint32_t)(__DMA_INSTANCE__) == ((uint32_t)DMA1)) && ((uint32_t)(__STREAM__) == ((uint32_t)LL_DMA_STREAM_7))) ? DMA1_Stream7 : \
478 DMA2_Stream7)
479
489/* Exported functions --------------------------------------------------------*/
514__STATIC_INLINE void LL_DMA_EnableStream(DMA_TypeDef *DMAx, uint32_t Stream)
515{
516 uint32_t dma_base_addr = (uint32_t)DMAx;
517
518 SET_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_EN);
519}
520
536__STATIC_INLINE void LL_DMA_DisableStream(DMA_TypeDef *DMAx, uint32_t Stream)
537{
538 uint32_t dma_base_addr = (uint32_t)DMAx;
539
540 CLEAR_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_EN);
541}
542
558__STATIC_INLINE uint32_t LL_DMA_IsEnabledStream(DMA_TypeDef *DMAx, uint32_t Stream)
559{
560 uint32_t dma_base_addr = (uint32_t)DMAx;
561
562 return ((READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_EN) == (DMA_SxCR_EN)) ? 1UL : 0UL);
563}
564
599__STATIC_INLINE void LL_DMA_ConfigTransfer(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Configuration)
600{
601 uint32_t dma_base_addr = (uint32_t)DMAx;
602
603 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR,
605 DMA_SxCR_PFCTRL | DMA_SxCR_DBM | DMA_SxCR_CT, Configuration);
606}
607
627__STATIC_INLINE void LL_DMA_SetDataTransferDirection(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Direction)
628{
629 uint32_t dma_base_addr = (uint32_t)DMAx;
630
631 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_DIR, Direction);
632}
633
652__STATIC_INLINE uint32_t LL_DMA_GetDataTransferDirection(DMA_TypeDef *DMAx, uint32_t Stream)
653{
654 uint32_t dma_base_addr = (uint32_t)DMAx;
655
656 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_DIR));
657}
658
679__STATIC_INLINE void LL_DMA_SetMode(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Mode)
680{
681 uint32_t dma_base_addr = (uint32_t)DMAx;
682
683 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_CIRC | DMA_SxCR_PFCTRL, Mode);
684}
685
705__STATIC_INLINE uint32_t LL_DMA_GetMode(DMA_TypeDef *DMAx, uint32_t Stream)
706{
707 uint32_t dma_base_addr = (uint32_t)DMAx;
708
709 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_CIRC | DMA_SxCR_PFCTRL));
710}
711
730__STATIC_INLINE void LL_DMA_SetPeriphIncMode(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t IncrementMode)
731{
732 uint32_t dma_base_addr = (uint32_t)DMAx;
733
734 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PINC, IncrementMode);
735}
736
754__STATIC_INLINE uint32_t LL_DMA_GetPeriphIncMode(DMA_TypeDef *DMAx, uint32_t Stream)
755{
756 uint32_t dma_base_addr = (uint32_t)DMAx;
757
758 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PINC));
759}
760
779__STATIC_INLINE void LL_DMA_SetMemoryIncMode(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t IncrementMode)
780{
781 uint32_t dma_base_addr = (uint32_t)DMAx;
782
783 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_MINC, IncrementMode);
784}
785
803__STATIC_INLINE uint32_t LL_DMA_GetMemoryIncMode(DMA_TypeDef *DMAx, uint32_t Stream)
804{
805 uint32_t dma_base_addr = (uint32_t)DMAx;
806
807 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_MINC));
808}
809
829__STATIC_INLINE void LL_DMA_SetPeriphSize(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Size)
830{
831 uint32_t dma_base_addr = (uint32_t)DMAx;
832
833 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PSIZE, Size);
834}
835
854__STATIC_INLINE uint32_t LL_DMA_GetPeriphSize(DMA_TypeDef *DMAx, uint32_t Stream)
855{
856 uint32_t dma_base_addr = (uint32_t)DMAx;
857
858 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PSIZE));
859}
860
880__STATIC_INLINE void LL_DMA_SetMemorySize(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Size)
881{
882 uint32_t dma_base_addr = (uint32_t)DMAx;
883
884 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_MSIZE, Size);
885}
886
905__STATIC_INLINE uint32_t LL_DMA_GetMemorySize(DMA_TypeDef *DMAx, uint32_t Stream)
906{
907 uint32_t dma_base_addr = (uint32_t)DMAx;
908
909 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_MSIZE));
910}
911
930__STATIC_INLINE void LL_DMA_SetIncOffsetSize(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t OffsetSize)
931{
932 uint32_t dma_base_addr = (uint32_t)DMAx;
933
934 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PINCOS, OffsetSize);
935}
936
954__STATIC_INLINE uint32_t LL_DMA_GetIncOffsetSize(DMA_TypeDef *DMAx, uint32_t Stream)
955{
956 uint32_t dma_base_addr = (uint32_t)DMAx;
957
958 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PINCOS));
959}
960
981__STATIC_INLINE void LL_DMA_SetStreamPriorityLevel(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Priority)
982{
983 uint32_t dma_base_addr = (uint32_t)DMAx;
984
985 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PL, Priority);
986}
987
1007__STATIC_INLINE uint32_t LL_DMA_GetStreamPriorityLevel(DMA_TypeDef *DMAx, uint32_t Stream)
1008{
1009 uint32_t dma_base_addr = (uint32_t)DMAx;
1010
1011 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PL));
1012}
1013
1029__STATIC_INLINE void LL_DMA_EnableBufferableTransfer(DMA_TypeDef *DMAx, uint32_t Stream)
1030{
1031 uint32_t dma_base_addr = (uint32_t)DMAx;
1032
1033 SET_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_TRBUFF);
1034}
1035
1051__STATIC_INLINE void LL_DMA_DisableBufferableTransfer(DMA_TypeDef *DMAx, uint32_t Stream)
1052{
1053 uint32_t dma_base_addr = (uint32_t)DMAx;
1054
1055 CLEAR_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_TRBUFF);
1056}
1057
1076__STATIC_INLINE void LL_DMA_SetDataLength(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t NbData)
1077{
1078 uint32_t dma_base_addr = (uint32_t)DMAx;
1079
1080 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->NDTR, DMA_SxNDT, NbData);
1081}
1082
1100__STATIC_INLINE uint32_t LL_DMA_GetDataLength(DMA_TypeDef *DMAx, uint32_t Stream)
1101{
1102 uint32_t dma_base_addr = (uint32_t)DMAx;
1103
1104 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->NDTR, DMA_SxNDT));
1105}
1263__STATIC_INLINE void LL_DMA_SetPeriphRequest(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Request)
1264{
1265 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);
1266}
1267
1424__STATIC_INLINE uint32_t LL_DMA_GetPeriphRequest(DMA_TypeDef *DMAx, uint32_t Stream)
1425{
1426 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));
1427}
1428
1449__STATIC_INLINE void LL_DMA_SetMemoryBurstxfer(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Mburst)
1450{
1451 uint32_t dma_base_addr = (uint32_t)DMAx;
1452
1453 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_MBURST, Mburst);
1454}
1455
1475__STATIC_INLINE uint32_t LL_DMA_GetMemoryBurstxfer(DMA_TypeDef *DMAx, uint32_t Stream)
1476{
1477 uint32_t dma_base_addr = (uint32_t)DMAx;
1478
1479 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_MBURST));
1480}
1481
1502__STATIC_INLINE void LL_DMA_SetPeriphBurstxfer(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Pburst)
1503{
1504 uint32_t dma_base_addr = (uint32_t)DMAx;
1505
1506 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PBURST, Pburst);
1507}
1508
1528__STATIC_INLINE uint32_t LL_DMA_GetPeriphBurstxfer(DMA_TypeDef *DMAx, uint32_t Stream)
1529{
1530 uint32_t dma_base_addr = (uint32_t)DMAx;
1531
1532 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_PBURST));
1533}
1534
1553__STATIC_INLINE void LL_DMA_SetCurrentTargetMem(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t CurrentMemory)
1554{
1555 uint32_t dma_base_addr = (uint32_t)DMAx;
1556
1557 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_CT, CurrentMemory);
1558}
1559
1577__STATIC_INLINE uint32_t LL_DMA_GetCurrentTargetMem(DMA_TypeDef *DMAx, uint32_t Stream)
1578{
1579 uint32_t dma_base_addr = (uint32_t)DMAx;
1580
1581 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_CT));
1582}
1583
1599__STATIC_INLINE void LL_DMA_EnableDoubleBufferMode(DMA_TypeDef *DMAx, uint32_t Stream)
1600{
1601 uint32_t dma_base_addr = (uint32_t)DMAx;
1602
1603 SET_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_DBM);
1604}
1605
1621__STATIC_INLINE void LL_DMA_DisableDoubleBufferMode(DMA_TypeDef *DMAx, uint32_t Stream)
1622{
1623 uint32_t dma_base_addr = (uint32_t)DMAx;
1624
1625 CLEAR_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_DBM);
1626}
1627
1643__STATIC_INLINE uint32_t LL_DMA_IsEnabledDoubleBufferMode(DMA_TypeDef *DMAx, uint32_t Stream)
1644{
1645 register uint32_t dma_base_addr = (uint32_t)DMAx;
1646
1647 return ((READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_DBM) == (DMA_SxCR_DBM)) ? 1UL : 0UL);
1648}
1649
1671__STATIC_INLINE uint32_t LL_DMA_GetFIFOStatus(DMA_TypeDef *DMAx, uint32_t Stream)
1672{
1673 uint32_t dma_base_addr = (uint32_t)DMAx;
1674
1675 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->FCR, DMA_SxFCR_FS));
1676}
1677
1693__STATIC_INLINE void LL_DMA_DisableFifoMode(DMA_TypeDef *DMAx, uint32_t Stream)
1694{
1695 uint32_t dma_base_addr = (uint32_t)DMAx;
1696
1697 CLEAR_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->FCR, DMA_SxFCR_DMDIS);
1698}
1699
1715__STATIC_INLINE void LL_DMA_EnableFifoMode(DMA_TypeDef *DMAx, uint32_t Stream)
1716{
1717 uint32_t dma_base_addr = (uint32_t)DMAx;
1718
1719 SET_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->FCR, DMA_SxFCR_DMDIS);
1720}
1721
1742__STATIC_INLINE void LL_DMA_SetFIFOThreshold(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Threshold)
1743{
1744 uint32_t dma_base_addr = (uint32_t)DMAx;
1745
1746 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->FCR, DMA_SxFCR_FTH, Threshold);
1747}
1748
1768__STATIC_INLINE uint32_t LL_DMA_GetFIFOThreshold(DMA_TypeDef *DMAx, uint32_t Stream)
1769{
1770 uint32_t dma_base_addr = (uint32_t)DMAx;
1771
1772 return (READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->FCR, DMA_SxFCR_FTH));
1773}
1774
1799__STATIC_INLINE void LL_DMA_ConfigFifo(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t FifoMode, uint32_t FifoThreshold)
1800{
1801 uint32_t dma_base_addr = (uint32_t)DMAx;
1802
1803 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->FCR, DMA_SxFCR_FTH | DMA_SxFCR_DMDIS, FifoMode | FifoThreshold);
1804}
1805
1829__STATIC_INLINE void LL_DMA_ConfigAddresses(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t SrcAddress, uint32_t DstAddress, uint32_t Direction)
1830{
1831 uint32_t dma_base_addr = (uint32_t)DMAx;
1832
1833 /* Direction Memory to Periph */
1834 if (Direction == LL_DMA_DIRECTION_MEMORY_TO_PERIPH)
1835 {
1836 WRITE_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->M0AR, SrcAddress);
1837 WRITE_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->PAR, DstAddress);
1838 }
1839 /* Direction Periph to Memory and Memory to Memory */
1840 else
1841 {
1842 WRITE_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->PAR, SrcAddress);
1843 WRITE_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->M0AR, DstAddress);
1844 }
1845}
1846
1865__STATIC_INLINE void LL_DMA_SetMemoryAddress(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t MemoryAddress)
1866{
1867 uint32_t dma_base_addr = (uint32_t)DMAx;
1868
1869 WRITE_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->M0AR, MemoryAddress);
1870}
1871
1890__STATIC_INLINE void LL_DMA_SetPeriphAddress(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t PeriphAddress)
1891{
1892 uint32_t dma_base_addr = (uint32_t)DMAx;
1893
1894 WRITE_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->PAR, PeriphAddress);
1895}
1896
1913__STATIC_INLINE uint32_t LL_DMA_GetMemoryAddress(DMA_TypeDef *DMAx, uint32_t Stream)
1914{
1915 uint32_t dma_base_addr = (uint32_t)DMAx;
1916
1917 return (READ_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->M0AR));
1918}
1919
1936__STATIC_INLINE uint32_t LL_DMA_GetPeriphAddress(DMA_TypeDef *DMAx, uint32_t Stream)
1937{
1938 uint32_t dma_base_addr = (uint32_t)DMAx;
1939
1940 return (READ_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->PAR));
1941}
1942
1961__STATIC_INLINE void LL_DMA_SetM2MSrcAddress(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t MemoryAddress)
1962{
1963 uint32_t dma_base_addr = (uint32_t)DMAx;
1964
1965 WRITE_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->PAR, MemoryAddress);
1966}
1967
1986__STATIC_INLINE void LL_DMA_SetM2MDstAddress(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t MemoryAddress)
1987{
1988 uint32_t dma_base_addr = (uint32_t)DMAx;
1989
1990 WRITE_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->M0AR, MemoryAddress);
1991}
1992
2009__STATIC_INLINE uint32_t LL_DMA_GetM2MSrcAddress(DMA_TypeDef *DMAx, uint32_t Stream)
2010{
2011 uint32_t dma_base_addr = (uint32_t)DMAx;
2012
2013 return (READ_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->PAR));
2014}
2015
2032__STATIC_INLINE uint32_t LL_DMA_GetM2MDstAddress(DMA_TypeDef *DMAx, uint32_t Stream)
2033{
2034 uint32_t dma_base_addr = (uint32_t)DMAx;
2035
2036 return (READ_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->M0AR));
2037}
2038
2055__STATIC_INLINE void LL_DMA_SetMemory1Address(DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Address)
2056{
2057 uint32_t dma_base_addr = (uint32_t)DMAx;
2058
2059 MODIFY_REG(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->M1AR, DMA_SxM1AR_M1A, Address);
2060}
2061
2077__STATIC_INLINE uint32_t LL_DMA_GetMemory1Address(DMA_TypeDef *DMAx, uint32_t Stream)
2078{
2079 uint32_t dma_base_addr = (uint32_t)DMAx;
2080
2081 return (((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->M1AR);
2082}
2083
2099__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_HT0(DMA_TypeDef *DMAx)
2100{
2101 return ((READ_BIT(DMAx->LISR, DMA_LISR_HTIF0) == (DMA_LISR_HTIF0)) ? 1UL : 0UL);
2102}
2103
2110__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_HT1(DMA_TypeDef *DMAx)
2111{
2112 return ((READ_BIT(DMAx->LISR, DMA_LISR_HTIF1) == (DMA_LISR_HTIF1)) ? 1UL : 0UL);
2113}
2114
2121__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_HT2(DMA_TypeDef *DMAx)
2122{
2123 return ((READ_BIT(DMAx->LISR, DMA_LISR_HTIF2) == (DMA_LISR_HTIF2)) ? 1UL : 0UL);
2124}
2125
2132__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_HT3(DMA_TypeDef *DMAx)
2133{
2134 return ((READ_BIT(DMAx->LISR, DMA_LISR_HTIF3) == (DMA_LISR_HTIF3)) ? 1UL : 0UL);
2135}
2136
2143__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_HT4(DMA_TypeDef *DMAx)
2144{
2145 return ((READ_BIT(DMAx->HISR, DMA_HISR_HTIF4) == (DMA_HISR_HTIF4)) ? 1UL : 0UL);
2146}
2147
2154__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_HT5(DMA_TypeDef *DMAx)
2155{
2156 return ((READ_BIT(DMAx->HISR, DMA_HISR_HTIF5) == (DMA_HISR_HTIF5)) ? 1UL : 0UL);
2157}
2158
2165__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_HT6(DMA_TypeDef *DMAx)
2166{
2167 return ((READ_BIT(DMAx->HISR, DMA_HISR_HTIF6) == (DMA_HISR_HTIF6)) ? 1UL : 0UL);
2168}
2169
2176__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_HT7(DMA_TypeDef *DMAx)
2177{
2178 return ((READ_BIT(DMAx->HISR, DMA_HISR_HTIF7) == (DMA_HISR_HTIF7)) ? 1UL : 0UL);
2179}
2180
2187__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TC0(DMA_TypeDef *DMAx)
2188{
2189 return ((READ_BIT(DMAx->LISR, DMA_LISR_TCIF0) == (DMA_LISR_TCIF0)) ? 1UL : 0UL);
2190}
2191
2198__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TC1(DMA_TypeDef *DMAx)
2199{
2200 return ((READ_BIT(DMAx->LISR, DMA_LISR_TCIF1) == (DMA_LISR_TCIF1)) ? 1UL : 0UL);
2201}
2202
2209__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TC2(DMA_TypeDef *DMAx)
2210{
2211 return ((READ_BIT(DMAx->LISR, DMA_LISR_TCIF2) == (DMA_LISR_TCIF2)) ? 1UL : 0UL);
2212}
2213
2220__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TC3(DMA_TypeDef *DMAx)
2221{
2222 return ((READ_BIT(DMAx->LISR, DMA_LISR_TCIF3) == (DMA_LISR_TCIF3)) ? 1UL : 0UL);
2223}
2224
2231__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TC4(DMA_TypeDef *DMAx)
2232{
2233 return ((READ_BIT(DMAx->HISR, DMA_HISR_TCIF4) == (DMA_HISR_TCIF4)) ? 1UL : 0UL);
2234}
2235
2242__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TC5(DMA_TypeDef *DMAx)
2243{
2244 return ((READ_BIT(DMAx->HISR, DMA_HISR_TCIF5) == (DMA_HISR_TCIF5)) ? 1UL : 0UL);
2245}
2246
2253__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TC6(DMA_TypeDef *DMAx)
2254{
2255 return ((READ_BIT(DMAx->HISR, DMA_HISR_TCIF6) == (DMA_HISR_TCIF6)) ? 1UL : 0UL);
2256}
2257
2264__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TC7(DMA_TypeDef *DMAx)
2265{
2266 return ((READ_BIT(DMAx->HISR, DMA_HISR_TCIF7) == (DMA_HISR_TCIF7)) ? 1UL : 0UL);
2267}
2268
2275__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TE0(DMA_TypeDef *DMAx)
2276{
2277 return ((READ_BIT(DMAx->LISR, DMA_LISR_TEIF0) == (DMA_LISR_TEIF0)) ? 1UL : 0UL);
2278}
2279
2286__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TE1(DMA_TypeDef *DMAx)
2287{
2288 return ((READ_BIT(DMAx->LISR, DMA_LISR_TEIF1) == (DMA_LISR_TEIF1)) ? 1UL : 0UL);
2289}
2290
2297__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TE2(DMA_TypeDef *DMAx)
2298{
2299 return ((READ_BIT(DMAx->LISR, DMA_LISR_TEIF2) == (DMA_LISR_TEIF2)) ? 1UL : 0UL);
2300}
2301
2308__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TE3(DMA_TypeDef *DMAx)
2309{
2310 return ((READ_BIT(DMAx->LISR, DMA_LISR_TEIF3) == (DMA_LISR_TEIF3)) ? 1UL : 0UL);
2311}
2312
2319__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TE4(DMA_TypeDef *DMAx)
2320{
2321 return ((READ_BIT(DMAx->HISR, DMA_HISR_TEIF4) == (DMA_HISR_TEIF4)) ? 1UL : 0UL);
2322}
2323
2330__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TE5(DMA_TypeDef *DMAx)
2331{
2332 return ((READ_BIT(DMAx->HISR, DMA_HISR_TEIF5) == (DMA_HISR_TEIF5)) ? 1UL : 0UL);
2333}
2334
2341__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TE6(DMA_TypeDef *DMAx)
2342{
2343 return ((READ_BIT(DMAx->HISR, DMA_HISR_TEIF6) == (DMA_HISR_TEIF6)) ? 1UL : 0UL);
2344}
2345
2352__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_TE7(DMA_TypeDef *DMAx)
2353{
2354 return ((READ_BIT(DMAx->HISR, DMA_HISR_TEIF7) == (DMA_HISR_TEIF7)) ? 1UL : 0UL);
2355}
2356
2363__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_DME0(DMA_TypeDef *DMAx)
2364{
2365 return ((READ_BIT(DMAx->LISR, DMA_LISR_DMEIF0) == (DMA_LISR_DMEIF0)) ? 1UL : 0UL);
2366}
2367
2374__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_DME1(DMA_TypeDef *DMAx)
2375{
2376 return ((READ_BIT(DMAx->LISR, DMA_LISR_DMEIF1) == (DMA_LISR_DMEIF1)) ? 1UL : 0UL);
2377}
2378
2385__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_DME2(DMA_TypeDef *DMAx)
2386{
2387 return ((READ_BIT(DMAx->LISR, DMA_LISR_DMEIF2) == (DMA_LISR_DMEIF2)) ? 1UL : 0UL);
2388}
2389
2396__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_DME3(DMA_TypeDef *DMAx)
2397{
2398 return ((READ_BIT(DMAx->LISR, DMA_LISR_DMEIF3) == (DMA_LISR_DMEIF3)) ? 1UL : 0UL);
2399}
2400
2407__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_DME4(DMA_TypeDef *DMAx)
2408{
2409 return ((READ_BIT(DMAx->HISR, DMA_HISR_DMEIF4) == (DMA_HISR_DMEIF4)) ? 1UL : 0UL);
2410}
2411
2418__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_DME5(DMA_TypeDef *DMAx)
2419{
2420 return ((READ_BIT(DMAx->HISR, DMA_HISR_DMEIF5) == (DMA_HISR_DMEIF5)) ? 1UL : 0UL);
2421}
2422
2429__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_DME6(DMA_TypeDef *DMAx)
2430{
2431 return ((READ_BIT(DMAx->HISR, DMA_HISR_DMEIF6) == (DMA_HISR_DMEIF6)) ? 1UL : 0UL);
2432}
2433
2440__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_DME7(DMA_TypeDef *DMAx)
2441{
2442 return ((READ_BIT(DMAx->HISR, DMA_HISR_DMEIF7) == (DMA_HISR_DMEIF7)) ? 1UL : 0UL);
2443}
2444
2451__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_FE0(DMA_TypeDef *DMAx)
2452{
2453 return ((READ_BIT(DMAx->LISR, DMA_LISR_FEIF0) == (DMA_LISR_FEIF0)) ? 1UL : 0UL);
2454}
2455
2462__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_FE1(DMA_TypeDef *DMAx)
2463{
2464 return ((READ_BIT(DMAx->LISR, DMA_LISR_FEIF1) == (DMA_LISR_FEIF1)) ? 1UL : 0UL);
2465}
2466
2473__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_FE2(DMA_TypeDef *DMAx)
2474{
2475 return ((READ_BIT(DMAx->LISR, DMA_LISR_FEIF2) == (DMA_LISR_FEIF2)) ? 1UL : 0UL);
2476}
2477
2484__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_FE3(DMA_TypeDef *DMAx)
2485{
2486 return ((READ_BIT(DMAx->LISR, DMA_LISR_FEIF3) == (DMA_LISR_FEIF3)) ? 1UL : 0UL);
2487}
2488
2495__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_FE4(DMA_TypeDef *DMAx)
2496{
2497 return ((READ_BIT(DMAx->HISR, DMA_HISR_FEIF4) == (DMA_HISR_FEIF4)) ? 1UL : 0UL);
2498}
2499
2506__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_FE5(DMA_TypeDef *DMAx)
2507{
2508 return ((READ_BIT(DMAx->HISR, DMA_HISR_FEIF5) == (DMA_HISR_FEIF5)) ? 1UL : 0UL);
2509}
2510
2517__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_FE6(DMA_TypeDef *DMAx)
2518{
2519 return ((READ_BIT(DMAx->HISR, DMA_HISR_FEIF6) == (DMA_HISR_FEIF6)) ? 1UL : 0UL);
2520}
2521
2528__STATIC_INLINE uint32_t LL_DMA_IsActiveFlag_FE7(DMA_TypeDef *DMAx)
2529{
2530 return ((READ_BIT(DMAx->HISR, DMA_HISR_FEIF7) == (DMA_HISR_FEIF7)) ? 1UL : 0UL);
2531}
2532
2539__STATIC_INLINE void LL_DMA_ClearFlag_HT0(DMA_TypeDef *DMAx)
2540{
2541 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CHTIF0);
2542}
2543
2550__STATIC_INLINE void LL_DMA_ClearFlag_HT1(DMA_TypeDef *DMAx)
2551{
2552 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CHTIF1);
2553}
2554
2561__STATIC_INLINE void LL_DMA_ClearFlag_HT2(DMA_TypeDef *DMAx)
2562{
2563 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CHTIF2);
2564}
2565
2572__STATIC_INLINE void LL_DMA_ClearFlag_HT3(DMA_TypeDef *DMAx)
2573{
2574 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CHTIF3);
2575}
2576
2583__STATIC_INLINE void LL_DMA_ClearFlag_HT4(DMA_TypeDef *DMAx)
2584{
2585 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CHTIF4);
2586}
2587
2594__STATIC_INLINE void LL_DMA_ClearFlag_HT5(DMA_TypeDef *DMAx)
2595{
2596 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CHTIF5);
2597}
2598
2605__STATIC_INLINE void LL_DMA_ClearFlag_HT6(DMA_TypeDef *DMAx)
2606{
2607 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CHTIF6);
2608}
2609
2616__STATIC_INLINE void LL_DMA_ClearFlag_HT7(DMA_TypeDef *DMAx)
2617{
2618 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CHTIF7);
2619}
2620
2627__STATIC_INLINE void LL_DMA_ClearFlag_TC0(DMA_TypeDef *DMAx)
2628{
2629 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CTCIF0);
2630}
2631
2638__STATIC_INLINE void LL_DMA_ClearFlag_TC1(DMA_TypeDef *DMAx)
2639{
2640 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CTCIF1);
2641}
2642
2649__STATIC_INLINE void LL_DMA_ClearFlag_TC2(DMA_TypeDef *DMAx)
2650{
2651 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CTCIF2);
2652}
2653
2660__STATIC_INLINE void LL_DMA_ClearFlag_TC3(DMA_TypeDef *DMAx)
2661{
2662 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CTCIF3);
2663}
2664
2671__STATIC_INLINE void LL_DMA_ClearFlag_TC4(DMA_TypeDef *DMAx)
2672{
2673 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CTCIF4);
2674}
2675
2682__STATIC_INLINE void LL_DMA_ClearFlag_TC5(DMA_TypeDef *DMAx)
2683{
2684 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CTCIF5);
2685}
2686
2693__STATIC_INLINE void LL_DMA_ClearFlag_TC6(DMA_TypeDef *DMAx)
2694{
2695 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CTCIF6);
2696}
2697
2704__STATIC_INLINE void LL_DMA_ClearFlag_TC7(DMA_TypeDef *DMAx)
2705{
2706 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CTCIF7);
2707}
2708
2715__STATIC_INLINE void LL_DMA_ClearFlag_TE0(DMA_TypeDef *DMAx)
2716{
2717 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CTEIF0);
2718}
2719
2726__STATIC_INLINE void LL_DMA_ClearFlag_TE1(DMA_TypeDef *DMAx)
2727{
2728 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CTEIF1);
2729}
2730
2737__STATIC_INLINE void LL_DMA_ClearFlag_TE2(DMA_TypeDef *DMAx)
2738{
2739 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CTEIF2);
2740}
2741
2748__STATIC_INLINE void LL_DMA_ClearFlag_TE3(DMA_TypeDef *DMAx)
2749{
2750 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CTEIF3);
2751}
2752
2759__STATIC_INLINE void LL_DMA_ClearFlag_TE4(DMA_TypeDef *DMAx)
2760{
2761 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CTEIF4);
2762}
2763
2770__STATIC_INLINE void LL_DMA_ClearFlag_TE5(DMA_TypeDef *DMAx)
2771{
2772 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CTEIF5);
2773}
2774
2781__STATIC_INLINE void LL_DMA_ClearFlag_TE6(DMA_TypeDef *DMAx)
2782{
2783 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CTEIF6);
2784}
2785
2792__STATIC_INLINE void LL_DMA_ClearFlag_TE7(DMA_TypeDef *DMAx)
2793{
2794 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CTEIF7);
2795}
2796
2803__STATIC_INLINE void LL_DMA_ClearFlag_DME0(DMA_TypeDef *DMAx)
2804{
2805 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CDMEIF0);
2806}
2807
2814__STATIC_INLINE void LL_DMA_ClearFlag_DME1(DMA_TypeDef *DMAx)
2815{
2816 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CDMEIF1);
2817}
2818
2825__STATIC_INLINE void LL_DMA_ClearFlag_DME2(DMA_TypeDef *DMAx)
2826{
2827 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CDMEIF2);
2828}
2829
2836__STATIC_INLINE void LL_DMA_ClearFlag_DME3(DMA_TypeDef *DMAx)
2837{
2838 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CDMEIF3);
2839}
2840
2847__STATIC_INLINE void LL_DMA_ClearFlag_DME4(DMA_TypeDef *DMAx)
2848{
2849 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CDMEIF4);
2850}
2851
2858__STATIC_INLINE void LL_DMA_ClearFlag_DME5(DMA_TypeDef *DMAx)
2859{
2860 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CDMEIF5);
2861}
2862
2869__STATIC_INLINE void LL_DMA_ClearFlag_DME6(DMA_TypeDef *DMAx)
2870{
2871 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CDMEIF6);
2872}
2873
2880__STATIC_INLINE void LL_DMA_ClearFlag_DME7(DMA_TypeDef *DMAx)
2881{
2882 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CDMEIF7);
2883}
2884
2891__STATIC_INLINE void LL_DMA_ClearFlag_FE0(DMA_TypeDef *DMAx)
2892{
2893 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CFEIF0);
2894}
2895
2902__STATIC_INLINE void LL_DMA_ClearFlag_FE1(DMA_TypeDef *DMAx)
2903{
2904 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CFEIF1);
2905}
2906
2913__STATIC_INLINE void LL_DMA_ClearFlag_FE2(DMA_TypeDef *DMAx)
2914{
2915 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CFEIF2);
2916}
2917
2924__STATIC_INLINE void LL_DMA_ClearFlag_FE3(DMA_TypeDef *DMAx)
2925{
2926 WRITE_REG(DMAx->LIFCR, DMA_LIFCR_CFEIF3);
2927}
2928
2935__STATIC_INLINE void LL_DMA_ClearFlag_FE4(DMA_TypeDef *DMAx)
2936{
2937 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CFEIF4);
2938}
2939
2946__STATIC_INLINE void LL_DMA_ClearFlag_FE5(DMA_TypeDef *DMAx)
2947{
2948 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CFEIF5);
2949}
2950
2957__STATIC_INLINE void LL_DMA_ClearFlag_FE6(DMA_TypeDef *DMAx)
2958{
2959 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CFEIF6);
2960}
2961
2968__STATIC_INLINE void LL_DMA_ClearFlag_FE7(DMA_TypeDef *DMAx)
2969{
2970 WRITE_REG(DMAx->HIFCR, DMA_HIFCR_CFEIF7);
2971}
2972
2997__STATIC_INLINE void LL_DMA_EnableIT_HT(DMA_TypeDef *DMAx, uint32_t Stream)
2998{
2999 uint32_t dma_base_addr = (uint32_t)DMAx;
3000
3001 SET_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_HTIE);
3002}
3003
3019__STATIC_INLINE void LL_DMA_EnableIT_TE(DMA_TypeDef *DMAx, uint32_t Stream)
3020{
3021 uint32_t dma_base_addr = (uint32_t)DMAx;
3022
3023 SET_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_TEIE);
3024}
3025
3041__STATIC_INLINE void LL_DMA_EnableIT_TC(DMA_TypeDef *DMAx, uint32_t Stream)
3042{
3043 uint32_t dma_base_addr = (uint32_t)DMAx;
3044
3045 SET_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_TCIE);
3046}
3047
3063__STATIC_INLINE void LL_DMA_EnableIT_DME(DMA_TypeDef *DMAx, uint32_t Stream)
3064{
3065 uint32_t dma_base_addr = (uint32_t)DMAx;
3066
3067 SET_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_DMEIE);
3068}
3069
3085__STATIC_INLINE void LL_DMA_EnableIT_FE(DMA_TypeDef *DMAx, uint32_t Stream)
3086{
3087 uint32_t dma_base_addr = (uint32_t)DMAx;
3088
3089 SET_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->FCR, DMA_SxFCR_FEIE);
3090}
3091
3107__STATIC_INLINE void LL_DMA_DisableIT_HT(DMA_TypeDef *DMAx, uint32_t Stream)
3108{
3109 uint32_t dma_base_addr = (uint32_t)DMAx;
3110
3111 CLEAR_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_HTIE);
3112}
3113
3129__STATIC_INLINE void LL_DMA_DisableIT_TE(DMA_TypeDef *DMAx, uint32_t Stream)
3130{
3131 uint32_t dma_base_addr = (uint32_t)DMAx;
3132
3133 CLEAR_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_TEIE);
3134}
3135
3151__STATIC_INLINE void LL_DMA_DisableIT_TC(DMA_TypeDef *DMAx, uint32_t Stream)
3152{
3153 uint32_t dma_base_addr = (uint32_t)DMAx;
3154
3155 CLEAR_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_TCIE);
3156}
3157
3173__STATIC_INLINE void LL_DMA_DisableIT_DME(DMA_TypeDef *DMAx, uint32_t Stream)
3174{
3175 uint32_t dma_base_addr = (uint32_t)DMAx;
3176
3177 CLEAR_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_DMEIE);
3178}
3179
3195__STATIC_INLINE void LL_DMA_DisableIT_FE(DMA_TypeDef *DMAx, uint32_t Stream)
3196{
3197 uint32_t dma_base_addr = (uint32_t)DMAx;
3198
3199 CLEAR_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->FCR, DMA_SxFCR_FEIE);
3200}
3201
3217__STATIC_INLINE uint32_t LL_DMA_IsEnabledIT_HT(DMA_TypeDef *DMAx, uint32_t Stream)
3218{
3219 uint32_t dma_base_addr = (uint32_t)DMAx;
3220
3221 return ((READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_HTIE) == DMA_SxCR_HTIE) ? 1UL : 0UL);
3222}
3223
3239__STATIC_INLINE uint32_t LL_DMA_IsEnabledIT_TE(DMA_TypeDef *DMAx, uint32_t Stream)
3240{
3241 uint32_t dma_base_addr = (uint32_t)DMAx;
3242
3243 return ((READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_TEIE) == DMA_SxCR_TEIE) ? 1UL : 0UL);
3244}
3245
3261__STATIC_INLINE uint32_t LL_DMA_IsEnabledIT_TC(DMA_TypeDef *DMAx, uint32_t Stream)
3262{
3263 uint32_t dma_base_addr = (uint32_t)DMAx;
3264
3265 return ((READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_TCIE) == DMA_SxCR_TCIE) ? 1UL : 0UL);
3266}
3267
3283__STATIC_INLINE uint32_t LL_DMA_IsEnabledIT_DME(DMA_TypeDef *DMAx, uint32_t Stream)
3284{
3285 uint32_t dma_base_addr = (uint32_t)DMAx;
3286
3287 return ((READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->CR, DMA_SxCR_DMEIE) == DMA_SxCR_DMEIE) ? 1UL : 0UL);
3288}
3289
3305__STATIC_INLINE uint32_t LL_DMA_IsEnabledIT_FE(DMA_TypeDef *DMAx, uint32_t Stream)
3306{
3307 uint32_t dma_base_addr = (uint32_t)DMAx;
3308
3309 return ((READ_BIT(((DMA_Stream_TypeDef *)(dma_base_addr + LL_DMA_STR_OFFSET_TAB[Stream]))->FCR, DMA_SxFCR_FEIE) == DMA_SxFCR_FEIE) ? 1UL : 0UL);
3310}
3311
3316#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
3322uint32_t LL_DMA_Init(DMA_TypeDef *DMAx, uint32_t Stream, LL_DMA_InitTypeDef *DMA_InitStruct);
3323uint32_t LL_DMA_DeInit(DMA_TypeDef *DMAx, uint32_t Stream);
3324void LL_DMA_StructInit(LL_DMA_InitTypeDef *DMA_InitStruct);
3325
3329#endif /* USE_FULL_LL_DRIVER */
3330
3339#endif /* DMA1 || DMA2 */
3340
3345#ifdef __cplusplus
3346}
3347#endif
3348
3349#endif /* __STM32H7xx_LL_DMA_H */
3350
#define DMA1_BASE
Definition: MIMXRT1166_cm4.h:32638
#define DMA_LISR_DMEIF3
Definition: stm32h723xx.h:8899
#define DMA_LISR_HTIF1
Definition: stm32h723xx.h:8923
#define DMA_LIFCR_CTEIF3
Definition: stm32h723xx.h:9020
#define DMA_LISR_TEIF1
Definition: stm32h723xx.h:8926
#define DMA_HISR_HTIF6
Definition: stm32h723xx.h:8970
#define DMA_HISR_FEIF5
Definition: stm32h723xx.h:8994
#define DMA_HIFCR_CDMEIF4
Definition: stm32h723xx.h:9130
#define DMA_LIFCR_CHTIF3
Definition: stm32h723xx.h:9017
#define DMA_SxCR_PFCTRL
Definition: stm32h723xx.h:8830
#define DMA_SxCR_HTIE
Definition: stm32h723xx.h:8836
#define DMA_SxCR_PL
Definition: stm32h723xx.h:8798
#define DMA_HIFCR_CDMEIF5
Definition: stm32h723xx.h:9115
#define DMA_SxCR_DIR
Definition: stm32h723xx.h:8825
#define DMA_HISR_TEIF6
Definition: stm32h723xx.h:8973
#define DMA_HIFCR_CFEIF4
Definition: stm32h723xx.h:9133
#define DMA_SxCR_PINC
Definition: stm32h723xx.h:8819
#define DMA_HIFCR_CHTIF5
Definition: stm32h723xx.h:9109
#define DMA_HIFCR_CTEIF5
Definition: stm32h723xx.h:9112
#define DMA_HIFCR_CFEIF6
Definition: stm32h723xx.h:9103
#define DMA_HISR_DMEIF7
Definition: stm32h723xx.h:8961
#define DMA_SxCR_TRBUFF
Definition: stm32h723xx.h:8789
#define DMAMUX_CxCR_DMAREQ_ID
Definition: stm32h723xx.h:9158
#define DMA_HIFCR_CTCIF4
Definition: stm32h723xx.h:9121
#define DMA_SxFCR_FTH
Definition: stm32h723xx.h:8883
#define DMA_LISR_TCIF3
Definition: stm32h723xx.h:8890
#define DMA_LIFCR_CHTIF0
Definition: stm32h723xx.h:9062
#define DMA_SxCR_PBURST
Definition: stm32h723xx.h:8784
#define DMA_HIFCR_CFEIF7
Definition: stm32h723xx.h:9088
#define DMA_LIFCR_CTCIF3
Definition: stm32h723xx.h:9014
#define DMA_LIFCR_CTCIF2
Definition: stm32h723xx.h:9029
#define DMA_LISR_FEIF3
Definition: stm32h723xx.h:8902
#define DMA_SxCR_DBM
Definition: stm32h723xx.h:8795
#define DMA_SxFCR_FS
Definition: stm32h723xx.h:8874
#define DMA_LIFCR_CTEIF0
Definition: stm32h723xx.h:9065
#define DMA_SxCR_MBURST
Definition: stm32h723xx.h:8779
#define DMA_LISR_TEIF3
Definition: stm32h723xx.h:8896
#define DMA_LISR_HTIF0
Definition: stm32h723xx.h:8938
#define DMA_SxNDT
Definition: stm32h723xx.h:8850
#define DMA_HISR_TCIF5
Definition: stm32h723xx.h:8982
#define DMA_HIFCR_CTEIF6
Definition: stm32h723xx.h:9097
#define DMA_SxCR_TCIE
Definition: stm32h723xx.h:8833
#define DMA_LISR_HTIF2
Definition: stm32h723xx.h:8908
#define DMA_LISR_DMEIF0
Definition: stm32h723xx.h:8944
#define DMA_LIFCR_CTCIF1
Definition: stm32h723xx.h:9044
#define DMA_LISR_TEIF2
Definition: stm32h723xx.h:8911
#define DMA_LIFCR_CDMEIF2
Definition: stm32h723xx.h:9038
#define DMA_SxCR_MINC
Definition: stm32h723xx.h:8816
#define DMA_LISR_FEIF0
Definition: stm32h723xx.h:8947
#define DMA_HIFCR_CDMEIF6
Definition: stm32h723xx.h:9100
#define DMA_HIFCR_CTEIF7
Definition: stm32h723xx.h:9082
#define DMA_HISR_HTIF5
Definition: stm32h723xx.h:8985
#define DMA_SxFCR_DMDIS
Definition: stm32h723xx.h:8880
#define DMA_HISR_TEIF4
Definition: stm32h723xx.h:9003
#define DMA_HIFCR_CHTIF7
Definition: stm32h723xx.h:9079
#define DMA_HISR_TEIF7
Definition: stm32h723xx.h:8958
#define DMA_LIFCR_CFEIF1
Definition: stm32h723xx.h:9056
#define DMA_LISR_FEIF2
Definition: stm32h723xx.h:8917
#define DMA_HIFCR_CFEIF5
Definition: stm32h723xx.h:9118
#define DMA_LIFCR_CDMEIF1
Definition: stm32h723xx.h:9053
#define DMA_HIFCR_CTEIF4
Definition: stm32h723xx.h:9127
#define DMA_LISR_HTIF3
Definition: stm32h723xx.h:8893
#define DMA_LISR_DMEIF1
Definition: stm32h723xx.h:8929
#define DMA_HIFCR_CTCIF5
Definition: stm32h723xx.h:9106
#define DMA_LIFCR_CTEIF2
Definition: stm32h723xx.h:9035
#define DMA_SxCR_EN
Definition: stm32h723xx.h:8845
#define DMA_LIFCR_CTCIF0
Definition: stm32h723xx.h:9059
#define DMA_HISR_DMEIF6
Definition: stm32h723xx.h:8976
#define DMA_SxFCR_FEIE
Definition: stm32h723xx.h:8871
#define DMA_LISR_DMEIF2
Definition: stm32h723xx.h:8914
#define DMA_LIFCR_CDMEIF3
Definition: stm32h723xx.h:9023
#define DMA_HISR_DMEIF5
Definition: stm32h723xx.h:8991
#define DMA_HISR_FEIF4
Definition: stm32h723xx.h:9009
#define DMA_SxCR_DMEIE
Definition: stm32h723xx.h:8842
#define DMA_HIFCR_CTCIF6
Definition: stm32h723xx.h:9091
#define DMA_HISR_TCIF7
Definition: stm32h723xx.h:8952
#define DMA_HISR_TCIF6
Definition: stm32h723xx.h:8967
#define DMA_LIFCR_CHTIF1
Definition: stm32h723xx.h:9047
#define DMA_LISR_TEIF0
Definition: stm32h723xx.h:8941
#define DMA_HIFCR_CDMEIF7
Definition: stm32h723xx.h:9085
#define DMA_LIFCR_CFEIF3
Definition: stm32h723xx.h:9026
#define DMA_HISR_HTIF4
Definition: stm32h723xx.h:9000
#define DMA_LISR_TCIF0
Definition: stm32h723xx.h:8935
#define DMA_SxCR_CIRC
Definition: stm32h723xx.h:8822
#define DMA_SxCR_CT
Definition: stm32h723xx.h:8792
#define DMA_HISR_FEIF7
Definition: stm32h723xx.h:8964
#define DMA_LIFCR_CFEIF0
Definition: stm32h723xx.h:9071
#define DMA_HIFCR_CTCIF7
Definition: stm32h723xx.h:9076
#define DMA_LISR_TCIF1
Definition: stm32h723xx.h:8920
#define DMA_SxM1AR_M1A
Definition: stm32h723xx.h:9148
#define DMA_LIFCR_CFEIF2
Definition: stm32h723xx.h:9041
#define DMA_LIFCR_CHTIF2
Definition: stm32h723xx.h:9032
#define DMA_SxCR_MSIZE
Definition: stm32h723xx.h:8806
#define DMA_SxCR_PINCOS
Definition: stm32h723xx.h:8803
#define DMA_HIFCR_CHTIF6
Definition: stm32h723xx.h:9094
#define DMA_SxCR_TEIE
Definition: stm32h723xx.h:8839
#define DMA_HISR_TEIF5
Definition: stm32h723xx.h:8988
#define DMA_LISR_TCIF2
Definition: stm32h723xx.h:8905
#define DMA_HISR_HTIF7
Definition: stm32h723xx.h:8955
#define DMA_LIFCR_CTEIF1
Definition: stm32h723xx.h:9050
#define DMA_HISR_DMEIF4
Definition: stm32h723xx.h:9006
#define DMA_HIFCR_CHTIF4
Definition: stm32h723xx.h:9124
#define DMA_HISR_FEIF6
Definition: stm32h723xx.h:8979
#define DMA_LISR_FEIF1
Definition: stm32h723xx.h:8932
#define DMA_HISR_TCIF4
Definition: stm32h723xx.h:8997
#define DMA_LIFCR_CDMEIF0
Definition: stm32h723xx.h:9068
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