api-hal-pwm.h 347 B

12345678
  1. #pragma once
  2. #include "main.h"
  3. #include "stdbool.h"
  4. void hal_pwm_set(float value, float freq, TIM_HandleTypeDef* tim, uint32_t channel);
  5. void hal_pwmn_set(float value, float freq, TIM_HandleTypeDef* tim, uint32_t channel);
  6. void hal_pwm_stop(TIM_HandleTypeDef* tim, uint32_t channel);
  7. void hal_pwmn_stop(TIM_HandleTypeDef* tim, uint32_t channel);