ao_ir_task.h
Task interrupt

Notes

This module declares functions for controlling the task interrupts as well as a callback function for the interrupt handlers.

Include

ao_core.h
ao_ir_cs.h

Functions

ao_ir_task

void ao_ir_task(ao_core_t c);

Notifies the kernel of a task switch. This function is the callback for the task interrupt handlers. It is implemented by the ao_task_sched.h module.

ao_ir_task_enable

ao_ir_task_disable

#define ao_ir_task_enable( c) ao_ir_cs1_enable()
#define ao_ir_task_disable(c) ao_ir_cs1_disable()

Enables or disables the interrupt on the specified processor core.

ao_ir_task_request

ao_ir_task_reply

#define ao_ir_task_request(c) ao_ir_cs1_request()
#define ao_ir_task_reply(  c) ao_ir_cs1_reply()

Requests the interrupt or replies thereto on the specified processor core.

ao_ir_task_is_pending

#define ao_ir_task_is_pending(c) ao_ir_cs1_is_pending()

Determines whether the interrupt is pending on the specified processor core.