summaryrefslogtreecommitdiff
path: root/project/Core/Inc/System
diff options
context:
space:
mode:
Diffstat (limited to 'project/Core/Inc/System')
-rw-r--r--project/Core/Inc/System/systick.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/project/Core/Inc/System/systick.h b/project/Core/Inc/System/systick.h
index 6bca9fc..6075c95 100644
--- a/project/Core/Inc/System/systick.h
+++ b/project/Core/Inc/System/systick.h
@@ -8,6 +8,15 @@
#ifndef INC_SYSTICK_H_
#define INC_SYSTICK_H_
+#include <stdint.h>
+
+typedef struct {
+ uint32_t CSR;
+ uint32_t RVR;
+ uint32_t CVR;
+ uint32_t CALIB;
+} systick_t;
+
// This function is to Initialize SysTick registers
void init_systick();