How to write to DHCSR register in Cortex-M

I want to make C_DEBUGEN (register DHCSR) zero.

I tried this. (CoreDebug->DHCSR = (unsigned int)0xA05F0000;) 

But again, C_Debugen is set to 1.

I want to know how to set it to 0.

It is possible to force change using T32, but is it possible in code?

More questions in this forum