From e2ba305068f3045944789bf65e29fb2f2f557879 Mon Sep 17 00:00:00 2001 From: sowgro Date: Wed, 1 Oct 2025 23:38:18 -0400 Subject: complete homework 4 --- project/Core/Inc/System/systick.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'project/Core/Inc') 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 + +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(); -- cgit v1.2.3