blob: 2d1346363836b0acb36d91120943e3c6356de296 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/**
******************************************************************************
* @file PWM/PWM_handlers.c
* @author SNM Application Team
* @brief Handlers for PWM and other support functions.
******************************************************************************
* @attention
*
* Copyright (c) STMicroelectronics</center></h2>
(-2021) STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
#include "PWM_config.h"
//#include "SDK_EVAL_Config.h"
/* PWM2 handler */
void PWM2_handler(void);
/* PWM3 and PWM4 handler */
void PWM3_PWM4_handler(void);
/* Here the channel with the lower duty-cycle is established*/
void Ton_sorting(void);
/* Handle modifications in duty cycle */
void Modify_PWM(uint8_t PWM_ID, uint16_t duty_cycle);
|