19 lines
466 B
C
19 lines
466 B
C
#ifndef PULSE_GENERATOR_H_INCLUDED
|
|
#define PULSE_GENERATOR_H_INCLUDED
|
|
|
|
#include "pico/stdlib.h"
|
|
|
|
extern bool cutting_enabled;
|
|
extern bool off_time_insufficient;
|
|
|
|
/*! \brief Start the EDM machine, ie, begin cutting
|
|
\ingroup pulse_generator
|
|
*/
|
|
void begin_output_pulses(uint32_t on_time, uint32_t off_time, bool iso_pulse);
|
|
|
|
/*! \brief Setup pins/dirs for the pulse generator
|
|
\ingroup pulse_generator
|
|
*/
|
|
void pulse_generator_init(uint32_t trip_current);
|
|
|
|
#endif |