|
PIC24 Support Libraries
|
This file contains macros, prototypes, and definitions for Microchip PIC24 family specific interrupts on ESOS. More...
Go to the source code of this file.
This file contains macros, prototypes, and definitions for Microchip PIC24 family specific interrupts on ESOS.
Definition in file esos_pic24_irq.h.
| #define ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS | ( | ) |
Disables all registered user interrupts.
Definition at line 542 of file esos_pic24_irq.h.
| #define ESOS_DISABLE_PIC24_USER_INTERRUPT | ( | desc) |
Disables the user interrupt denoted by the interrupt descriptor
| desc | Descriptor of the hardware interrupt |
Definition at line 656 of file esos_pic24_irq.h.
| #define ESOS_DOES_PIC24_USER_INTERRUPT_NEED_SERVICING | ( | desc) |
Queries the "flag" state of user interrupt denoted by the interrupt descriptor
| desc | Descriptor of the hardware interrupt |
| TRUE | If the user interrupt is needs to be serviced |
| FALSE | Otherwise |
Definition at line 599 of file esos_pic24_irq.h.
| #define ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS | ( | ) |
Enables all registered user interrupts.
Definition at line 558 of file esos_pic24_irq.h.
| #define ESOS_ENABLE_PIC24_USER_INTERRUPT | ( | desc) |
Enables the user interrupt denoted by the interrupt descriptor
| desc | Descriptor of the hardware interrupt |
Definition at line 637 of file esos_pic24_irq.h.
Referenced by user_init().
| #define ESOS_IRQ_PIC24_AD1 |
AD1 Conversion Complete Interrupt (User interrupt descriptor)
Definition at line 138 of file esos_pic24_irq.h.
| #define ESOS_IRQ_PIC24_CN |
Input Change Notification Interrupt (User interrupt descriptor)
Definition at line 350 of file esos_pic24_irq.h.
| #define ESOS_IRQ_PIC24_IC1 |
Input Capture Channel 1 Interrupt (User interrupt descriptor)
Definition at line 259 of file esos_pic24_irq.h.
| #define ESOS_IRQ_PIC24_IC2 |
Input Capture Channel 2 Interrupt (User interrupt descriptor)
Definition at line 228 of file esos_pic24_irq.h.
| #define ESOS_IRQ_PIC24_IC7 |
Input Capture Channel 7 Interrupt (User interrupt descriptor)
Definition at line 320 of file esos_pic24_irq.h.
| #define ESOS_IRQ_PIC24_IC8 |
Input Capture Channel 8 Interrupt (User interrupt descriptor)
Definition at line 305 of file esos_pic24_irq.h.
| #define ESOS_IRQ_PIC24_INT0 |
External IRQ 0 Interrupt (User interrupt descriptor)
Definition at line 274 of file esos_pic24_irq.h.
| #define ESOS_IRQ_PIC24_INT1 |
External IRQ 1 Interrupt (User interrupt descriptor)
Definition at line 335 of file esos_pic24_irq.h.
Referenced by user_init().
| #define ESOS_IRQ_PIC24_INT2 |
External IRQ 2 Interrupt (User interrupt descriptor)
Definition at line 289 of file esos_pic24_irq.h.
| #define ESOS_IRQ_PIC24_MI2C1 |
I2C1 Master Event Interrupt (User interrupt descriptor)
Definition at line 365 of file esos_pic24_irq.h.
| #define ESOS_IRQ_PIC24_OC1 |
Output Compare Channel 1 Interrupt (User interrupt descriptor)
Definition at line 243 of file esos_pic24_irq.h.
| #define ESOS_IRQ_PIC24_OC2 |
Output Compare Channel 2 Interrupt (User interrupt descriptor)
Definition at line 213 of file esos_pic24_irq.h.
| #define ESOS_IRQ_PIC24_SI2C1 |
I2C1 Slave Event Interrupt (User interrupt descriptor)
Definition at line 380 of file esos_pic24_irq.h.
| #define ESOS_IRQ_PIC24_SPI1 |
SP1 Event Interrupt (User interrupt descriptor)
Definition at line 153 of file esos_pic24_irq.h.
| #define ESOS_IRQ_PIC24_SPI1E |
SP1 Exception Event Interrupt (User interrupt descriptor)
Definition at line 168 of file esos_pic24_irq.h.
| #define ESOS_IRQ_PIC24_T2 |
Timer 2 expiration Interrupt (User interrupt descriptor)
Definition at line 198 of file esos_pic24_irq.h.
| #define ESOS_IRQ_PIC24_T3 |
Timer 3 expiration Interrupt (User interrupt descriptor)
Definition at line 183 of file esos_pic24_irq.h.
| #define ESOS_IRQ_PIC24_U1E |
UART1 Error Event Interrupt (User interrupt descriptor)
Definition at line 434 of file esos_pic24_irq.h.
| #define ESOS_IRQ_PIC24_U1RX |
UART1 RX Event Interrupt (User interrupt descriptor)
Definition at line 417 of file esos_pic24_irq.h.
| #define ESOS_IRQ_PIC24_U1TX |
UART1 TX Event Interrupt (User interrupt descriptor)
Definition at line 401 of file esos_pic24_irq.h.
| #define ESOS_IS_PIC24_USER_INTERRUPT_ENABLED | ( | desc) |
Queries the enabled state of user interrupt denoted by the interrupt descriptor
| desc | Descriptor of the hardware interrupt |
| TRUE | If the user interrupt is currently enabled |
| FALSE | If the user interrupt is currently disabled |
Definition at line 578 of file esos_pic24_irq.h.
| #define ESOS_MARK_PIC24_USER_INTERRUPT_SERVICED | ( | desc) |
Tells ESOS to mark the user interrupt denoted by the interrupt descriptor as being serviced
| desc | Descriptor of the hardware interrupt |
Definition at line 618 of file esos_pic24_irq.h.
| #define ESOS_REGISTER_PIC24_USER_INTERRUPT | ( | desc, | |
| ipl, | |||
| p2f | |||
| ) |
Registers the user interrupt denoted by the interrupt descriptor
| desc | Descriptor of the hardware interrupt |
| ipl | Interrupt Priority Level (IPL) for the interrupt being registered |
| p2f | Pointer to function to serve as the ISR. Function must have void arguments and return void |
Definition at line 520 of file esos_pic24_irq.h.
Referenced by user_init().
| #define ESOS_UNREGISTER_PIC24_USER_INTERRUPT | ( | desc) |
Unregisters the user interrupt denoted by the interrupt descriptor
| desc | Descriptor of the hardware interrupt |
Definition at line 493 of file esos_pic24_irq.h.
| #define ESOS_USER_INTERRUPT | ( | desc) |
Declaration of an ESOS interrupt.
This macro is used to declare an ESOS user inerrupt. All ESOS user interrupt tasks must be declared with this macro.
| desc | Descriptor of the hardware interrupt |
Definition at line 75 of file esos_pic24_irq.h.
| #define ESOS_USER_IRQ_LEVEL1 |
Highest priority user interrupt level on PIC24 Family
Definition at line 93 of file esos_pic24_irq.h.
Referenced by user_init().
| #define ESOS_USER_IRQ_LEVEL2 |
Second-highest priority user interrupt level on PIC24 Family
Definition at line 99 of file esos_pic24_irq.h.
| #define ESOS_USER_IRQ_LEVEL3 |
Third-highest priority user interrupt level on PIC24 Family
Definition at line 105 of file esos_pic24_irq.h.
| #define ESOS_USER_IRQ_LEVEL4 |
Lowest priority user interrupt level on PIC24 Family
Definition at line 111 of file esos_pic24_irq.h.
1.8.4