本文整理汇总了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();
}
示例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);
}
示例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);
}
示例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);
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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);
}