LAT Hologramm-Software 2.0
Loading...
Searching...
No Matches
Functions | Variables
spindle_control.c File Reference
#include "grbl.h"
Include dependency graph for spindle_control.c:

Go to the source code of this file.

Functions

void spindle_init ()
 
uint8_t spindle_get_state ()
 
void spindle_stop ()
 
void spindle_set_speed (uint8_t pwm_value)
 
uint8_t spindle_compute_pwm_value (float rpm)
 
void spindle_set_state (uint8_t state, float rpm)
 
void spindle_sync (uint8_t state, float rpm)
 

Variables

static float pwm_gradient
 

Function Documentation

◆ spindle_compute_pwm_value()

uint8_t spindle_compute_pwm_value ( float  rpm)

Definition at line 192 of file spindle_control.c.

◆ spindle_get_state()

uint8_t spindle_get_state ( )

Definition at line 57 of file spindle_control.c.

◆ spindle_init()

void spindle_init ( )

Definition at line 30 of file spindle_control.c.

◆ spindle_set_speed()

void spindle_set_speed ( uint8_t  pwm_value)

Definition at line 122 of file spindle_control.c.

◆ spindle_set_state()

void spindle_set_state ( uint8_t  state,
float  rpm 
)

Definition at line 226 of file spindle_control.c.

◆ spindle_stop()

void spindle_stop ( )

Definition at line 98 of file spindle_control.c.

◆ spindle_sync()

void spindle_sync ( uint8_t  state,
float  rpm 
)

Definition at line 277 of file spindle_control.c.

Variable Documentation

◆ pwm_gradient

float pwm_gradient
static

Definition at line 26 of file spindle_control.c.