summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Livingston2019-06-28 09:48:12 -0500
committerFrank Livingston2019-06-28 09:48:12 -0500
commit73ab1ed89a8e54dd18e589ce074c97b1645c85c8 (patch)
treeb6bca00629c1010aa73e2fc8bf570fc68e756739
parent853bdb98f40762973c8763e8ccacd09b9e2712ea (diff)
downloadpruss-lld-73ab1ed89a8e54dd18e589ce074c97b1645c85c8.tar.gz
pruss-lld-73ab1ed89a8e54dd18e589ce074c97b1645c85c8.tar.xz
pruss-lld-73ab1ed89a8e54dd18e589ce074c97b1645c85c8.zip
PRSDK-5738:Fix mistakes in API header file
Signed-off-by: Frank Livingston <frank-livingston@ti.com>
-rw-r--r--example/apps/icssg_pwm/firmware/src/icssg_iep_pwm.h33
1 files changed, 17 insertions, 16 deletions
diff --git a/example/apps/icssg_pwm/firmware/src/icssg_iep_pwm.h b/example/apps/icssg_pwm/firmware/src/icssg_iep_pwm.h
index d9bb294..244b9b4 100644
--- a/example/apps/icssg_pwm/firmware/src/icssg_iep_pwm.h
+++ b/example/apps/icssg_pwm/firmware/src/icssg_iep_pwm.h
@@ -104,12 +104,12 @@
104#define PWM_CTRL_IEP1_PWM_GBL_EN_MASK ( IEP_PWM_GBL_EN_MASK << PWM_CTRL_IEP1_PWM_GBL_EN_SHIFT ) 104#define PWM_CTRL_IEP1_PWM_GBL_EN_MASK ( IEP_PWM_GBL_EN_MASK << PWM_CTRL_IEP1_PWM_GBL_EN_SHIFT )
105 105
106/* PWM_STAT */ 106/* PWM_STAT */
107#define IEP_PWM_GBL_EN_MASK ( 0x1 ) 107#define IEP_PWM_GBL_EN_ACK_MASK ( 0x1 )
108#define FW_INIT_MASK ( 0x1 ) 108#define FW_INIT_MASK ( 0x1 )
109#define PWM_STAT_IEP0_PWM_GBL_EN_SHIFT ( 0 ) 109#define PWM_STAT_IEP0_PWM_GBL_EN_ACK_SHIFT ( 0 )
110#define PWM_STAT_IEP0_PWM_GBL_EN_MASK ( IEP_PWM_GBL_EN_MASK << PWM_STAT_IEP0_PWM_GBL_EN_SHIFT ) 110#define PWM_STAT_IEP0_PWM_GBL_EN_ACK_MASK ( IEP_PWM_GBL_EN_ACK_MASK << PWM_STAT_IEP0_PWM_GBL_EN_ACK_SHIFT )
111#define PWM_STAT_IEP1_PWM_GBL_EN_SHIFT ( 1 ) 111#define PWM_STAT_IEP1_PWM_GBL_EN_ACK_SHIFT ( 1 )
112#define PWM_STAT_IEP1_PWM_GBL_EN_MASK ( IEP_PWM_GBL_EN_MASK << PWM_STAT_IEP1_PWM_GBL_EN_SHIFT ) 112#define PWM_STAT_IEP1_PWM_GBL_EN_ACK_MASK ( IEP_PWM_GBL_EN_ACK_MASK << PWM_STAT_IEP1_PWM_GBL_EN_ACK_SHIFT )
113#define PWM_STAT_FW_INIT_SHIFT ( 2 ) 113#define PWM_STAT_FW_INIT_SHIFT ( 2 )
114#define PWM_STAT_FW_INIT_MASK ( FW_INIT_MASK << PWM_STAT_FW_INIT_SHIFT ) 114#define PWM_STAT_FW_INIT_MASK ( FW_INIT_MASK << PWM_STAT_FW_INIT_SHIFT )
115 115
@@ -227,28 +227,29 @@
227 227
228/* IEPx_PWM_EN */ 228/* IEPx_PWM_EN */
229#define PWM_EN_MASK ( 0x1 ) 229#define PWM_EN_MASK ( 0x1 )
230#define IEP_PWM_EN_PWM0_EN_SHIFT ( 0 )
230#define IEP_PWM_EN_PWM0_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM0_EN_SHIFT ) 231#define IEP_PWM_EN_PWM0_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM0_EN_SHIFT )
231#define IEP_PWM_EN_PWM1_EN_SHIFT ( 0x1 ) 232#define IEP_PWM_EN_PWM1_EN_SHIFT ( 1 )
232#define IEP_PWM_EN_PWM1_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM1_EN_SHIFT ) 233#define IEP_PWM_EN_PWM1_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM1_EN_SHIFT )
233#define IEP_PWM_EN_PWM2_EN_SHIFT ( 0x1 ) 234#define IEP_PWM_EN_PWM2_EN_SHIFT ( 2 )
234#define IEP_PWM_EN_PWM2_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM2_EN_SHIFT ) 235#define IEP_PWM_EN_PWM2_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM2_EN_SHIFT )
235#define IEP_PWM_EN_PWM3_EN_SHIFT ( 0x1 ) 236#define IEP_PWM_EN_PWM3_EN_SHIFT ( 3 )
236#define IEP_PWM_EN_PWM3_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM3_EN_SHIFT ) 237#define IEP_PWM_EN_PWM3_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM3_EN_SHIFT )
237#define IEP_PWM_EN_PWM4_EN_SHIFT ( 0x1 ) 238#define IEP_PWM_EN_PWM4_EN_SHIFT ( 4 )
238#define IEP_PWM_EN_PWM4_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM4_EN_SHIFT ) 239#define IEP_PWM_EN_PWM4_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM4_EN_SHIFT )
239#define IEP_PWM_EN_PWM5_EN_SHIFT ( 0x1 ) 240#define IEP_PWM_EN_PWM5_EN_SHIFT ( 5 )
240#define IEP_PWM_EN_PWM5_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM5_EN_SHIFT ) 241#define IEP_PWM_EN_PWM5_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM5_EN_SHIFT )
241#define IEP_PWM_EN_PWM6_EN_SHIFT ( 0x1 ) 242#define IEP_PWM_EN_PWM6_EN_SHIFT ( 6 )
242#define IEP_PWM_EN_PWM6_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM6_EN_SHIFT ) 243#define IEP_PWM_EN_PWM6_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM6_EN_SHIFT )
243#define IEP_PWM_EN_PWM7_EN_SHIFT ( 0x1 ) 244#define IEP_PWM_EN_PWM7_EN_SHIFT ( 7 )
244#define IEP_PWM_EN_PWM7_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM7_EN_SHIFT ) 245#define IEP_PWM_EN_PWM7_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM7_EN_SHIFT )
245#define IEP_PWM_EN_PWM8_EN_SHIFT ( 0x1 ) 246#define IEP_PWM_EN_PWM8_EN_SHIFT ( 8 )
246#define IEP_PWM_EN_PWM8_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM8_EN_SHIFT ) 247#define IEP_PWM_EN_PWM8_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM8_EN_SHIFT )
247#define IEP_PWM_EN_PWM9_EN_SHIFT ( 0x1 ) 248#define IEP_PWM_EN_PWM9_EN_SHIFT ( 9 )
248#define IEP_PWM_EN_PWM9_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM9_EN_SHIFT ) 249#define IEP_PWM_EN_PWM9_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM9_EN_SHIFT )
249#define IEP_PWM_EN_PWM10_EN_SHIFT ( 0x1 ) 250#define IEP_PWM_EN_PWM10_EN_SHIFT ( 10 )
250#define IEP_PWM_EN_PWM10_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM10_EN_SHIFT ) 251#define IEP_PWM_EN_PWM10_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM10_EN_SHIFT )
251#define IEP_PWM_EN_PWM11_EN_SHIFT ( 0x1 ) 252#define IEP_PWM_EN_PWM11_EN_SHIFT ( 11 )
252#define IEP_PWM_EN_PWM11_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM11_EN_SHIFT ) 253#define IEP_PWM_EN_PWM11_EN_MASK ( PWM_EN_MASK << IEP_PWM_EN_PWM11_EN_SHIFT )
253 254
254/* IEPx_PWM_PRD_COUNT */ 255/* IEPx_PWM_PRD_COUNT */