Defined Systic Resistors

This commit is contained in:
Uttam Bhavimani Bhavimani 2024-09-20 19:57:15 +05:30
parent 15a2936dfd
commit 322eb69756
1 changed files with 5 additions and 1 deletions

4
main.c
View File

@ -1,3 +1,7 @@
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
#include "tm4c123gh6pm.h" #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