In 'STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_dma.c', Line 1032, 'hdma->DMAmuxChannelStatusMask = 1UL << (channel_number & 0x1cU)' , why the channel number is anded with 0x1C? shouldn't that be anded with 0x7f?
I mean that Channel number is from 0 to 6. the bits of the flag registers are also 0 to 6 respectively. the (channel_number & 0x1cU) has already change the primary position that the data should be shifted. In fact, I think the whole sentence could...