当前位置: 首页>>代码示例>>C++>>正文


C++ IRQ_EXIT函数代码示例

本文整理汇总了C++中IRQ_EXIT函数的典型用法代码示例。如果您正苦于以下问题:C++ IRQ_EXIT函数的具体用法?C++ IRQ_EXIT怎么用?C++ IRQ_EXIT使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了IRQ_EXIT函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: Timer0Entry

void Timer0Entry(void)
{
    IRQ_ENTRY();
    dummy = inr(TC0_SR);
    os_handler(0);
    IRQ_EXIT();
}
开发者ID:MaurodeLyon,项目名称:Embedded-Software-Ontwikkeling,代码行数:7,代码来源:ostimer_s3c4510b.c

示例2: EXTI9_5_IRQHandler

void EXTI9_5_IRQHandler(void) {
    IRQ_ENTER(EXTI9_5_IRQn);
    Handle_EXTI_Irq(5);
    Handle_EXTI_Irq(6);
    Handle_EXTI_Irq(7);
    Handle_EXTI_Irq(8);
    Handle_EXTI_Irq(9);
    IRQ_EXIT(EXTI9_5_IRQn);
}
开发者ID:c-goosen,项目名称:micropython,代码行数:9,代码来源:stm32_it.c

示例3: EXTI15_10_IRQHandler

void EXTI15_10_IRQHandler(void) {
    IRQ_ENTER(EXTI15_10_IRQn);
    Handle_EXTI_Irq(10);
    Handle_EXTI_Irq(11);
    Handle_EXTI_Irq(12);
    Handle_EXTI_Irq(13);
    Handle_EXTI_Irq(14);
    Handle_EXTI_Irq(15);
    IRQ_EXIT(EXTI15_10_IRQn);
}
开发者ID:c-goosen,项目名称:micropython,代码行数:10,代码来源:stm32_it.c

示例4: OTG_HS_WKUP_IRQHandler

/**
  * @brief  This function handles USB OTG HS Wakeup IRQ Handler.
  * @param  None
  * @retval None
  */
void OTG_HS_WKUP_IRQHandler(void) {
    IRQ_ENTER(OTG_HS_WKUP_IRQn);

  OTG_CMD_WKUP_Handler(&pcd_hs_handle);

  /* Clear EXTI pending Bit*/
  __HAL_USB_HS_EXTI_CLEAR_FLAG();

    IRQ_EXIT(OTG_HS_WKUP_IRQn);
}
开发者ID:c-goosen,项目名称:micropython,代码行数:15,代码来源:stm32_it.c

示例5: EmacIrqEntry

void EmacIrqEntry(void)
{
    IRQ_ENTRY();
#ifdef NUT_PERFMON
    sig_EMAC.ir_count++;
#endif
    if (sig_EMAC.ir_handler) {
        (sig_EMAC.ir_handler) (sig_EMAC.ir_arg);
    }
    IRQ_EXIT();
}
开发者ID:gaopindianzi,项目名称:relay_nutos_lib_sources,代码行数:11,代码来源:ih_at91emac.c

示例6: SyncSerialIrqEntry

void SyncSerialIrqEntry(void)
{
    IRQ_ENTRY();
#ifdef NUT_PERFMON
    sig_SSC.ir_count++;
#endif
    if (sig_SSC.ir_handler) {
        (sig_SSC.ir_handler) (sig_SSC.ir_arg);
    }
    IRQ_EXIT();
}
开发者ID:gaopindianzi,项目名称:relay_nutos_lib_sources,代码行数:11,代码来源:ih_at91ssc.c

示例7: PortIoIrqEntry

void PortIoIrqEntry(void)
{
    IRQ_ENTRY();
#ifdef NUT_PERFMON
    sig_PIOB.ir_count++;
#endif
    if (sig_PIOB.ir_handler) {
        (sig_PIOB.ir_handler) (sig_PIOB.ir_arg);
    }
    IRQ_EXIT();
}
开发者ID:niziak,项目名称:ethernut-4.9,代码行数:11,代码来源:ih_at91piob.c

示例8: SoftwareIrqEntry

void SoftwareIrqEntry(void)
{
    IRQ_ENTRY();
#ifdef NUT_PERFMON
    sig_SWIRQ.ir_count++;
#endif
    if (sig_SWIRQ.ir_handler) {
        (sig_SWIRQ.ir_handler) (sig_SWIRQ.ir_arg);
    }
    IRQ_EXIT();
}
开发者ID:gaopindianzi,项目名称:relay_nutos_lib_sources,代码行数:11,代码来源:ih_at91swirq.c

示例9: WatchdogIrqEntry

void WatchdogIrqEntry(void)
{
    IRQ_ENTRY();
#ifdef NUT_PERFMON
    sig_WDI.ir_count++;
#endif
    if (sig_WDI.ir_handler) {
        (sig_WDI.ir_handler) (sig_WDI.ir_arg);
    }
    IRQ_EXIT();
}
开发者ID:Astralix,项目名称:ethernut32,代码行数:11,代码来源:ih_at91wdi.c

示例10: Interrupt0Entry

void Interrupt0Entry(void)
{
    IRQ_ENTRY();
#ifdef NUT_PERFMON
    sig_INTERRUPT0.ir_count++;
#endif
    if (sig_INTERRUPT0.ir_handler) {
        (sig_INTERRUPT0.ir_handler) (sig_INTERRUPT0.ir_arg);
    }
    IRQ_EXIT();
}
开发者ID:Astralix,项目名称:ethernut32,代码行数:11,代码来源:ih_at91irq0.c

示例11: Uart0IrqEntry

void Uart0IrqEntry(void)
{
    IRQ_ENTRY();
#ifdef NUT_PERFMON
    sig_UART0.ir_count++;
#endif
    if (sig_UART0.ir_handler) {
        (sig_UART0.ir_handler) (sig_UART0.ir_arg);
    }
    IRQ_EXIT();
}
开发者ID:MaurodeLyon,项目名称:Embedded-Software-Ontwikkeling,代码行数:11,代码来源:ih_at91uart0.c

示例12: SIGNAL

/*!
 * \brief MACB interrupt entry.
 */
static SIGNAL(MacbIrqEntry)
{
    IRQ_ENTRY();
#ifdef NUT_PERFMON
    sig_MACB.ir_count++;
#endif
    if (sig_MACB.ir_handler) {
        (sig_MACB.ir_handler) (sig_MACB.ir_arg);
    }
    IRQ_EXIT();
}
开发者ID:Astralix,项目名称:ethernut32,代码行数:14,代码来源:ih_macb.c

示例13: TwoWireIrqEntry

void TwoWireIrqEntry(void)
{
    IRQ_ENTRY();
#ifdef NUT_PERFMON
    sig_TWI.ir_count++;
#endif
    if (sig_TWI.ir_handler) {
        (sig_TWI.ir_handler) (sig_TWI.ir_arg);
    }
    IRQ_EXIT();
}
开发者ID:Astralix,项目名称:ethernut32,代码行数:11,代码来源:ih_at91twi.c

示例14: TimerCounter0IrqEntry

void TimerCounter0IrqEntry(void)
{
    IRQ_ENTRY();
#ifdef NUT_PERFMON
    sig_TC0.ir_count++;
#endif
    dummy = inr(TC0_SR);
    if (sig_TC0.ir_handler) {
        (sig_TC0.ir_handler) (sig_TC0.ir_arg);
    }
    IRQ_EXIT();
}
开发者ID:gaopindianzi,项目名称:relay_nutos_lib_sources,代码行数:12,代码来源:ih_at91tc0.c

示例15: FLASH_IRQHandler

// Handle a flash (erase/program) interrupt.
void FLASH_IRQHandler(void) {
    IRQ_ENTER(FLASH_IRQn);
    // This calls the real flash IRQ handler, if needed
    /*
    uint32_t flash_cr = FLASH->CR;
    if ((flash_cr & FLASH_IT_EOP) || (flash_cr & FLASH_IT_ERR)) {
        HAL_FLASH_IRQHandler();
    }
    */
    // This call the storage IRQ handler, to check if the flash cache needs flushing
    storage_irq_handler();
    IRQ_EXIT(FLASH_IRQn);
}
开发者ID:c-goosen,项目名称:micropython,代码行数:14,代码来源:stm32_it.c


注:本文中的IRQ_EXIT函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。