~ruther/uni-mam-arm

ref: 3c9681392ea2c5e13e15c5d94af6590e0ce497eb uni-mam-arm/arm04/src/delay.c -rw-r--r-- 196 bytes
3c968139 — Rutherther feat(arm07): use rx not empty as not busy flag 4 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