12345678910111213141516171819202122232425262728 |
- #include "test_user.h"
- int testAdcInjectData0[2];
- int testAdcInjectData1[2];
- int testAdcInjectData2[2];
- int testAdcIntFlg[2][2];
- int testTimerIntFlg[2][4];
- int testCh2CapValue[2];
- int testCh3CapValue[2];
- int testGpioBValue[2];
- /* Variables and Functions mock */
- LPF_OUT scm_stMotoPwrInLpf;
- LPF_OUT scm_stIqLoadLpf;
- UWORD scm_uwSpdFbkLpfAbsPu;
- UWORD hw_uwADC0[ADC0_DMA_NUM];
- MC_UpperPCInfo_Struct_t MC_UpcInfo;
- int timer_interrupt_flag_get(int timer_periph, int interrupt)
- {
- return testTimerIntFlg[timer_periph][interrupt];
- }
- void timer_interrupt_flag_clear(int timer_periph, int interrupt)
- {
- testTimerIntFlg[timer_periph][interrupt] = 0;
- }
|