mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-18 08:43:10 +00:00
734820c137
* Targets: add F6 * F6: Update linker script for use with internal storage * F6: synchronize with F5, add all changes arriving in V9 board, update cube project. Github workflow: add multi-target build, add F6 to build targets. * CI: fix full assembly * CI: better artifact naming scheme * CI: fix artifacts wildcard * F6: Swap C10 - A15, vibro and sdcard detect pins
19 lines
No EOL
482 B
C
19 lines
No EOL
482 B
C
#pragma once
|
|
#include "main.h"
|
|
#include "stdbool.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void hal_pwm_set(float value, float freq, TIM_HandleTypeDef* tim, uint32_t channel);
|
|
void hal_pwmn_set(float value, float freq, TIM_HandleTypeDef* tim, uint32_t channel);
|
|
void hal_pwm_stop(TIM_HandleTypeDef* tim, uint32_t channel);
|
|
void hal_pwmn_stop(TIM_HandleTypeDef* tim, uint32_t channel);
|
|
|
|
void irda_pwm_set(float value, float freq);
|
|
void irda_pwm_stop();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |