the IRQ vector table中有
#if defined( F8W_NWK_PRESENT )
#if defined ( SERIAL_TX_INT )
MT_SerialTransmit2_ISR, // vector 21 SCI2 transmit
#else
Default_Dummy_ISR, // vector 21 SCI2 transmit
#endif
#if defined ( SERIAL_RX_INT )
MT_SerialReceive2_ISR, // vector 20 SCI2 receive
#else
Default_Dummy_ISR, // vector 20 SCI2 receive
#endif
#if defined ( SERIAL_ERR_INT )
MT_SerialError2_ISR, // vector 19 SCI2 error
#else
Default_Dummy_ISR, // vector 19 SCI2 error
#endif
#if defined ( SERIAL_TX_INT )
MT_SerialTransmit1_ISR, // vector 18 SCI1 transmit
#else
Default_Dummy_ISR, // vector 18 SCI1 transmit
#endif
#if defined ( SERIAL_RX_INT )
MT_SerialReceive1_ISR, // vector 17 SCI1 receive
#else
Default_Dummy_ISR, // vector 17 SCI1 receive
#endif
#if defined ( SERIAL_ERR_INT )
MT_SerialError1_ISR, // vector 16 SCI1 error
#else
Default_Dummy_ISR, // vector 16 SCI1 error
#endif
#else
Default_Dummy_ISR, // vector 21 SCI2 transmit
Default_Dummy_ISR, // vector 20 SCI2 receive
Default_Dummy_ISR, // vector 19 SCI2 error
Default_Dummy_ISR, // vector 18 SCI1 transmit
Default_Dummy_ISR, // vector 17 SCI1 receive
Default_Dummy_ISR, // vector 16 SCI1 error
#endif /* MT_TASK && F8W_NWK_PRESENT */
这儿的串口中断似乎是指板子上和Rx,Tx相连的串口
请问在空中接受到一个数据包后,接着是中断处理吗,对应上面哪个中断vector?
还有在传输包时也是采用中断处理吗,对应上面哪个中断vector?谢谢!
|