コード例 #1
0
static void _bsp_io_pcb_shm_rx_isr
   (
      /* [IN] the info structure */
      pointer     handle
   )
{
    IO_PCB_SHM_INFO_STRUCT_PTR    info_ptr = (IO_PCB_SHM_INFO_STRUCT_PTR)handle;

   _qintc_clear_sw_interrupt(info_ptr->INIT.RX_VECTOR);
   _io_pcb_shm_rx_isr(handle);

}
コード例 #2
0
ファイル: pcb_shm_vybrid_a5.c プロジェクト: Vinhuit/Freescale
static void _bsp_io_pcb_shm_rx_isr
    (
        /* [IN] the info structure */
        void   *handle
    )
{
    IO_PCB_SHM_INFO_STRUCT_PTR    info_ptr = (IO_PCB_SHM_INFO_STRUCT_PTR)handle;

    /* clear the inter-core interrupt */
#if PSP_MQX_CPU_IS_VYBRID_A5
    MSCM_IRCP0IR = (1 << (info_ptr->INIT.RX_VECTOR - GIC_CPU_to_CPU_int0));
#else
    MSCM_IRCP1IR = (1 << (info_ptr->INIT.RX_VECTOR - NVIC_CPU_to_CPU_int0));
#endif
    _io_pcb_shm_rx_isr(handle);
}