I have tried to use functions like: HW_GPT_CounterStartStop(5, GPT_STOP); HW_GPT_TimerCycleSet(5, (period*120)); // 120000-> 1000 us HW_GPT_CounterSet(5, 0); HW_GPT_CounterStartStop(5, GPT_START); however when I build the project a lot of errors appears regarding the definition of GPT_STOP, GPT_START, etc.. Then I tried to include: #include "..\..\..\src\driver\r_gpt_input_capture\hw\common\hw_gpt_common.h" #include "..\..\..\src\driver\r_gpt_input_capture\hw\hw_gpt_private.h and now there are errors shown inside included header files for example: Description Resource Path Location Type 'GPT_INT_TYPE_NONE' undeclared (first use in this function) hw_gpt_common.h /DLS_PANEL/synergy/ssp/src/driver/r_gpt_input_capture/hw/common line 227 C/C++ Problem What I do wrong?
↧