edma_transfer definition question

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

edma_transfer definition question

1,969 次查看
海雄周
Contributor II

Hi,

I have a problem at using the "edma_transfer" function. In the example of edma_transfer, the edma_transfer.h has declared "triggerDmaUartTx(uint8_t channel, uint8_t * buff, uint32_t size); and triggerDmaUartRx(uint8_t channel, uint8_t * buff);" However, I don't see the specific definition, and it don't work without the specific definition. So, I am asking the original code for those two functions if any one can help. Thanks.

Sincerely,

Zhou

标记 (1)
0 项奖励
回复
3 回复数

1,807 次查看
海雄周
Contributor II

Hi:

     edmatransfer.C there is no triggerDmaUartTx (uint8_t channel, uint8_t * buff, uint32_t size) and triggerDmaUartRx (uint8_t channel, uint8_t * buff) the definition of two functions

0 项奖励
回复

1,807 次查看
raresvasile
NXP Employee
NXP Employee

Hi,

In the sources folder of the examples, you should find edmaTransfer.c which contains the definitions of those functions.

pastedImage_1.png

Best regards,

Rares

0 项奖励
回复

1,807 次查看
henninge
Contributor I

Hi Rares

I have the same problem. The functions triggerDmaUartTx/triggerDmaUartRx are only in the h-file not in the c-file.

I checked S32 Design Studio for ARM v2.0 and the S32 Design Studio for ARM® v2.0 Update 2 – S32 SDK 0.8.5 EAR & MQX as well.

Help would be greatly appreciated!

Thanks Henning

0 项奖励
回复