summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Livingston2019-05-24 12:17:53 -0500
committerFrank Livingston2019-05-24 12:17:53 -0500
commit7fa378b848dd7f72ee49cb6f19bd5cc1c50833a3 (patch)
treebf7419c83718e3ce8443968b65bc8234627eb690
parentdaa008f52ece43a47be96b86035a64ed631b9702 (diff)
downloadpruss-lld-7fa378b848dd7f72ee49cb6f19bd5cc1c50833a3.tar.gz
pruss-lld-7fa378b848dd7f72ee49cb6f19bd5cc1c50833a3.tar.xz
pruss-lld-7fa378b848dd7f72ee49cb6f19bd5cc1c50833a3.zip
PRSDK-5738:Fix DC count reconfiguration mask overflow
Signed-off-by: Frank Livingston <frank-livingston@ti.com>
-rw-r--r--example/apps/icssg_pwm/firmware/src/iepPwm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/example/apps/icssg_pwm/firmware/src/iepPwm.c b/example/apps/icssg_pwm/firmware/src/iepPwm.c
index fccd44b..50af566 100644
--- a/example/apps/icssg_pwm/firmware/src/iepPwm.c
+++ b/example/apps/icssg_pwm/firmware/src/iepPwm.c
@@ -436,7 +436,7 @@ static void stashRhsAction(
436 * pRowIdx : (O) address of row index 436 * pRowIdx : (O) address of row index
437 */ 437 */
438static Int32 getActionTableRowSngl( 438static Int32 getActionTableRowSngl(
439 Uint8 recfgDcCount, 439 Uint16 recfgDcCount,
440 Uint8 pwmIdx, 440 Uint8 pwmIdx,
441 Uint32 iepPwmDcCountOld, 441 Uint32 iepPwmDcCountOld,
442 Uint32 iepPwmDcCountNew, 442 Uint32 iepPwmDcCountNew,
@@ -453,7 +453,7 @@ static Int32 getActionTableRowSngl(
453 * pRowIdx : (O) address of row index 453 * pRowIdx : (O) address of row index
454 */ 454 */
455static Int32 getActionTableRowDiff( 455static Int32 getActionTableRowDiff(
456 Uint8 recfgDcCount, 456 Uint16 recfgDcCount,
457 Uint8 dPwmIdx, 457 Uint8 dPwmIdx,
458 Uint32 iepPwmDcCountOld, 458 Uint32 iepPwmDcCountOld,
459 Uint32 iepPwmDcCountNew, 459 Uint32 iepPwmDcCountNew,
@@ -2120,7 +2120,7 @@ static Int32 updateIepPwmCmpxShReg(
2120 2120
2121/* Get Action Table row, Single-Ended PWM */ 2121/* Get Action Table row, Single-Ended PWM */
2122static Int32 getActionTableRowSngl( 2122static Int32 getActionTableRowSngl(
2123 Uint8 recfgDcCount, 2123 Uint16 recfgDcCount,
2124 Uint8 pwmIdx, 2124 Uint8 pwmIdx,
2125 Uint32 iepPwmDcCountOld, 2125 Uint32 iepPwmDcCountOld,
2126 Uint32 iepPwmDcCountNew, 2126 Uint32 iepPwmDcCountNew,
@@ -2220,7 +2220,7 @@ static Int32 getActionTableRowSngl(
2220 2220
2221/* Get Action Table row, Differential PWM */ 2221/* Get Action Table row, Differential PWM */
2222static Int32 getActionTableRowDiff( 2222static Int32 getActionTableRowDiff(
2223 Uint8 recfgDcCount, 2223 Uint16 recfgDcCount,
2224 Uint8 dPwmIdx, 2224 Uint8 dPwmIdx,
2225 Uint32 iepPwmDcCountOld, 2225 Uint32 iepPwmDcCountOld,
2226 Uint32 iepPwmDcCountNew, 2226 Uint32 iepPwmDcCountNew,