@mchp-mcc/scf-pic8-pwm-v2 4.2.12 → 4.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Changelog.md +3 -15
- package/Readme.md +3 -15
- package/output/autoCreator.js +59 -4
- package/output/autoCreator.js.map +1 -1
- package/output/autoProcessor.js +59 -4
- package/output/autoProcessor.js.map +1 -1
- package/output/creator.js +59 -4
- package/output/creator.js.map +1 -1
- package/output/processor.js +59 -4
- package/output/processor.js.map +1 -1
- package/output/pwm-v2.c.ftl +7 -7
- package/output/pwm-v2.h.ftl +1 -1
- package/package.json +5 -5
package/output/pwm-v2.c.ftl
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @brief This file contains the API implementations for the PWM${moduleInstance} module.
|
|
9
9
|
*
|
|
10
|
-
* @version ${moduleNameUpperCase} Driver Version 2.0.
|
|
10
|
+
* @version ${moduleNameUpperCase} Driver Version 2.0.5
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
${disclaimer}
|
|
@@ -28,32 +28,32 @@
|
|
|
28
28
|
// Set the PWM${moduleInstance} to the options selected in the User Interface
|
|
29
29
|
|
|
30
30
|
<#if PWMCON??>// ${PWMCON.comment}
|
|
31
|
-
${PWMCON.name} = ${PWMCON.valueAsHex};
|
|
31
|
+
${PWMCON.name} = (uint8_t)${PWMCON.valueAsHex};
|
|
32
32
|
</#if>
|
|
33
33
|
|
|
34
34
|
<#if PWMDCH??>// ${PWMDCH.comment}
|
|
35
|
-
${PWMDCH.name} = ${PWMDCH.valueAsHex};
|
|
35
|
+
${PWMDCH.name} = (uint8_t)${PWMDCH.valueAsHex};
|
|
36
36
|
</#if>
|
|
37
37
|
|
|
38
38
|
<#if PWMDCL??>// ${PWMDCL.comment}
|
|
39
|
-
${PWMDCL.name} = ${PWMDCL.valueAsHex};
|
|
39
|
+
${PWMDCL.name} = (uint8_t)${PWMDCL.valueAsHex};
|
|
40
40
|
</#if>
|
|
41
41
|
|
|
42
42
|
<#if CCPTMRS1??>
|
|
43
43
|
<#if timerselpresence == "timerselpresent">
|
|
44
|
-
${CCPTMRS1.settings.CTSEL.bitName} = 0x${CTSELvalue};
|
|
44
|
+
${CCPTMRS1.settings.CTSEL.bitName} = (uint8_t)0x${CTSELvalue};
|
|
45
45
|
</#if>
|
|
46
46
|
</#if>
|
|
47
47
|
|
|
48
48
|
<#if CCPTMRS??>
|
|
49
49
|
<#if timerselpresence == "timerselpresent">
|
|
50
|
-
${CCPTMRS.settings.CTSEL.bitName} = 0x${CTSELvalue};
|
|
50
|
+
${CCPTMRS.settings.CTSEL.bitName} = (uint8_t)0x${CTSELvalue};
|
|
51
51
|
</#if>
|
|
52
52
|
</#if>
|
|
53
53
|
|
|
54
54
|
<#if PWMTMRS??>
|
|
55
55
|
<#if timerselpresence == "timerselpresent">
|
|
56
|
-
${PWMTMRS.settings.CTSEL.bitName} = 0x${CTSELvalue};
|
|
56
|
+
${PWMTMRS.settings.CTSEL.bitName} = (uint8_t)0x${CTSELvalue};
|
|
57
57
|
</#if>
|
|
58
58
|
</#if>
|
|
59
59
|
}
|
package/output/pwm-v2.h.ftl
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mchp-mcc/scf-pic8-pwm-v2",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.13",
|
|
4
4
|
"scf": {
|
|
5
5
|
"reducer": "auto",
|
|
6
6
|
"creator": "output/creator.js",
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
"profile": "jest profile",
|
|
106
106
|
"build-run-dir-future": "node config/extract-run-directory-future.js",
|
|
107
107
|
"release": "yarn build && yarn test && node -e 'require(\"./config/scf-project-scripts\").releaseProject()'",
|
|
108
|
-
"test:itf:all": "node ./node_modules/@microchip/ccl-itf/lib/index.js --sp=./tests/itf --rd=./run --sf=pwmV2.major.test.ts --df=\"
|
|
109
|
-
"test:itf:dev": "node ./node_modules/@microchip/ccl-itf/lib/index.js --sp=./tests/itf --rd=./run --sf=pwmV2.major.test.ts --df=\"
|
|
108
|
+
"test:itf:all": "node ./node_modules/@microchip/ccl-itf/lib/index.js --sp=./tests/itf --rd=./run --sf=pwmV2.major.test.ts --df=\"PIC16F13145\"",
|
|
109
|
+
"test:itf:dev": "node ./node_modules/@microchip/ccl-itf/lib/index.js --sp=./tests/itf --rd=./run --sf=pwmV2.major.test.ts --df=\"PIC16F13145\"",
|
|
110
110
|
"postprocess": "node config/appendPrototype.js"
|
|
111
111
|
},
|
|
112
112
|
"husky": {
|
|
@@ -173,10 +173,10 @@
|
|
|
173
173
|
"@babel/preset-typescript": "^7.9.0",
|
|
174
174
|
"@mchp-mcc/pic-8bit": "^5.23.1-dev.4",
|
|
175
175
|
"@mchp-mcc/pic-8bit-types": "^5.23.1-dev.4",
|
|
176
|
-
"@microchip/ccl-itf": "^1.
|
|
176
|
+
"@microchip/ccl-itf": "^1.8.1",
|
|
177
177
|
"@microchip/initializer-system": "^0.5.5",
|
|
178
178
|
"@microchip/melody-automodule-interface": "^1.14.1",
|
|
179
|
-
"@microchip/run-directory": "^4.
|
|
179
|
+
"@microchip/run-directory": "^4.6.0",
|
|
180
180
|
"@microchip/scf-automodule": "^5.13.1",
|
|
181
181
|
"@microchip/scf-automodule-impl": "^1.14.1",
|
|
182
182
|
"@microchip/scf-autoview": "^3.32.5",
|