24 #if defined(__cplusplus) 28 #include "simpletools.h" 30 #ifndef DOXYGEN_SHOULD_SKIP_THIS 32 volatile unsigned int dacCtrBits;
33 volatile unsigned int dacBitX;
34 volatile unsigned int ctra;
35 volatile unsigned int ctrb;
36 volatile unsigned int frqa;
37 volatile unsigned int frqb;
38 volatile unsigned int pin;
39 volatile int dac2chCog;
42 #endif // DOXYGEN_SHOULD_SKIP_THIS 92 #if defined(__cplusplus) void dac2ch_set(dac2ch *device, int pin, int channel, int dacVal)
Set a DAC signal's level.
Definition: dac2ch.c:45
void dac2ch_stop(dac2ch *device)
Shut down dac2ch process and reclaim cog and I/O pins for other uses.
Definition: dac2ch.c:38
dac2ch * dac2ch_start(int bits)
Start duty modulation process in another cog for D/A conversion through a low pass filter...
Definition: dac2ch.c:26