123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #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[8];
- MC_UpperPCInfo_Struct_t MC_UpcInfo;
- UWORD adc_uwRdsonUReg;
- UWORD adc_uwRdsonVReg;
- UWORD adc_uwRdsonWReg;
- UWORD adc_uwADDMAPhase1;
- 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;
- }
- void stl_voTbcProc()
- {}
- void stl_voSystickProc()
- {}
- void stl_voDoRunTimeChecks()
- {}
- void NVIC_SystemReset()
- {}
|