Inter Processor Communications. More...
#include "ipc.h"#include "system/system.h"#include "system/exceptions.h"#include "FreeRTOS.h"#include "semphr.h"#include "utils/log.h"Functions | |
| void | ipc_initialize () |
| Initializes the IPC Interface. | |
| int | ipc_request (ipc_message *message, ipc_async_handler_t handler, void *params) |
| Puts a request in and gets the response. | |
Inter Processor Communications.
IPC interface between Broadway and Starlet. Designed to implement IOS's protocol.
| void ipc_initialize | ( | ) |
Initializes the IPC Interface.
Usually called through ios_initialize
Initializes the IPC interface. Setups the FreeRTOS Mutexes and data structures for communications.
| int ipc_request | ( | ipc_message * | message, |
| ipc_async_handler_t | handler, | ||
| void * | params ) |
Puts a request in and gets the response.
Puts a request into the IPC interface. Then after its completion, the handler will be called from the interrupt service.
| message | Data structure to the message to send to Starlet. |
| handler | Handler called from interrupt service upon compilation. |
| params | Pointer passed to the handler. |