You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
/*
|
|
************************************************************************************************************************
|
|
* File : cpu_port.h
|
|
* By : xyou
|
|
* Version : V1.00.00
|
|
************************************************************************************************************************
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CPU_PORT_H_
|
|
#define _CPU_PORT_H_
|
|
|
|
|
|
/*
|
|
*********************************************************************************************************
|
|
* CPU INTERRUPT PRIORITY
|
|
*********************************************************************************************************
|
|
*/
|
|
#define CPU_INTERRUPT_YIELD 0x01 // should be set to the lowest priority.
|
|
#define CPU_INTERRUPT_TICK 0x00
|
|
|
|
|
|
|
|
/*
|
|
*********************************************************************************************************
|
|
* FUNCTION PROTOTYPES
|
|
*********************************************************************************************************
|
|
*/
|
|
void TriggerSimulateInterrupt(rt_uint32_t IntIndex);
|
|
|
|
void WinThreadScheduler(void);
|
|
#endif /* _CPU_PORT_H_ */
|
|
|