diff options
| author | sowgro <tpoke.ferrari@gmail.com> | 2025-10-01 23:38:18 -0400 |
|---|---|---|
| committer | sowgro <tpoke.ferrari@gmail.com> | 2025-10-01 23:38:18 -0400 |
| commit | e2ba305068f3045944789bf65e29fb2f2f557879 (patch) | |
| tree | c78a70b4e2641270f0804965b84dcddae38af4c0 /project/Core/Inc | |
| parent | e50a487f58941c49cace0783f80a3d4dc6de3c2a (diff) | |
| download | 340-repo-Sowgro-e2ba305068f3045944789bf65e29fb2f2f557879.tar.gz 340-repo-Sowgro-e2ba305068f3045944789bf65e29fb2f2f557879.tar.bz2 340-repo-Sowgro-e2ba305068f3045944789bf65e29fb2f2f557879.zip | |
complete homework 4
Diffstat (limited to 'project/Core/Inc')
| -rw-r--r-- | project/Core/Inc/System/systick.h | 9 |
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(); |
