ECU/Application/dist/src/DMA_program.c
void DMA_voidDisable(u8 Channel) {
	if (Channel >= 1 && Channel < 7) {
		// Disable DMA to clear buffer
		*((u32*) (&DMA->CCR1	+ (u32) (Channel - 1) * 5)) &= 0b0;
	}
}
/**
  * @brief  Disables the DMA channel
  * @param	Channel: The DMA channel number
  * @retval void
  */
@brief  Disables the DMA channel
@param      Channel: The DMA channel number
@retval void
@brief Disables the DMA channel @param Channel : The DMA channel number @retval void
void DMA_voidDisable(u8 Channel) {
	if (Channel >= 1 && Channel < 7) {
		*((u32*) (&DMA->CCR1	+ (u32) (Channel - 1) * 5)) &= 0b0;
	}
}
void DMA_voidDisable ( u8 Channel ) { if ( Channel >= 1 && Channel < 7 ) { * ( ( u32 * ) ( & DMA -> CCR1 + ( u32 ) ( Channel - 1 ) * 5 ) ) &= 0b0 ; } }
@brief  Disables the DMA channel
 @param      Channel: The DMA channel number
 @retval void
@brief Disables the DMA channel @param Channel : The DMA channel number @retval void
// Disable DMA to clear buffer