GlobLib
HAL and API libraries for MCUs and hardware.
|
Header file for stm32f103cb SYSTICK. More...
#include "stm32f103cb_gpio.h"
#include "stm32f103cb_debug.h"
#include "stm32f103cb_clock.h"
#include <libopencm3/cm3/systick.h>
#include <libopencm3/cm3/nvic.h>
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | SYSTICK 27 |
This is a dummy define so that USB_coms() can use systick as a timer option. | |
Functions | |
mcu_error | SYSTICK_setup (uint32_t timeout, void(*handler)(void)) |
Sets up systick and handler. More... | |
mcu_error | SYSTICK_timeout (uint32_t timeout) |
Change the systick timeout value. More... | |
void | SYSTICK_handler (void(*handler)(void)) |
Sets the handler called on interrupt event. More... | |
uint32_t | SYSTICK_count (void) |
Get the current clock value. More... | |
void | SYSTICK_stop (void) |
Stop the systick counter. More... | |
void | SYSTICK_start (void) |
Start the systick counter. More... | |
Header file for stm32f103cb SYSTICK.
Definition in file stm32f103cb_systick.h.