~ruther/stm32h747i-disco-usb-image-viewer

ref: f8fd8e9ffbfd742e4c25f499824323766c41bb7d stm32h747i-disco-usb-image-viewer/src/delay.c -rw-r--r-- 176 bytes
f8fd8e9f — Rutherther chore: update pin, exti, delay 1 year, 2 months ago
                                                                                
1
2
3
4
5
6
7
#include "delay.h"
#include <stm32h7xx.h>

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