Basic vanilla C boilerplate for STM32L100xC (Discovery L100C). Uses GCC. This was some class project without much practical use
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

10 lines
244 B

#pragma once
#include <common.h>
extern volatile uint32_t TIME_MS;
void delay_ms(uint32_t ms);
void delay_s(uint32_t s);
/** Schedule a timed task (like a cron job) */
bool schedule_timed_task(void (*callback) (void), uint32_t interval_ms);