In Setup of Rx by DMA (_hal_uart_dma.c). I need to increment the destination address by 1 byte,can I know how to increment address by 1 byte
// The destination address is incremented by 1 word after each transfer.
HAL_DMA_SET_DST_INC( ch, HAL_DMA_DSTINC_1 );
#define HAL_DMA_SET_DST_INC( pDesc, dstInc ) \
st( \
pDesc->ctrlB &= ~HAL_DMA_DST_INC; \
pDesc->ctrlB |= (dstInc << 4); \
)
In the code above the adress in incremented by 1 word but I need to increment by 1 byte.
any kind of help is appreciable
BR
Timber