![]() |
Speeduino
|
#include <Arduino.h>#include "idle.h"#include "maths.h"#include "timers.h"#include "preprocessor.h"#include "src/PID_v1/PID_v1.h"#include "units.h"#include "globals.h"#include "src/pins/fastOutputPin.h"Classes | |
| struct | StepperIdle |
Macros | |
| #define | STEPPER_FORWARD 0 |
| #define | STEPPER_BACKWARD 1 |
| #define | STEPPER_POWER_WHEN_ACTIVE 0 |
| #define | STEPPER_LESS_AIR_DIRECTION() ((configPage9.iacStepperInv == 0) ? STEPPER_BACKWARD : STEPPER_FORWARD) |
| #define | STEPPER_MORE_AIR_DIRECTION() ((configPage9.iacStepperInv == 0) ? STEPPER_FORWARD : STEPPER_BACKWARD) |
Enumerations | |
| enum | StepperStatus { SOFF , STEPPING , COOLING } |
Functions | |
| static void | enableIdle (void) |
| static void | initialiseIdleUpOutput (void) |
| void | initialiseIdle (bool forcehoming) |
| static uint8_t | checkForStepping (void) |
| static void | doStep (void) |
| static uint8_t | isStepperHomed (void) |
| void | idleControl (void) |
| void | disableIdle (void) |
| void | idleInterrupt (void) |
| #define STEPPER_BACKWARD 1 |
| #define STEPPER_FORWARD 0 |
| #define STEPPER_LESS_AIR_DIRECTION | ( | ) | ((configPage9.iacStepperInv == 0) ? STEPPER_BACKWARD : STEPPER_FORWARD) |
| #define STEPPER_MORE_AIR_DIRECTION | ( | ) | ((configPage9.iacStepperInv == 0) ? STEPPER_FORWARD : STEPPER_BACKWARD) |
| #define STEPPER_POWER_WHEN_ACTIVE 0 |














|
constexpr |
| integerPID idlePID& currentStatus |
The master global "live" status struct. Contains all values that are updated frequently and used across modules
|
static |
|
static |
|
static |
|
static |
|
static |
| uint16_t idle_pwm_max_count |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |