f303k8 wav player
Dependencies: SDFileSystem mbed
TIM6Driver.h@4:6e56da5068f3, 2016-12-02 (annotated)
- Committer:
- nameless129
- Date:
- Fri Dec 02 03:58:42 2016 +0000
- Revision:
- 4:6e56da5068f3
- Parent:
- 1:7a3f34b2d18b
open
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nameless129 | 1:7a3f34b2d18b | 1 | #include "mbed.h" |
nameless129 | 1:7a3f34b2d18b | 2 | #include "stm32f3xx_hal_rcc.h" |
nameless129 | 1:7a3f34b2d18b | 3 | #include "cmsis_nvic.h" |
nameless129 | 1:7a3f34b2d18b | 4 | |
nameless129 | 1:7a3f34b2d18b | 5 | #define TIM6CLK (32000000) |
nameless129 | 1:7a3f34b2d18b | 6 | |
nameless129 | 1:7a3f34b2d18b | 7 | void MX_TIM6_Init(void); |
nameless129 | 1:7a3f34b2d18b | 8 | void MX_NVIC_Init(void); |
nameless129 | 1:7a3f34b2d18b | 9 | void TIM6ClockSet(uint16_t setPeriod); |
nameless129 | 1:7a3f34b2d18b | 10 | void TIM6ClearInt(void); |