Bottom Half Processor module for generic IRQ offloading.
More...
Bottom Half Processor module for generic IRQ offloading.
- Author
- José I. Alamos jose..nosp@m.alam.nosp@m.os@ha.nosp@m.w-ha.nosp@m.mburg.nosp@m..de
◆ bhp_event_init()
Init a Bottom Half Processor to be used with events.
- Parameters
-
[in] | bhp_ev | The Event based Bottom Half Processor descriptor |
[in] | evq | The target event queue to process the Bottom Half Processor |
[in] | cb | Bottom Half Processor callback |
[in] | ctx | Context of cb |
◆ bhp_event_isr_cb()
void bhp_event_isr_cb |
( |
void * |
bhp_event_ctx | ) |
|
Event based Bottom Half Processor ISR callback To be called from ISR in order to trigger the Bottom Half Processor.
- Parameters
-
[in] | bhp_event_ctx | Context (bhp_event_t) of the event based Bottom Half Processor. |