interrupt [SCI_TXI1] void MA_IntHandler_TXI1_SCI(void)
{
while (!(SCI1_SSR & 0x80)){ /* wait until TDRE is set */ };
TNPW_SCI1_TxNext();
}
头文件中
为:
extern interrupt [SCI_TXI1] void MA_IntHandler_TXI1_SCI( void );
extern interrupt [SCI_TEI1] void MA_IntHandler_TEI1_SCI( void );
extern interrupt [SCI_RXI1] void MA_IntHandler_RXI1_SCI( void );
extern interrupt [SCI_ERI1] void MA_IntHandler_ERI1_SCI( void );
原来在hew早期版中,这种中断方式可以通过,现在的hew4.07报错,不认SCI_TXI1,请教如何按随附标准头文件移植?