PER Firmware
Loading...
Searching...
No Matches
pwm.h
Go to the documentation of this file.
1
7#ifndef _PHAL_PWM_H
8#define _PHAL_PWM_H
9
10#include "common/phal_F4_F7/phal_F4_F7.h"
11#include "common/phal/gpio.h"
12
13bool PHAL_initPWM(uint32_t frequency_hz, TIM_TypeDef* tim, uint8_t channelsToEnable);
14void PHAL_PWMsetPercent(TIM_TypeDef* tim, uint8_t channel, uint8_t percent);
15
16#endif