23 #if defined(__cplusplus) 27 #include "simpletools.h" 29 #ifndef DOXYGEN_SHOULD_SKIP_THIS 32 volatile unsigned int tCycle;
33 volatile unsigned int ticksA;
34 volatile unsigned int ticksB;
35 volatile unsigned int ctra;
36 volatile unsigned int ctrb;
37 volatile unsigned int pin;
41 #endif // DOXYGEN_SHOULD_SKIP_THIS 89 #if defined(__cplusplus) void pwm2ch_set(pwm2ch *device, int pin, int channel, int tHigh)
Set a PWM signal's high time.
Definition: pwm2ch.c:38
pwm2ch * pwm2ch_start(unsigned int cycleMicroseconds)
Start PWM process in another cog.
Definition: pwm2ch.c:26
void pwm2ch_stop(pwm2ch *device)
Shut down pwm2ch process and reclaim cog and I/O pins for other uses.
Definition: pwm2ch.c:64