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

ref: 5d5e3d6c63345fc19e6434813393c0c8e4d9c830 stm32h747i-disco-usb-image-viewer/src/delay.c -rw-r--r-- 176 bytes
5d5e3d6c — Rutherther feat: implement enumeration fully 11 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;
}