lpcware

SYSAHBCLKCTRL and Polling Timer

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by cwpjr on Sat Jan 19 16:16:19 MST 2013
Using LPCxepresso 1114 stick with Code Red V5.

Writing in assembly language.

After reading all the manuals and searching this forum I have 2 questions.

From the manual:
The CT32B0/1 are configured using the following registers:
1. Pins: The CT32B0/1 pins must be configured in the IOCONFIG register block
(Section 7.4).
2. Power and peripheral clock: In the SYSAHBCLKCTRL register, set bit 9 and bit 10

RE> 1:
*must* I configure pins if I just want to poll the timer?
RE>2:
Simply writing those two bits seems dangerous. Won't that simply disable everything else and "brick my stick"?

Outcomes