![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
Functions | |
| __STATIC_INLINE void | DDL_DMA_EnableStream (DMA_TypeDef *DMAx, uint32_t Stream) |
| Enable DMA stream. | |
| __STATIC_INLINE void | DDL_DMA_DisableStream (DMA_TypeDef *DMAx, uint32_t Stream) |
| Disable DMA stream. | |
| __STATIC_INLINE uint32_t | DDL_DMA_IsEnabledStream (DMA_TypeDef *DMAx, uint32_t Stream) |
| Check if DMA stream is enabled or disabled. | |
| __STATIC_INLINE void | DDL_DMA_ConfigTransfer (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Configuration) |
| Configure all parameters linked to DMA transfer. | |
| __STATIC_INLINE void | DDL_DMA_SetDataTransferDirection (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Direction) |
| Set Data transfer direction (read from peripheral or from memory). | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetDataTransferDirection (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get Data transfer direction (read from peripheral or from memory). | |
| __STATIC_INLINE void | DDL_DMA_SetMode (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Mode) |
| Set DMA mode normal, circular or peripheral flow control. | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetMode (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get DMA mode normal, circular or peripheral flow control. | |
| __STATIC_INLINE void | DDL_DMA_SetPeriphIncMode (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t IncrementMode) |
| Set Peripheral increment mode. | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetPeriphIncMode (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get Peripheral increment mode. | |
| __STATIC_INLINE void | DDL_DMA_SetMemoryIncMode (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t IncrementMode) |
| Set Memory increment mode. | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetMemoryIncMode (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get Memory increment mode. | |
| __STATIC_INLINE void | DDL_DMA_SetPeriphSize (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Size) |
| Set Peripheral size. | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetPeriphSize (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get Peripheral size. | |
| __STATIC_INLINE void | DDL_DMA_SetMemorySize (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Size) |
| Set Memory size. | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetMemorySize (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get Memory size. | |
| __STATIC_INLINE void | DDL_DMA_SetIncOffsetSize (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t OffsetSize) |
| Set Peripheral increment offset size. | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetIncOffsetSize (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get Peripheral increment offset size. | |
| __STATIC_INLINE void | DDL_DMA_SetStreamPriorityLevel (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Priority) |
| Set Stream priority level. | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetStreamPriorityLevel (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get Stream priority level. | |
| __STATIC_INLINE void | DDL_DMA_SetDataLength (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t NbData) |
| Set Number of data to transfer. | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetDataLength (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get Number of data to transfer. | |
| __STATIC_INLINE void | DDL_DMA_SetChannelSelection (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Channel) |
| Select Channel number associated to the Stream. | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetChannelSelection (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get the Channel number associated to the Stream. | |
| __STATIC_INLINE void | DDL_DMA_SetMemoryBurstxfer (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Mburst) |
| Set Memory burst transfer configuration. | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetMemoryBurstxfer (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get Memory burst transfer configuration. | |
| __STATIC_INLINE void | DDL_DMA_SetPeriphBurstxfer (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Pburst) |
| Set Peripheral burst transfer configuration. | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetPeriphBurstxfer (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get Peripheral burst transfer configuration. | |
| __STATIC_INLINE void | DDL_DMA_SetCurrentTargetMem (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t CurrentMemory) |
| Set Current target (only in double buffer mode) to Memory 1 or Memory 0. | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetCurrentTargetMem (DMA_TypeDef *DMAx, uint32_t Stream) |
| Set Current target (only in double buffer mode) to Memory 1 or Memory 0. | |
| __STATIC_INLINE void | DDL_DMA_EnableDoubleBufferMode (DMA_TypeDef *DMAx, uint32_t Stream) |
| Enable the double buffer mode. | |
| __STATIC_INLINE void | DDL_DMA_DisableDoubleBufferMode (DMA_TypeDef *DMAx, uint32_t Stream) |
| Disable the double buffer mode. | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetFIFOStatus (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get FIFO status. | |
| __STATIC_INLINE void | DDL_DMA_DisableFifoMode (DMA_TypeDef *DMAx, uint32_t Stream) |
| Disable Fifo mode. | |
| __STATIC_INLINE void | DDL_DMA_EnableFifoMode (DMA_TypeDef *DMAx, uint32_t Stream) |
| Enable Fifo mode. | |
| __STATIC_INLINE void | DDL_DMA_SetFIFOThreshold (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Threshold) |
| Select FIFO threshold. | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetFIFOThreshold (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get FIFO threshold. | |
| __STATIC_INLINE void | DDL_DMA_ConfigFifo (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t FifoMode, uint32_t FifoThreshold) |
| Configure the FIFO . | |
| __STATIC_INLINE void | DDL_DMA_ConfigAddresses (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t SrcAddress, uint32_t DstAddress, uint32_t Direction) |
| Configure the Source and Destination addresses. | |
| __STATIC_INLINE void | DDL_DMA_SetMemoryAddress (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t MemoryAddress) |
| Set the Memory address. | |
| __STATIC_INLINE void | DDL_DMA_SetPeriphAddress (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t PeriphAddress) |
| Set the Peripheral address. | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetMemoryAddress (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get the Memory address. | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetPeriphAddress (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get the Peripheral address. | |
| __STATIC_INLINE void | DDL_DMA_SetM2MSrcAddress (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t MemoryAddress) |
| Set the Memory to Memory Source address. | |
| __STATIC_INLINE void | DDL_DMA_SetM2MDstAddress (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t MemoryAddress) |
| Set the Memory to Memory Destination address. | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetM2MSrcAddress (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get the Memory to Memory Source address. | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetM2MDstAddress (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get the Memory to Memory Destination address. | |
| __STATIC_INLINE void | DDL_DMA_SetMemory1Address (DMA_TypeDef *DMAx, uint32_t Stream, uint32_t Address) |
| Set Memory 1 address (used in case of Double buffer mode). | |
| __STATIC_INLINE uint32_t | DDL_DMA_GetMemory1Address (DMA_TypeDef *DMAx, uint32_t Stream) |
| Get Memory 1 address (used in case of Double buffer mode). | |
| __STATIC_INLINE void DDL_DMA_ConfigAddresses | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | SrcAddress, | ||
| uint32_t | DstAddress, | ||
| uint32_t | Direction ) |
Configure the Source and Destination addresses.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| SrcAddress | Between 0 to 0xFFFFFFFF |
| DstAddress | Between 0 to 0xFFFFFFFF |
| Direction | This parameter can be one of the following values: |
| None |
Definition at line 1354 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_ConfigFifo | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | FifoMode, | ||
| uint32_t | FifoThreshold ) |
Configure the FIFO .
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| FifoMode | This parameter can be one of the following values: |
| FifoThreshold | This parameter can be one of the following values: |
| None |
Definition at line 1328 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_ConfigTransfer | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | Configuration ) |
Configure all parameters linked to DMA transfer.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Configuration | This parameter must be a combination of all the following values:
|
| None |
Definition at line 560 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_DisableDoubleBufferMode | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Disable the double buffer mode.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| None |
Definition at line 1191 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_DisableFifoMode | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Disable Fifo mode.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| None |
Definition at line 1235 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_DisableStream | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Disable DMA stream.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| None |
Definition at line 514 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_EnableDoubleBufferMode | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Enable the double buffer mode.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| None |
Definition at line 1172 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_EnableFifoMode | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Enable Fifo mode.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| None |
Definition at line 1254 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_EnableStream | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Enable DMA stream.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| None |
Definition at line 495 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetChannelSelection | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get the Channel number associated to the Stream.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 1016 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetCurrentTargetMem | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Set Current target (only in double buffer mode) to Memory 1 or Memory 0.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 1153 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetDataLength | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get Number of data to transfer.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Between | 0 to 0xFFFFFFFF |
Definition at line 961 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetDataTransferDirection | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get Data transfer direction (read from peripheral or from memory).
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 607 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetFIFOStatus | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get FIFO status.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 1216 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetFIFOThreshold | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get FIFO threshold.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 1301 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetIncOffsetSize | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get Peripheral increment offset size.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 871 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetM2MDstAddress | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get the Memory to Memory Destination address.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Between | 0 to 0xFFFFFFFF |
Definition at line 1533 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetM2MSrcAddress | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get the Memory to Memory Source address.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Between | 0 to 0xFFFFFFFF |
Definition at line 1513 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetMemory1Address | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get Memory 1 address (used in case of Double buffer mode).
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Between | 0 to 0xFFFFFFFF |
Definition at line 1572 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetMemoryAddress | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get the Memory address.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Between | 0 to 0xFFFFFFFF |
Definition at line 1429 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetMemoryBurstxfer | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get Memory burst transfer configuration.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 1063 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetMemoryIncMode | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get Memory increment mode.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 738 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetMemorySize | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get Memory size.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 828 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetMode | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get DMA mode normal, circular or peripheral flow control.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 652 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetPeriphAddress | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get the Peripheral address.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Between | 0 to 0xFFFFFFFF |
Definition at line 1449 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetPeriphBurstxfer | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get Peripheral burst transfer configuration.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 1110 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetPeriphIncMode | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get Peripheral increment mode.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 695 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetPeriphSize | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get Peripheral size.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 783 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_GetStreamPriorityLevel | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Get Stream priority level.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 918 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE uint32_t DDL_DMA_IsEnabledStream | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream ) |
Check if DMA stream is enabled or disabled.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| State | of bit (1 or 0). |
Definition at line 533 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetChannelSelection | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | Channel ) |
Select Channel number associated to the Stream.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Channel | This parameter can be one of the following values: |
| None |
Definition at line 989 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetCurrentTargetMem | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | CurrentMemory ) |
Set Current target (only in double buffer mode) to Memory 1 or Memory 0.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| CurrentMemory | This parameter can be one of the following values: |
| None |
Definition at line 1132 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetDataLength | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | NbData ) |
Set Number of data to transfer.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| NbData | Between 0 to 0xFFFFFFFF |
| None |
Definition at line 940 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetDataTransferDirection | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | Direction ) |
Set Data transfer direction (read from peripheral or from memory).
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Direction | This parameter can be one of the following values: |
| None |
Definition at line 585 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetFIFOThreshold | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | Threshold ) |
Select FIFO threshold.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Threshold | This parameter can be one of the following values: |
| None |
Definition at line 1278 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetIncOffsetSize | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | OffsetSize ) |
Set Peripheral increment offset size.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| OffsetSize | This parameter can be one of the following values: |
| None |
Definition at line 850 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetM2MDstAddress | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | MemoryAddress ) |
Set the Memory to Memory Destination address.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| MemoryAddress | Between 0 to 0xFFFFFFFF |
| None |
Definition at line 1493 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetM2MSrcAddress | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | MemoryAddress ) |
Set the Memory to Memory Source address.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| MemoryAddress | Between 0 to 0xFFFFFFFF |
| None |
Definition at line 1471 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetMemory1Address | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | Address ) |
Set Memory 1 address (used in case of Double buffer mode).
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Address | Between 0 to 0xFFFFFFFF |
| None |
Definition at line 1553 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetMemoryAddress | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | MemoryAddress ) |
Set the Memory address.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| MemoryAddress | Between 0 to 0xFFFFFFFF |
| None |
Definition at line 1387 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetMemoryBurstxfer | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | Mburst ) |
Set Memory burst transfer configuration.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Mburst | This parameter can be one of the following values: |
| None |
Definition at line 1040 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetMemoryIncMode | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | IncrementMode ) |
Set Memory increment mode.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| IncrementMode | This parameter can be one of the following values: |
| None |
Definition at line 717 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetMemorySize | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | Size ) |
Set Memory size.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Size | This parameter can be one of the following values: |
| None |
Definition at line 806 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetMode | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | Mode ) |
Set DMA mode normal, circular or peripheral flow control.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Mode | This parameter can be one of the following values: |
| None |
Definition at line 630 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetPeriphAddress | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | PeriphAddress ) |
Set the Peripheral address.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| PeriphAddress | Between 0 to 0xFFFFFFFF |
| None |
Definition at line 1409 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetPeriphBurstxfer | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | Pburst ) |
Set Peripheral burst transfer configuration.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Pburst | This parameter can be one of the following values: |
| None |
Definition at line 1087 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetPeriphIncMode | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | IncrementMode ) |
Set Peripheral increment mode.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| IncrementMode | This parameter can be one of the following values: |
| None |
Definition at line 674 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetPeriphSize | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | Size ) |
Set Peripheral size.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Size | This parameter can be one of the following values: |
| None |
Definition at line 761 of file g32r4xx_ddl_dma.h.
| __STATIC_INLINE void DDL_DMA_SetStreamPriorityLevel | ( | DMA_TypeDef * | DMAx, |
| uint32_t | Stream, | ||
| uint32_t | Priority ) |
Set Stream priority level.
| DMAx | DMAx Instance |
| Stream | This parameter can be one of the following values: |
| Priority | This parameter can be one of the following values: |
| None |
Definition at line 895 of file g32r4xx_ddl_dma.h.