2023-06-04 07:31 AM
Each time I call SET_BIT to set a bit the register value remains at 0. All registers are 0 even after writing, as though they are read-only. For example, the following does not set the bit:
DMA2_Stream0->CR |= ((uint32_t)1);
What am I missing?
Thank you!
Solved! Go to Solution.
2023-06-04 07:58 AM
>>What am I missing?
Probably a clock
2023-06-04 07:58 AM
>>What am I missing?
Probably a clock
2023-06-04 08:05 AM
Yep, that was it, thank you!