Subversion Repositories svn.mios32

Rev

Rev 2644 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2644 Rev 2647
Line 1... Line 1...
1
// $Id: mios32_irq.h 1180 2011-04-19 23:24:32Z tk $
1
// $Id: mios32_irq.h 2647 2019-01-08 11:34:00Z Antichambre $
2
/*
2
/*
3
 * This file collects all interrupt priorities and provides prototypes to
3
 * This file collects all interrupt priorities and provides prototypes to
4
 * MIOS32_IRQ_* functions
4
 * MIOS32_IRQ_* functions
5
 *
5
 *
6
 * ==========================================================================
6
 * ==========================================================================
Line 65... Line 65...
65
// UART IRQs used by MIOS32_UART
65
// UART IRQs used by MIOS32_UART
66
// typically called each 320 mS if full MIDI bandwidth is used
66
// typically called each 320 mS if full MIDI bandwidth is used
67
// priority should be high to avoid data loss
67
// priority should be high to avoid data loss
68
#define MIOS32_IRQ_UART_PRIORITY        MIOS32_IRQ_PRIO_HIGHEST
68
#define MIOS32_IRQ_UART_PRIORITY        MIOS32_IRQ_PRIO_HIGHEST
69
69
-
 
70
// CAN IRQs used by MIOS32_CAN
-
 
71
// This interrupt can run at low priority (but higher than RTOS tasks)
-
 
72
// The interrupt is called at least each mS
-
 
73
#define MIOS32_IRQ_CAN_PRIORITY        MIOS32_IRQ_PRIO_MID
70
74
71
// USB provides flow control - this interrupt can run at low priority (but higher than RTOS tasks)
75
// USB provides flow control - this interrupt can run at low priority (but higher than RTOS tasks)
72
// The interrupt is called at least each mS and takes ca. 1 uS to service the SOF (Start of Frame) flag
76
// The interrupt is called at least each mS and takes ca. 1 uS to service the SOF (Start of Frame) flag
73
77
74
#define MIOS32_IRQ_USB_PRIORITY         MIOS32_IRQ_PRIO_MID
78
#define MIOS32_IRQ_USB_PRIORITY         MIOS32_IRQ_PRIO_MID