dmaMode CY_U3P_DMA_MODE_BYTE

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
        Why all firmware sample codes use CY_U3P_DMA_MODE_BYTE on the 3rd parameter of CyU3PDmaChannelCreate()? What kind of case CY_U3P_DMA_MODE_BUFFER is better?   
0 Likes
1 Reply
Anonymous
Not applicable

Hi,

   

In CY_U3P_DMA_MODE_BYTE the transfer is based on byte count and in CY_U3P_DMA_MODE_BUFFER it is based on buffer count. These terms have comments in the header file of the SDK which provide the necessary information. Please have a look at them.

   

Regards,

   

Anand

0 Likes