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

ref: d5bfe1a35cc5b046782ddc4222f3344d9127f76e stm32h747i-disco-usb-image-viewer/src/delay.c -rw-r--r-- 176 bytes
d5bfe1a3 — Rutherther fix: usb should not rewrite DIEPCTL bits 1 year, 1 month 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;
}