Difference between revisions of "LPC1768: SysTick Timer"
Line 7: | Line 7: | ||
=Registers= | =Registers= | ||
− | + | {| class="table table-striped table-hover table-condensed table-bordered" | |
+ | |-class="info" | ||
+ | !Register || Address || Description | ||
+ | |- | ||
+ | |STCTRL|| 0xE000 E010 ||System Timer Control and status register | ||
+ | |-class="active" | ||
+ | |STRELOAD|| 0xE000 E014 || System Timer Reload value register | ||
+ | |- | ||
+ | |STCURR|| 0xE000 E018 || System Timer Current value register | ||
+ | |-class="active" | ||
+ | |STCALIB|| 0xE000 E01C || System Timer Calibration value register | ||
+ | |}<br><br><br><br> | ||
=Code= | =Code= |
Revision as of 09:07, 15 April 2016
Objective:
In this tutorial we will discuss how to configure lpc1768 systick timer for 1ms tick.
At the end of the tutorial we will see how to use the ExploreEmbedded sysTick libraries.
Registers
Register | Address | Description |
---|---|---|
STCTRL | 0xE000 E010 | System Timer Control and status register |
STRELOAD | 0xE000 E014 | System Timer Reload value register |
STCURR | 0xE000 E018 | System Timer Current value register |
STCALIB | 0xE000 E01C | System Timer Calibration value register |