~ruther/uni-mam-arm

ref: f80d4fd6aac9e7b5c7357388ff8cc9260c09deaf uni-mam-arm/arm07/src/delay.c -rw-r--r-- 196 bytes
f80d4fd6 — Rutherther chore(arm07): add few image upload commands 3 months ago
                                                                                
1
2
3
4
5
6
7
8
#include "delay.h"
#include <stdint.h>
#include <stm32f4xx.h>

void systick_configure() {
  SysTick->LOAD = SYSTICK_LOAD;
  SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | SysTick_CTRL_ENABLE_Msk;
}
Do not follow this link