#include "esos.h"
#include "esos_irq.h"
#include "esos_pic24.h"
Go to the source code of this file.
Definition in file esos_pic24_irq.h.
#define ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS | ( | ) |
Disables all registered user interrupts.
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
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 |
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
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 |
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
Definition at line 599 of file esos_pic24_irq.h.
#define ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS | ( | ) |
Enables all registered user interrupts.
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
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 |
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 637 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_AD1 |
AD1 Conversion Complete Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 138 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_CN |
Input Change Notification Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 350 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_IC1 |
Input Capture Channel 1 Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 259 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_IC2 |
Input Capture Channel 2 Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 228 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_IC7 |
Input Capture Channel 7 Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 320 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_IC8 |
Input Capture Channel 8 Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 305 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_INT0 |
External IRQ 0 Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 274 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_INT1 |
External IRQ 1 Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 335 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_INT2 |
External IRQ 2 Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 289 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_MI2C1 |
I2C1 Master Event Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 365 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_OC1 |
Output Compare Channel 1 Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 243 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_OC2 |
Output Compare Channel 2 Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 213 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_SI2C1 |
I2C1 Slave Event Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 380 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_SPI1 |
SP1 Event Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 153 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_SPI1E |
SP1 Exception Event Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 168 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_T2 |
Timer 2 expiration Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 198 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_T3 |
Timer 3 expiration Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 183 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_U1E |
UART1 Error Event Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 434 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_U1RX |
UART1 RX Event Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 417 of file esos_pic24_irq.h.
#define ESOS_IRQ_PIC24_U1TX |
UART1 TX Event Interrupt (User interrupt descriptor)
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
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 |
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
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 |
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
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 |
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
Definition at line 520 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 |
ESOS_REGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
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 |
Hardware interrupt descriptors are found in the file esos_hw_irq.h where hw is the name of the chip for the ESOS port has been written.
ESOS_UNREGISTER_PIC24_USER_INTERRUPT
ESOS_ENABLE_PIC24_USER_INTERRUPT
ESOS_DISABLE_PIC24_USER_INTERRUPT
ESOS_ENABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_DISABLE_ALL_PIC24_USER_INTERRUPTS
ESOS_IS_PIC24_USER_INTERRUPT_ENABLED
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.