expcov opened this issue 4 years ago · 0 comments
YLENGTH will set to the wrong value when the value to be written is larger than 0x0fff
- #define DMA_CB_TXFR_LEN_YLENGTH(y) (((y-1)&0x4fff) << 16) + #define DMA_CB_TXFR_LEN_YLENGTH(y) (((y-1)&0x3fff) << 16)