#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include "hal.h"
#include "nuts_bolts.h"
#include "tool_change.h"
#include "override.h"
#include "protocol.h"
#include "machine_limits.h"
#include "report.h"
#include "state_machine.h"
#include "nvs_buffer.h"
#include "stream.h"
Data Structures | |
union | driver_startup_t |
struct | core_task |
Macros | |
#define | CORE_TASK_POOL_SIZE 30 |
Typedefs | |
typedef struct core_task | core_task_t |
Functions | |
void | dummy_bool_handler (bool arg) |
void | reset_handler (void) |
int | grbl_enter (void) |
ISR_CODE bool ISR_FUNC() | task_add_delayed (foreground_task_ptr fn, void *data, uint32_t delay_ms) |
void | task_delete (foreground_task_ptr fn, void *data) |
ISR_CODE bool ISR_FUNC() | task_add_systick (foreground_task_ptr fn, void *data) |
void | task_delete_systick (foreground_task_ptr fn, void *data) |
ISR_CODE bool ISR_FUNC() | task_add_immediate (foreground_task_ptr fn, void *data) |
Enqueue a function to be called once by the foreground process. More... | |
Variables | |
struct system | sys = {0} |
System global variable structure. More... | |
grbl_t | grbl |
grbl_hal_t | hal |
Global HAL struct. More... | |
#define CORE_TASK_POOL_SIZE 30 |
typedef struct core_task core_task_t |
void dummy_bool_handler | ( | bool | arg | ) |
int grbl_enter | ( | void | ) |
void reset_handler | ( | void | ) |
ISR_CODE bool ISR_FUNC() task_add_delayed | ( | foreground_task_ptr | fn, |
void * | data, | ||
uint32_t | delay_ms | ||
) |
ISR_CODE bool ISR_FUNC() task_add_immediate | ( | foreground_task_ptr | fn, |
void * | data | ||
) |
Enqueue a function to be called once by the foreground process.
fn | pointer to a foreground_task_ptr type of function. |
data | pointer to data to be passed to the callee. |
ISR_CODE bool ISR_FUNC() task_add_systick | ( | foreground_task_ptr | fn, |
void * | data | ||
) |
void task_delete | ( | foreground_task_ptr | fn, |
void * | data | ||
) |
void task_delete_systick | ( | foreground_task_ptr | fn, |
void * | data | ||
) |
grbl_t grbl |
grbl_hal_t hal |
Global HAL struct.
struct system sys = {0} |
System global variable structure.