GlobLib
HAL and API libraries for MCUs and hardware.
|
Generic header file to include all modules. More...
Files | |
file | stm32f103cb_core.h |
Generic header file for all modules. | |
Functions | |
void | USB_coms (timer_main timerNumber) |
Set up USB "serial" communication. The passed timer is used to update the device. More... | |
void | delayms (uint32_t delay) |
Millisecond blocking delay. More... | |
Generic header file to include all modules.
This file can be included in applications to include all peripheral modules for the MCU.
This file additionally contains useful fucntions specific to the stm32f103cb
void delayms | ( | uint32_t | delay | ) |
Millisecond blocking delay.
delay | The required delay |
Definition at line 65 of file stm32f103cb_core.c.
void USB_coms | ( | timer_main | timerNumber | ) |
Set up USB "serial" communication. The passed timer is used to update the device.
The following options are valid.
- TIMER_1 - TIMER_2 - TIMER_3 - TIMER_4 - SYSTICK
Currently this also sets the main clock speed to 72MHz (external crystal)
timerNumber | the timer to initial the USB device with |
Definition at line 19 of file stm32f103cb_core.c.