test_user.c 429 B

12345678910111213141516171819
  1. #include "test_user.h"
  2. int testTimerIntFlg[2][4];
  3. int testCh2CapValue[2];
  4. int testCh3CapValue[2];
  5. int testGpioBValue[2];
  6. UWORD hw_uwADC0[ADC0_DMA_NUM];
  7. MC_UpperPCInfo_Struct_t MC_UpcInfo;
  8. int timer_interrupt_flag_get(int timer_periph, int interrupt)
  9. {
  10. return testTimerIntFlg[timer_periph][interrupt];
  11. }
  12. void timer_interrupt_flag_clear(int timer_periph, int interrupt)
  13. {
  14. testTimerIntFlg[timer_periph][interrupt] = 0;
  15. }