cpu_port.h 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. ************************************************************************************************************************
  3. * File : cpu_port.h
  4. * By : xyou
  5. * Version : V1.00.00
  6. ************************************************************************************************************************
  7. */
  8. #ifndef _CPU_PORT_H_
  9. #define _CPU_PORT_H_
  10. /*
  11. *********************************************************************************************************
  12. * CPU INTERRUPT PRIORITY
  13. *********************************************************************************************************
  14. */
  15. #define CPU_INTERRUPT_YIELD 0x01 // should be set to the lowest priority.
  16. #define CPU_INTERRUPT_TICK 0x00
  17. /*
  18. *********************************************************************************************************
  19. * FUNCTION PROTOTYPES
  20. *********************************************************************************************************
  21. */
  22. void TriggerSimulateInterrupt(rt_uint32_t IntIndex);
  23. void WinThreadScheduler(void);
  24. #endif /* _CPU_PORT_H_ */