Does any one can help me?
I want to make a demo on DEVKIT-5744P, which a led's state can toggle at 1s(1s light on, and then 1s light off) . But it can not build successfully. It seems that my state A is not known by PIT ISR.
pit_ch1_isr.c: In function 'PIT_Ch1_ISR':
pit_ch1_isr.c:24:38: error: 'TIMER_LED_IN_A' undeclared (first use in this function)
TIMER_LED_DW.is_c1_TIMER_LED = TIMER_LED_IN_A;
pit_ch1_isr.c:24:38: note: each undeclared identifier is reported only once for each function it appears in
pit_ch1_isr.c:29:40: error: 'TIMER_LED_IN_A1' undeclared (first use in this function)
TIMER_LED_DW.is_c1_TIMER_LED = TIMER_LED_IN_A1;
gmake: *** [pit_ch1_isr.o] Error 1
### Creating HTML report file TIMER_LED_codegen_rpt.html
Reference demo : mbdtbx_MPC574xP\mbdtbx_pnt\Examples\eTimer_QD_pnt.mdl.
Figure1 System diagram
Figure2 PIT's Function Call Subsystem1
Figure3 State flow A and A1