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.
Macros | |
#define | ESOS_USER_INTERRUPT(desc) |
#define | ESOS_USER_IRQ_LEVEL1 |
#define | ESOS_USER_IRQ_LEVEL2 |
#define | ESOS_USER_IRQ_LEVEL3 |
#define | ESOS_USER_IRQ_LEVEL4 |
#define | ESOS_IRQ_PIC24_U1TX |
#define | ESOS_IRQ_PIC24_U1RX |
#define | ESOS_IRQ_PIC24_U1E |
#define | ESOS_UNREGISTER_PIC24_USER_INTERRUPT(desc) |
#define | ESOS_REGISTER_PIC24_USER_INTERRUPT(desc, ipl, p2f) |
#define | ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS() |
#define | ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS() |
#define | ESOS_IS_PIC24_USER_INTERRUPT_ENABLED(desc) |
#define | ESOS_DOES_PIC24_USER_INTERRUPT_NEED_SERVICING(desc) |
#define | ESOS_MARK_PIC24_USER_INTERRUPT_SERVICED(desc) |
#define | ESOS_ENABLE_PIC24_USER_INTERRUPT(desc) |
#define | ESOS_DISABLE_PIC24_USER_INTERRUPT(desc) |
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 2193 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 2307 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 2250 of file esos_pic24_irq.h.
#define ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS | ( | ) |
Enables all registered user interrupts.
Definition at line 2209 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 2288 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_U1E |
UART1 Error Event Interrupt (User interrupt descriptor)
Definition at line 1429 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_U1RX |
UART1 RX Event Interrupt (User interrupt descriptor)
Definition at line 1412 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_U1TX |
UART1 TX Event Interrupt (User interrupt descriptor)
Definition at line 1396 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 2229 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 2269 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 2171 of file esos_pic24_irq.h.
#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 2144 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.
#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.