~ruther/uni-mam-arm

ref: 85b15c7e9f353a97b0ab7b77701b8b7efc520091 uni-mam-arm/arm01/src/delay.c -rw-r--r-- 176 bytes
85b15c7e — Rutherther feat(arm07): add led indication of auto toggle 10 months ago
                                                                                
1
2
3
4
5
6
7
#include "delay.h"
#include <stm32f4xx.h>

void systick_configure() {
  SysTick->LOAD = SYSTICK_LOAD;
  SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | SysTick_CTRL_ENABLE_Msk;
}