/* * systick.h * * Created on: Jan 8, 2023 * Author: bruce */ #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(); // This fuction is to create delay using SysTick timer counter void delay_systick(); int check_systick(); uint32_t systick_get_count(); #endif /* INC_SYSTICK_H_ */