grblHAL core  20250514
protocol.h File Reference
#include "task.h"

Go to the source code of this file.

Data Structures

union  fg_task_ptr
 

Macros

#define LINE_BUFFER_SIZE   257
 
#define protocol_enqueue_foreground_task(fn, data)   task_run_on_startup(fn, data)
 

Functions

bool protocol_main_loop (void)
 
bool protocol_execute_realtime (void)
 
bool protocol_exec_rt_system (void)
 
void protocol_execute_noop (uint_fast16_t state)
 
void protocol_auto_cycle_start (void)
 
bool protocol_buffer_synchronize (void)
 
bool protocol_enqueue_realtime_command (char c)
 
bool protocol_enqueue_gcode (char *data)
 
void protocol_message (char *message)
 

Macro Definition Documentation

◆ LINE_BUFFER_SIZE

#define LINE_BUFFER_SIZE   257

◆ protocol_enqueue_foreground_task

#define protocol_enqueue_foreground_task (   fn,
  data 
)    task_run_on_startup(fn, data)

Function Documentation

◆ protocol_auto_cycle_start()

void protocol_auto_cycle_start ( void  )

◆ protocol_buffer_synchronize()

bool protocol_buffer_synchronize ( void  )

◆ protocol_enqueue_gcode()

bool protocol_enqueue_gcode ( char *  data)

◆ protocol_enqueue_realtime_command()

bool protocol_enqueue_realtime_command ( char  c)

◆ protocol_exec_rt_system()

bool protocol_exec_rt_system ( void  )

◆ protocol_execute_noop()

void protocol_execute_noop ( uint_fast16_t  state)

◆ protocol_execute_realtime()

bool protocol_execute_realtime ( void  )

◆ protocol_main_loop()

bool protocol_main_loop ( void  )

◆ protocol_message()

void protocol_message ( char *  message)