Should SIM_SCGC7_DMA be changed to 0x00000002?

I have a question about SIM_SCGC7_DMA defined in mk20dx128.h

Section 12.2.11 of the manual says the DMA Clock Gate Control is set in bit number two of the SIM_SCGC7 register. Currently SIM_SCGC7_DMA is defined as 0x00000020. I wonder if that is a mistake and if it shouldn't be changed to 0x00000002?
 
I have a question about SIM_SCGC7_DMA defined in mk20dx128.h

Section 12.2.11 of the manual says the DMA Clock Gate Control is set in bit number two of the SIM_SCGC7 register. Currently SIM_SCGC7_DMA is defined as 0x00000020. I wonder if that is a mistake and if it shouldn't be changed to 0x00000002?

I think your right, the address should be 0x00000002, though DMA seems to work even if I don't start the DMA clock, weird!
 
Back
Top