STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
sensors_task.h File Reference
#include <stdbool.h>
#include "sensors_core.h"
Include dependency graph for sensors_task.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool sensors_task_start (void)
void sensors_task_set_active (bool on)
void sensors_task_snapshot (sensors_core_t *out)

Function Documentation

◆ sensors_task_set_active()

void sensors_task_set_active ( bool on)

Definition at line 88 of file sensors_task.c.

References EV_MODE, osThreadFlagsSet(), thread, and want_active.

Referenced by app_set_state(), and app_start().

◆ sensors_task_snapshot()

void sensors_task_snapshot ( sensors_core_t * out)

Definition at line 69 of file sensors_task.c.

References core, osMutexAcquire(), osMutexRelease(), osWaitForever, and snapshot_lock.

◆ sensors_task_start()

bool sensors_task_start ( void )