diff options
| author | sowgro <tpoke.ferrari@gmail.com> | 2025-09-02 14:45:40 -0400 |
|---|---|---|
| committer | sowgro <tpoke.ferrari@gmail.com> | 2025-09-02 14:45:40 -0400 |
| commit | e3a880051ccf1ba9a16fd9cf031b7386b2533bf1 (patch) | |
| tree | 96a096b2a668bf7b7929385ebb54c1a3cbd1b9d2 /project/Core/Src/systick.c | |
| parent | 0ff718e7cd7159c30636aa323a666ac1af684f63 (diff) | |
| download | 340-repo-Sowgro-e3a880051ccf1ba9a16fd9cf031b7386b2533bf1.tar.gz 340-repo-Sowgro-e3a880051ccf1ba9a16fd9cf031b7386b2533bf1.tar.bz2 340-repo-Sowgro-e3a880051ccf1ba9a16fd9cf031b7386b2533bf1.zip | |
Organized project
Diffstat (limited to 'project/Core/Src/systick.c')
| -rw-r--r-- | project/Core/Src/systick.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/project/Core/Src/systick.c b/project/Core/Src/systick.c deleted file mode 100644 index 263defd..0000000 --- a/project/Core/Src/systick.c +++ /dev/null @@ -1,23 +0,0 @@ -#include "systick.h" - -// This function is to Initialize SysTick registers -void init_systick() -{ - // Use the SysTick global structure pointer to do the following in this - // exact order with separate lines for each step: - // - // Disable SysTick by clearing the CTRL (CSR) register. - // Set the LOAD (RVR) to 8 million to give us a 100 milliseconds timer. - // Set the clock source bit in the CTRL (CSR) to the internal clock. - // Set the enable bit in the CTRL (CSR) to start the timer. -} - -// This fuction is to create delay using SysTick timer counter -void delay_systick() -{ - // Using the SysTick global structure pointer do the following: - // Create a for loop that loops 10 times - // Inside that for loop check the COUNTFLAG bit in the CTRL (CSR) - // register in a loop. When that bit is set exit this inner loop - // to do another pass in the outer loop of 10. -} |
