~ruther/vhdl-spi-2

ref: 1e50c8368c7f12f9f6be6f96715683d607a1f162 vhdl-spi-2/stm_spi_funduino/src/delay.c -rw-r--r-- 196 bytes
1e50c836 — Rutherther fix: clkgen for various phases and polarities 6 months ago
                                                                                
1
2
3
4
5
6
7
8
#include "delay.h"
#include <stdint.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