AnsweredAssumed Answered

write once register issue

Question asked by li cang on Jun 29, 2010
Latest reply on Jul 1, 2010 by li cang

Hi,Dear All

 

      My cpu is MC9S12XEP100.

 

      CLKSEL &= ~0xFC;            // clear CLKSEL Register

     This sentence  write bit CLKSEL_COPWAI,this means that I can't write CLKSEL_COPWAI again since it is write once register in Normal Mode.

      Whether I can use " CLKSEL = 0x00" sentence in the subsequent code?It will affect CLKSEL_COPWAI?

Outcomes