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

Go to the source code of this file.

Functions

bool idle_task_start (void)
void idle_task_set_active (bool on)
void idle_task_command (mode_command_t command)
const idle_t * idle_task_state (void)

Function Documentation

◆ idle_task_command()

void idle_task_command ( mode_command_t command)

Definition at line 131 of file idle_task.c.

References commands, EV_CMD, osMessageQueuePut(), osOK, osThreadFlagsSet(), and thread.

Referenced by app_command().

◆ idle_task_set_active()

void idle_task_set_active ( bool on)

Definition at line 124 of file idle_task.c.

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

Referenced by app_set_state().

◆ idle_task_start()

bool idle_task_start ( void )

Definition at line 113 of file idle_task.c.

References commands, idle_task(), NULL, osMessageQueueNew(), osPriorityBelowNormal, osThreadNew(), and thread.

Referenced by app_start().

◆ idle_task_state()

const idle_t * idle_task_state ( void )

Definition at line 138 of file idle_task.c.

References idle.