iLLD_TC27xD
1.0
|
Functions | |
IFX_INLINE uint32 | IfxDma_getChannelDestinationAddress (Ifx_DMA *dma, IfxDma_ChannelId channelId) |
Get a channel source address. More... | |
IFX_INLINE uint32 | IfxDma_getChannelSourceAddress (Ifx_DMA *dma, IfxDma_ChannelId channelId) |
Get a channel source address. More... | |
IFX_INLINE uint32 | IfxDma_getChannelTransferCount (Ifx_DMA *dma, IfxDma_ChannelId channelId) |
Return remaining DMA transfer count. More... | |
IFX_INLINE uint32 | IfxDma_getTimestamp (Ifx_DMA *dma) |
get the time stamp More... | |
IFX_INLINE void | IfxDma_setChannelBlockMode (Ifx_DMA *dma, IfxDma_ChannelId channelId, IfxDma_ChannelMove blockMode) |
Configure the move count for each DMA channel transfer. More... | |
IFX_INLINE void | IfxDma_setChannelContinuousMode (Ifx_DMA *dma, IfxDma_ChannelId channelId) |
Configure a DMA channel to "continous transaction mode" After a transaction, the hardware request transaction remain enabled. More... | |
IFX_INLINE void | IfxDma_setChannelDestinationAddress (Ifx_DMA *dma, IfxDma_ChannelId channelId, void *address) |
Configure the destination address. More... | |
IFX_INLINE void | IfxDma_setChannelDestinationIncrementStep (Ifx_DMA *dma, IfxDma_ChannelId channelId, IfxDma_ChannelIncrementStep incStep, IfxDma_ChannelIncrementDirection direction, IfxDma_ChannelIncrementCircular size) |
Configure a DMA channel destination pointer. More... | |
IFX_INLINE void | IfxDma_setChannelMoveSize (Ifx_DMA *dma, IfxDma_ChannelId channelId, IfxDma_ChannelMoveSize moveSize) |
Configure a DMA channel move. More... | |
IFX_INLINE void | IfxDma_setChannelShadow (Ifx_DMA *dma, IfxDma_ChannelId channelId, IfxDma_ChannelShadow shadow) |
Configure a DMA channel shadow pointer. More... | |
IFX_INLINE void | IfxDma_setChannelSingleMode (Ifx_DMA *dma, IfxDma_ChannelId channelId) |
Configure a DMA channel to "single transaction mode" After a transaction, the hardware request transaction is disabled, and must be set by software again. More... | |
IFX_INLINE void | IfxDma_setChannelSingleTransaction (Ifx_DMA *dma, IfxDma_ChannelId channelId) |
Configure a DMA channel to "single transaction mode" One transfer request starts a complete DMA transaction. More... | |
IFX_INLINE void | IfxDma_setChannelSingleTransfer (Ifx_DMA *dma, IfxDma_ChannelId channelId) |
Configure a DMA channel to "single transfer mode" A transfer request is required for each transfer. More... | |
IFX_INLINE void | IfxDma_setChannelSourceAddress (Ifx_DMA *dma, IfxDma_ChannelId channelId, const void *address) |
Configure the source address. More... | |
IFX_INLINE void | IfxDma_setChannelSourceIncrementStep (Ifx_DMA *dma, IfxDma_ChannelId channelId, IfxDma_ChannelIncrementStep incStep, IfxDma_ChannelIncrementDirection direction, IfxDma_ChannelIncrementCircular size) |
Configure a DMA channel source pointer. More... | |
IFX_INLINE void | IfxDma_setChannelTransferCount (Ifx_DMA *dma, IfxDma_ChannelId channelId, uint32 transferCount) |
Configure the move count of a DMA channel transaction. More... | |
IFX_INLINE void | IfxDma_writeChannelShadowDisable (Ifx_DMA *dma, IfxDma_ChannelId channelId) |
Configure the shadow pointer register to read only. More... | |
IFX_INLINE void | IfxDma_writeChannelShadowEnable (Ifx_DMA *dma, IfxDma_ChannelId channelId) |
Configure the shadow pointer register to write-able. More... | |
IFX_INLINE uint32 IfxDma_getChannelDestinationAddress | ( | Ifx_DMA * | dma, |
IfxDma_ChannelId | channelId | ||
) |
Get a channel source address.
dma | pointer to DMA module |
channelId | DMA channel number |
IFX_INLINE uint32 IfxDma_getChannelSourceAddress | ( | Ifx_DMA * | dma, |
IfxDma_ChannelId | channelId | ||
) |
Get a channel source address.
dma | pointer to DMA module |
channelId | DMA channel number |
IFX_INLINE uint32 IfxDma_getChannelTransferCount | ( | Ifx_DMA * | dma, |
IfxDma_ChannelId | channelId | ||
) |
Return remaining DMA transfer count.
dma | pointer to DMA module |
channelId | DMA channel number |
IFX_INLINE uint32 IfxDma_getTimestamp | ( | Ifx_DMA * | dma) |
get the time stamp
dma | pointer to DMA module |
IFX_INLINE void IfxDma_setChannelBlockMode | ( | Ifx_DMA * | dma, |
IfxDma_ChannelId | channelId, | ||
IfxDma_ChannelMove | blockMode | ||
) |
Configure the move count for each DMA channel transfer.
dma | pointer to DMA module |
channelId | DMA channel number |
blockMode | value holds the number of moves with in a DMA transfer |
A coding example can be found in IfxDma_setChannelTransferCount
IFX_INLINE void IfxDma_setChannelContinuousMode | ( | Ifx_DMA * | dma, |
IfxDma_ChannelId | channelId | ||
) |
Configure a DMA channel to "continous transaction mode" After a transaction, the hardware request transaction remain enabled.
dma | pointer to DMA module |
channelId | DMA channel number |
A coding example can be found in IfxDma_enableChannelTransaction
IFX_INLINE void IfxDma_setChannelDestinationAddress | ( | Ifx_DMA * | dma, |
IfxDma_ChannelId | channelId, | ||
void * | address | ||
) |
Configure the destination address.
dma | pointer to DMA module |
channelId | DMA channel number |
address | is the Initial address of the destination pointer |
A coding example can be found in IfxDma_setChannelSourceAddress
Definition at line 1467 of file IfxDma.h.
Referenced by IfxDma_Dma_setChannelDestinationAddress().
IFX_INLINE void IfxDma_setChannelDestinationIncrementStep | ( | Ifx_DMA * | dma, |
IfxDma_ChannelId | channelId, | ||
IfxDma_ChannelIncrementStep | incStep, | ||
IfxDma_ChannelIncrementDirection | direction, | ||
IfxDma_ChannelIncrementCircular | size | ||
) |
Configure a DMA channel destination pointer.
dma | pointer to DMA module |
channelId | DMA channel number |
incStep | Specifies the pointer incrementation step |
direction | Specifies the incrementation direction |
size | Specifies the size of the circular buffer |
A coding example can be found in IfxDma_setChannelSourceIncrementStep
IFX_INLINE void IfxDma_setChannelMoveSize | ( | Ifx_DMA * | dma, |
IfxDma_ChannelId | channelId, | ||
IfxDma_ChannelMoveSize | moveSize | ||
) |
Configure a DMA channel move.
dma | pointer to DMA module |
channelId | DMA channel number |
moveSize | value holds the opcode or size of data of individual moves with in a DMA transfer |
A coding example can be found in IfxDma_setChannelTransferCount
IFX_INLINE void IfxDma_setChannelShadow | ( | Ifx_DMA * | dma, |
IfxDma_ChannelId | channelId, | ||
IfxDma_ChannelShadow | shadow | ||
) |
Configure a DMA channel shadow pointer.
dma | pointer to DMA module |
channelId | DMA channel number |
shadow | Specifies the shadow pointer |
IFX_INLINE void IfxDma_setChannelSingleMode | ( | Ifx_DMA * | dma, |
IfxDma_ChannelId | channelId | ||
) |
Configure a DMA channel to "single transaction mode" After a transaction, the hardware request transaction is disabled, and must be set by software again.
dma | pointer to DMA module |
channelId | DMA channel number |
A coding example can be found in IfxDma_enableChannelTransaction
IFX_INLINE void IfxDma_setChannelSingleTransaction | ( | Ifx_DMA * | dma, |
IfxDma_ChannelId | channelId | ||
) |
Configure a DMA channel to "single transaction mode" One transfer request starts a complete DMA transaction.
dma | pointer to DMA module |
channelId | DMA channel number |
A coding example can be found in IfxDma_setChannelTransferCount
IFX_INLINE void IfxDma_setChannelSingleTransfer | ( | Ifx_DMA * | dma, |
IfxDma_ChannelId | channelId | ||
) |
Configure a DMA channel to "single transfer mode" A transfer request is required for each transfer.
dma | pointer to DMA module |
channelId | DMA channel number |
A coding example can be found in IfxDma_setChannelTransferCount
IFX_INLINE void IfxDma_setChannelSourceAddress | ( | Ifx_DMA * | dma, |
IfxDma_ChannelId | channelId, | ||
const void * | address | ||
) |
Configure the source address.
dma | pointer to DMA module |
channelId | DMA channel number |
address | is the Initial address of the source pointer |
Definition at line 1526 of file IfxDma.h.
Referenced by IfxDma_Dma_setChannelSourceAddress().
IFX_INLINE void IfxDma_setChannelSourceIncrementStep | ( | Ifx_DMA * | dma, |
IfxDma_ChannelId | channelId, | ||
IfxDma_ChannelIncrementStep | incStep, | ||
IfxDma_ChannelIncrementDirection | direction, | ||
IfxDma_ChannelIncrementCircular | size | ||
) |
Configure a DMA channel source pointer.
dma | pointer to DMA module |
channelId | DMA channel number |
incStep | Specifies the pointer incrementation step |
direction | Specifies the incrementation direction |
size | Specifies the size of the circular buffer |
IFX_INLINE void IfxDma_setChannelTransferCount | ( | Ifx_DMA * | dma, |
IfxDma_ChannelId | channelId, | ||
uint32 | transferCount | ||
) |
Configure the move count of a DMA channel transaction.
dma | pointer to DMA module |
channelId | DMA channel number |
transferCount | value holds the DMA transfers within a transaction (1..16383; 0 handled like 1 transaction) |
Definition at line 1543 of file IfxDma.h.
Referenced by IfxDma_Dma_setChannelTransferCount().
IFX_INLINE void IfxDma_writeChannelShadowDisable | ( | Ifx_DMA * | dma, |
IfxDma_ChannelId | channelId | ||
) |
Configure the shadow pointer register to read only.
dma | pointer to DMA module |
channelId | DMA channel number |
IFX_INLINE void IfxDma_writeChannelShadowEnable | ( | Ifx_DMA * | dma, |
IfxDma_ChannelId | channelId | ||
) |
Configure the shadow pointer register to write-able.
dma | pointer to DMA module |
channelId | DMA channel number |