/* DMAMUX Set DMA Channel Request. 
Set DMA Request Signal ID (dmamux_cxcr_dmareq_id) for given DMA channel. Request must be set before enabling and after configuring said DMA channel. */
void dmamux_set_dma_channel_request(uint32_t dmamux, uint8_t channel, uint8_t request_id)
/* DMAMUX Set DMA Channel Request. 
Set DMA Request Signal ID (dmamux_cxcr_dmareq_id) for given DMA channel. Request must be set before enabling and after configuring said DMA channel. */
void dmamux_set_dma_channel_request(uint32_t dmamux, uint8_t channel, uint8_t request_id)
{
	uint32_t reg32 = DMAMUX_CxCR(dmamux, channel);
	reg32 &= ~(DMAMUX_CxCR_DMAREQ_ID_MASK << DMAMUX_CxCR_DMAREQ_ID_SHIFT);
	reg32 |= ((request_id & DMAMUX_CxCR_DMAREQ_ID_MASK) << DMAMUX_CxCR_DMAREQ_ID_SHIFT);
	DMAMUX_CxCR(dmamux, channel) = reg32;
}