24#if(defined(CORE_TEENSY) || defined(CORE_STM32))
25 #define TACHO_PULSE_LOW() (digitalWrite(pinTachOut, LOW))
26 #define TACHO_PULSE_HIGH() (digitalWrite(pinTachOut, HIGH))
28 #define TACHO_PULSE_HIGH() (*tach_pin_port |= (tach_pin_mask))
29 #define TACHO_PULSE_LOW() (*tach_pin_port &= ~(tach_pin_mask))
36#define TACHO_SWEEP_TIME_MS 1500
37#define TACHO_SWEEP_RAMP_MS (TACHO_SWEEP_TIME_MS * 2 / 3)
38#define MS_PER_SEC 1000
static TIntegral readSerialIntegralTimeout(void)
Reads an integral type, timing out if necessary.
Definition comms.cpp:173
volatile TachoOutputStatus tachoOutputFlag
Definition timers.cpp:35
volatile uint16_t tachoSweepIncr
Definition timers.cpp:36
void initialiseTimers(void)
Definition timers.cpp:41
TachoOutputStatus
Definition timers.h:31
@ ACTIVE
Definition timers.h:31
@ READY
Definition timers.h:31
@ TACHO_INACTIVE
Definition timers.h:31
volatile unsigned int dwellLimit_uS
Definition timers.cpp:32
void oneMSInterval(void)
Definition timers.cpp:61