I am trying to use one of the PWM channels of dsPIC,but while generating the c-code..it is giving the following error:
PWM.c: In function 'PWM_initialize':
PWM.c:61: error: 'PWM_INT_DIS' undeclared (first use in this function)
PWM.c:61: error: (Each undeclared identifier is reported only once
PWM.c:61: error: for each function it appears in.)
PWM.c:61: error: 'PWM_FLTA_DIS_INT' undeclared (first use in this function)
PWM.c:61: error: 'PWM_INT_PR1' undeclared (first use in this function)
PWM.c:61: error: 'PWM_FLTA_INT_PR0' undeclared (first use in this function)
PWM.c:66: error: 'PWM_EN' undeclared (first use in this function)
PWM.c:66: error: 'PWM_OP_SCALE1' undeclared (first use in this function)
PWM.c:66: error: 'PWM_IPCLK_SCALE4' undeclared (first use in this function)
PWM.c:66: error: 'PWM_MOD_FREE' undeclared (first use in this function)
PWM.c:66: error: 'PWM_PEN1L' undeclared (first use in this function)
PWM.c:66: error: 'PWM_MOD1_IND' undeclared (first use in this function)
PWM.c:66: error: 'PWM_PDIS1H' undeclared (first use in this function)
PWM.c:66: error: 'PWM_PDIS2L' undeclared (first use in this function)
PWM.c:66: error: 'PWM_PDIS2H' undeclared (first use in this function)
PWM.c:66: error: 'PWM_PDIS3L' undeclared (first use in this function)
PWM.c:66: error: 'PWM_PDIS3H' undeclared (first use in this function)
PWM.c:66: error: 'PWM_SEVOPS1' undeclared (first use in this function)
PWM.c:66: error: 'PWM_OSYNC_TCY' undeclared (first use in this function)
PWM.c:66: error: 'PWM_UEN' undeclared (first use in this function)
