stm32f103rb_hal_blink

Non-blocking, event triggered blink example using HAL library
Index Commits Files Refs README
app/inc/app.h (537B)
   1 /*
   2  * Copyright (c) 2023 Juan Manuel Cruz <jcruz@fi.uba.ar> <jcruz@frba.utn.edu.ar>.
   3  * Copyright (c) 2026 Martin Javier Klöckner <mklockner@fi.uba.ar>
   4  *
   5  * See file `LICENSE` for full details
   6  */
   7 
   8 #ifndef APP_INC_APP_H_
   9 #define APP_INC_APP_H_
  10 
  11 #ifdef __cplusplus
  12 extern "C" {
  13 #endif
  14 
  15 extern uint32_t g_app_cnt;
  16 extern uint32_t g_app_runtime_us;
  17 extern uint32_t g_app_WCET_us;
  18 extern volatile uint32_t g_app_tick_cnt;
  19 
  20 extern void app_init(void);
  21 extern void app_update(void);
  22 
  23 #ifdef __cplusplus
  24 }
  25 #endif
  26 
  27 #endif /* APP_INC_APP_H_ */