/* DMAMUX Set DMA Request Synchronization Input. 
Set DMAMUX request synchronization input trigger signal id (dmamux_cxcr_sync_id) for a given DMA channel. */
void dmamux_set_dma_request_sync_input(uint32_t dmamux, uint8_t channel, uint8_t sync_input_id)
/* DMAMUX Set DMA Request Synchronization Input. 
Set DMAMUX request synchronization input trigger signal id (dmamux_cxcr_sync_id) for a given DMA channel. */
void dmamux_set_dma_request_sync_input(uint32_t dmamux, uint8_t channel, uint8_t sync_input_id)
{
	uint32_t reg32 = DMAMUX_CxCR(dmamux, channel);
	reg32 &= ~(DMAMUX_CxCR_SYNC_ID_MASK << DMAMUX_CxCR_SYNC_ID_SHIFT);
	reg32 |= ((sync_input_id & DMAMUX_CxCR_SYNC_ID_MASK) << DMAMUX_CxCR_SYNC_ID_SHIFT);
	DMAMUX_CxCR(dmamux, channel) = reg32;
}