Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 5 months ago.
PCLK_DAC register location
Hi all, can you please point me to the exact header file in which PCLK_DAC is defined for its default value? I would like to change the value.
Also, is it possible to edit this register value from within my main.cpp file? If so, an example would be appreciated!!
nevermind I figured it out. For future people with the same question its "LPC_SC->PCLKSEL0 &= (3UL << 24); PCLK = CCLK/4 96M/4 = 24MHz"
posted by Kevin Ting 17 Nov 2012