File tree 6 files changed +10
-9
lines changed
dspic33ck-power-pwm-phase-shift.X
6 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Code example for dsPIC33CK and dsPIC33CH devices showing a basic configuration o
28
28
29
29
## Software Used
30
30
- [ MPLAB® X IDE v5.40] ( https://www.microchip.com/mplabx-ide-windows-installer )
31
- - [ MPLAB® XC16 Compiler v1.60 ] ( https://www.microchip.com/mplabxc16windows )
31
+ - [ MPLAB® XC16 Compiler v1.50 ] ( https://www.microchip.com/mplabxc16windows )
32
32
- [ MPLAB® Code Configurator v4.01] ( https://www.microchip.com/mplab/mplab-code-configurator )
33
33
34
34
## Hardware Used
Original file line number Diff line number Diff line change 82
82
* code line 49 and change the following PWM generator index number to
83
83
* configure another PWM generator than #1 or #3.
84
84
*
85
- * #define MSTR_PWM_GENERATOR 1
86
- * #define SLAVE_PWM_GENERATOR 3
85
+ * #define MOTHER_PWM_GENERATOR 1
86
+ * #define CHILD_PWM_GENERATOR 3
87
87
*
88
88
* Valid numbers are 1-8 for PG1 through PG8 on dsPIC33CK and
89
89
* 1-4 for PG1 through PG4 on dsPIC33CH. Due to hardware limitations
98
98
* Software:
99
99
* - MPLAB X IDE, v5.40
100
100
* - Microchip Code Configuration (MCC), v4.0.1
101
- * - XC16 C-Compiler, v1.60
101
+ * - XC16 C-Compiler, v1.50
102
102
* - dsPIC33CK-MP Device File Pack v1.4.102
103
103
*
104
104
* ********************************************************************* */
Original file line number Diff line number Diff line change 5
5
displayName =" Header Files"
6
6
projectFiles =" true" >
7
7
<logicalFolder name =" f2" displayName =" common" projectFiles =" true" >
8
- <itemPath >sources/drivers /p33c_pwm.h</itemPath >
8
+ <itemPath >sources/common /p33c_pwm.h</itemPath >
9
9
</logicalFolder >
10
10
<logicalFolder name =" f1" displayName =" config" projectFiles =" true" >
11
11
<itemPath >sources/config/dm330029_r20_pinmap.h</itemPath >
39
39
displayName =" Source Files"
40
40
projectFiles =" true" >
41
41
<logicalFolder name =" f2" displayName =" common" projectFiles =" true" >
42
- <itemPath >sources/drivers /p33c_pwm.c</itemPath >
42
+ <itemPath >sources/common /p33c_pwm.c</itemPath >
43
43
</logicalFolder >
44
44
<logicalFolder name =" f1" displayName =" config" projectFiles =" true" >
45
45
</logicalFolder >
62
62
displayName =" Important Files"
63
63
projectFiles =" false" >
64
64
<itemPath >Makefile</itemPath >
65
+ <itemPath >device_setup.mc3</itemPath >
65
66
</logicalFolder >
66
67
</logicalFolder >
67
68
<sourceRootList >
75
76
<targetDevice >dsPIC33CK256MP506</targetDevice >
76
77
<targetHeader ></targetHeader >
77
78
<targetPluginBoard ></targetPluginBoard >
78
- <platformTool ></platformTool >
79
+ <platformTool >noID </platformTool >
79
80
<languageToolchain >XC16</languageToolchain >
80
- <languageToolchainVersion >1.60 </languageToolchainVersion >
81
+ <languageToolchainVersion >1.50 </languageToolchainVersion >
81
82
<platform >3</platform >
82
83
</toolsSet >
83
84
<packs >
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 34
34
35
35
#include <xc.h> // include processor files - each processor file is guarded.
36
36
37
- #include "drivers /p33c_pwm.h" // Include dsPIC33C standard PWM driver header file
37
+ #include "common /p33c_pwm.h" // Include dsPIC33C standard PWM driver header file
38
38
39
39
40
40
#ifdef __cplusplus
You can’t perform that action at this time.
0 commit comments