Skip to content

Commit

Permalink
Updated link in sleep.c
Browse files Browse the repository at this point in the history
  • Loading branch information
miracade authored and Vogtinator committed Jul 20, 2023
1 parent 93b3353 commit ce136e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ndless-sdk/libndls/sleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* - miracade <https://github.com/miracade>
****************************************************************************/

#include <os.h>
Expand All @@ -37,7 +38,9 @@ unsigned msleep(unsigned millisec) {
*divider = orig_divider;
*timer = 32;
} else {
// see http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0271d/CHDFDDCF.html
// The timer used is the SP804.
// Documentation: https://developer.arm.com/documentation/ddi0271/d/
// The base address of this timer is 0x900D0000.
volatile unsigned *load = (unsigned*)0x900D0000;
volatile unsigned *control = (unsigned*)0x900D0008;
volatile unsigned *int_clear = (unsigned*)0x900D000C;
Expand Down

0 comments on commit ce136e0

Please sign in to comment.