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
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
GPIO Driver for STM32F4 Devices.
void PHAL_PWMsetPercent(TIM_TypeDef *tim, uint8_t channel, uint8_t percent)
Definition pwm.c:139
bool PHAL_initPWM(uint32_t frequency_hz, TIM_TypeDef *tim, uint8_t channelsToEnable)
Definition pwm.c:15