api-hal-pwm.h 413 B

1234567891011
  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);
  8. void irda_pwm_set(float value, float freq);
  9. void irda_pwm_stop();