~ruther/vhdl-spi-2

ref: dfd47b8335a1bd7042a1a78c4e84f0406a4151b0 vhdl-spi-2/stm_spi_funduino/src/delay.c -rw-r--r-- 196 bytes
dfd47b83 — Rutherther tests: properly account for soonly rising csn 3 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