~ruther/uni-mam-arm

ref: ae7fed7bdcf902628e40fb00248e4577a8572ec5 uni-mam-arm/arm01/src/delay.c -rw-r--r-- 176 bytes
ae7fed7b — Rutherther feat(arm06): Init and implement arm06 6 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;
}
Do not follow this link