2013-01-08 21:05:02 +08:00
|
|
|
/*
|
|
|
|
************************************************************************************************************************
|
|
|
|
* File : cpu_port.h
|
|
|
|
* By : xyou
|
|
|
|
* Version : V1.00.00
|
|
|
|
************************************************************************************************************************
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _CPU_PORT_H_
|
|
|
|
#define _CPU_PORT_H_
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
*********************************************************************************************************
|
|
|
|
* CPU INTERRUPT PRIORITY
|
|
|
|
*********************************************************************************************************
|
|
|
|
*/
|
2020-12-23 10:35:26 +08:00
|
|
|
#define CPU_INTERRUPT_YIELD 0x01 // should be set to the lowest priority.
|
|
|
|
#define CPU_INTERRUPT_TICK 0x00
|
2013-01-08 21:05:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
*********************************************************************************************************
|
|
|
|
* FUNCTION PROTOTYPES
|
|
|
|
*********************************************************************************************************
|
|
|
|
*/
|
|
|
|
void TriggerSimulateInterrupt(rt_uint32_t IntIndex);
|
|
|
|
|
|
|
|
void WinThreadScheduler(void);
|
|
|
|
#endif /* _CPU_PORT_H_ */
|