|
AFBR-S50 API Reference Manual
v1.6.5
AFBR-S50 Time-of-Flight Sensor SDK for Embedded Software
|
AFBR-S50 Explorer Application - Tasks. More...

Enumerations | |
| enum | explorer_task_t { TASK_ERROR = 7U, TASK_HNDL_CMD = 6U, TASK_SEND_DAT = 2U, TASK_EVAL_DAT = 1U, TASK_IDLE = 0U } |
Functions | |
| status_t | ExplorerApp_InitTasks () |
| Initializes the scheduler tasks. More... | |
| status_t | ExplorerApp_MeasurementReadyCallback (status_t status, argus_hnd_t *argus) |
| Callback function after measurement cycle was finished. More... | |
| void | ExplorerApp_SwitchContext (void) |
| Switches the scheduler task context. More... | |
AFBR-S50 Explorer Application - Tasks.
Contains the scheduler task definitions for the AFBR-S50 Explorer Application.
A simple task scheduler is used to host the Argus API and a simple systems communication interface is implemented to connect to the AFBR-S50 Explorer GUI. The latter is an evaluation software for the Argus time-of-flight devices.
| enum explorer_task_t |
Explorer Application Task numbers (and priority!).
| status_t ExplorerApp_InitTasks | ( | ) |
| status_t ExplorerApp_MeasurementReadyCallback | ( | status_t | status, |
| argus_hnd_t * | argus | ||
| ) |
Callback function after measurement cycle was finished.
Pass this to the Argus_StartMeasurementTimer and Argus_TriggerMeasurement functions.
| status | The current API measurement status. |
| argus | The AFBR-S50-API instance that invokes the callback. |
| void ExplorerApp_SwitchContext | ( | void | ) |
Switches the scheduler task context.
Pauses the execution of the current task and lets the lower priority tasks run. Useful when current task depends on any lower priority task.