示例#1
0
CYCCB _kernel_cyccb_table[TNUM_CYCID];


	/* Object initializer [interrupt] */

#define TNUM_INHNO 4

const UINT _kernel_tnum_inhno = TNUM_INHNO;

CFG_INTHDR_ENTRY(sio1_rx_handler);
CFG_INTHDR_ENTRY(sio1_tx_handler);
CFG_INTHDR_ENTRY(timer_handler);
CFG_INTHDR_ENTRY(KzAudioISRSport0);

const INHINIB _kernel_inhinib_table[TNUM_INHNO] = {
	{41,TA_HLNG,(FP)CFG_INT_ENTRY(sio1_rx_handler)},
	{42,TA_HLNG,(FP)CFG_INT_ENTRY(sio1_tx_handler)},
	{93,TA_HLNG,(FP)CFG_INT_ENTRY(timer_handler)},
	{INHNO_SPORT0_RX,TA_HLNG,(FP)CFG_INT_ENTRY(KzAudioISRSport0)}
};


	/* Object initializer [exception] */

#define TNUM_EXCNO 0

const UINT _kernel_tnum_excno = TNUM_EXCNO;

__EMPTY_LABEL(const EXCINIB, _kernel_excinib_table);
	/* Initialization handler */
示例#2
0
__EMPTY_LABEL(const CYCINIB, _kernel_cycinib_table);
__EMPTY_LABEL(CYCCB, _kernel_cyccb_table);


	/* Object initializer [interrupt] */

#define TNUM_INHNO 3

const UINT _kernel_tnum_inhno = TNUM_INHNO;

CFG_INTHDR_ENTRY(spi_handler);
CFG_INTHDR_ENTRY(sport0_handler);
CFG_INTHDR_ENTRY(timer_handler);

const INHINIB _kernel_inhinib_table[TNUM_INHNO] = {
	{INHNO_SPI,TA_HLNG,(FP)CFG_INT_ENTRY(spi_handler)},
	{INHNO_SPORT0_RX,TA_HLNG,(FP)CFG_INT_ENTRY(sport0_handler)},
	{INHNO_TIMER,TA_HLNG,(FP)CFG_INT_ENTRY(timer_handler)}
};


	/* Object initializer [exception] */

#define TNUM_EXCNO 0

const UINT _kernel_tnum_excno = TNUM_EXCNO;

__EMPTY_LABEL(const EXCINIB, _kernel_excinib_table);
	/* Initialization handler */

void
示例#3
0
	/* Object initializer [interrupt] */

#define TNUM_INHNO 7

const UINT _kernel_tnum_inhno = TNUM_INHNO;

CFG_INTHDR_ENTRY(rtc_isr0);
CFG_INTHDR_ENTRY(if_ether_handler);
CFG_INTHDR_ENTRY(mci_isr0);
CFG_INTHDR_ENTRY(dma_isr0);
CFG_INTHDR_ENTRY(timer_handler);
CFG_INTHDR_ENTRY(uart_isr0);
CFG_INTHDR_ENTRY(uart_isr1);

const INHINIB _kernel_inhinib_table[TNUM_INHNO] = {
	{13,0,(FP)CFG_INT_ENTRY(rtc_isr0)},
	{21,0,(FP)CFG_INT_ENTRY(if_ether_handler)},
	{24,0,(FP)CFG_INT_ENTRY(mci_isr0)},
	{25,0,(FP)CFG_INT_ENTRY(dma_isr0)},
	{4,0,(FP)CFG_INT_ENTRY(timer_handler)},
	{INHNO_SIO0,0,(FP)CFG_INT_ENTRY(uart_isr0)},
	{INHNO_SIO1,0,(FP)CFG_INT_ENTRY(uart_isr1)}
};


	/* Object initializer [exception] */

#define TNUM_EXCNO 0

const UINT _kernel_tnum_excno = TNUM_EXCNO;
示例#4
0

	/* Object initializer [interrupt] */

#define TNUM_INHNO 5

const UINT _kernel_tnum_inhno = TNUM_INHNO;

CFG_INTHDR_ENTRY(sio0_rx_handler);
CFG_INTHDR_ENTRY(sio0_tx_handler);
CFG_INTHDR_ENTRY(timer_handler);
CFG_INTHDR_ENTRY(KzISRSpi);
CFG_INTHDR_ENTRY(KzAudioISRSport0);

const INHINIB _kernel_inhinib_table[TNUM_INHNO] = {
	{14,TA_HLNG,(FP)CFG_INT_ENTRY(sio0_rx_handler)},
	{15,TA_HLNG,(FP)CFG_INT_ENTRY(sio0_tx_handler)},
	{18,TA_HLNG,(FP)CFG_INT_ENTRY(timer_handler)},
	{INHNO_SPI,TA_HLNG,(FP)CFG_INT_ENTRY(KzISRSpi)},
	{INHNO_SPORT0_RX,TA_HLNG,(FP)CFG_INT_ENTRY(KzAudioISRSport0)}
};


	/* Object initializer [exception] */

#define TNUM_EXCNO 0

const UINT _kernel_tnum_excno = TNUM_EXCNO;

__EMPTY_LABEL(const EXCINIB, _kernel_excinib_table);
	/* Initialization handler */
示例#5
0
JSP_KERNEL_CFG_DATA CYCCB _kernel_cyccb_table[TNUM_CYCID];


	/* Object initializer [interrupt] */

#define TNUM_INHNO 3

const UINT _kernel_tnum_inhno = TNUM_INHNO;

CFG_INTHDR_ENTRY(timer_handler);
CFG_INTHDR_ENTRY(sio0_tx_handler);
CFG_INTHDR_ENTRY(sio0_rx_handler);

const INHINIB _kernel_inhinib_table[TNUM_INHNO] = {
	{18,143,(FP)CFG_INT_ENTRY(timer_handler)},
	{49,143,(FP)CFG_INT_ENTRY(sio0_tx_handler)},
	{50,143,(FP)CFG_INT_ENTRY(sio0_rx_handler)}
};


	/* Object initializer [exception] */

#define TNUM_EXCNO 1

const UINT _kernel_tnum_excno = TNUM_EXCNO;

CFG_EXCHDR_ENTRY(cpuexc_handler);

const EXCINIB _kernel_excinib_table[TNUM_EXCNO] = {
	{0,0,(FP)CFG_EXC_ENTRY(cpuexc_handler)}
示例#6
0
	{TA_HLNG | TA_ACT,0,(FP)(tsk_timer),50,0}
};

CYCCB _kernel_cyccb_table[TNUM_CYCID];


	/* Object initializer [interrupt] */

#define TNUM_INHNO 1

const UINT _kernel_tnum_inhno = TNUM_INHNO;

CFG_INTHDR_ENTRY(jsp_systick_low_priority);

const INHINIB _kernel_inhinib_table[TNUM_INHNO] = {
	{IRQ_PWM_PID,TA_HLNG,(FP)CFG_INT_ENTRY(jsp_systick_low_priority)}
};


	/* Object initializer [exception] */

#define TNUM_EXCNO 0

const UINT _kernel_tnum_excno = TNUM_EXCNO;

__EMPTY_LABEL(const EXCINIB, _kernel_excinib_table);
	/* Initialization handler */

void
_kernel_call_inirtn(void)
{