~ruther/vhdl-spi-2

ref: 064c8c0056d9f2aef82ec72cf18d9d6357a13f15 vhdl-spi-2/stm_spi_funduino/src/delay.c -rw-r--r-- 196 bytes
064c8c00 — Rutherther chore: remove todo comments 1 year, 4 days 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;
}