Part Number: MSP430F5359
Other Parts Discussed in Thread: MSPDRIVERLIB
Please refer to the screen capture attached.
In our source file “ctrlTimer.c” line 9 calls out the TI definition file: “include timer_a.h”. In line 23 we use one of TI’s definitions: “ Timer_A_initUpDownModeParam.” The compiler shows an error: “declaration is incompatible with Timer_A_initUpDownModeParam”
On the left side it can be seen that for timer_a.h “Timer_A_initUpDownModeParam” has been defined. Why is it showing an error when we are using TI code definitions?
We are using IAR tools.
Thank you.