eint.c File Reference
Include dependency graph for eint.c:

Data Structures | |
struct | eint3_entry |
Linked list structure of EINTs (External interrupts) More... | |
Typedefs | |
typedef struct eint3_entry | eint3_entry_t |
Linked list structure of EINTs (External interrupts) More... | |
Functions | |
void | EINT3_IRQHandler (void) |
Actual ISR Handler (mapped to startup file's interrupt vector function name) More... | |
void | eint3_enable_port0 (uint8_t pin_num, eint_intr_t type, void_func_t func) |
void | eint3_enable_port2 (uint8_t pin_num, eint_intr_t type, void_func_t func) |
Typedef Documentation
typedef struct eint3_entry eint3_entry_t |
Linked list structure of EINTs (External interrupts)
Function Documentation
void eint3_enable_port0 | ( | uint8_t | pin_num, |
eint_intr_t | type, | ||
void_func_t | func | ||
) |
Enables the callback when the interrupt occurs. The entry added last is checked first if multiple interrupts occur at the same time. Each call will allocate 16 bytes for the interrupt service entry.
- Note
- EINT3 shares interrupt with Port0 and Port2
- Parameters
-
[in] pin_num The pin number from 0-31. [in] type The type of interrupt. [in] func The callback function.
void eint3_enable_port2 | ( | uint8_t | pin_num, |
eint_intr_t | type, | ||
void_func_t | func | ||
) |
Enables the callback when the interrupt occurs. The entry added last is checked first if multiple interrupts occur at the same time. Each call will allocate 16 bytes for the interrupt service entry.
- Note
- EINT3 shares interrupt with Port0 and Port2
- Parameters
-
[in] pin_num The pin number from 0-31. [in] type The type of interrupt. [in] func The callback function.
void EINT3_IRQHandler | ( | void | ) |
Actual ISR Handler (mapped to startup file's interrupt vector function name)