From 322eb697566b33ca8671743b8ad3a156922d0c4c Mon Sep 17 00:00:00 2001 From: Uttam Ambappa Bhavimani Date: Fri, 20 Sep 2024 19:57:15 +0530 Subject: [PATCH] Defined Systic Resistors --- main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 3b000fc..cb2ec01 100644 --- a/main.c +++ b/main.c @@ -1,3 +1,7 @@ #include #include -#include "tm4c123gh6pm.h" \ No newline at end of file +#include "tm4c123gh6pm.h" +// SysTick memory-mapped registers +#define STCTRL *((volatile uint32_t *) 0xE000E010) // CONTROL AND STATUS +#define STRELOAD *((volatile uint32_t *) 0xE000E014) // RELOAD VALUE +#define STCURRENT *((volatile uint32_t *) 0xE000E018) // CURRENT VALUE \ No newline at end of file