Definition in file d2a.c.
#include "aduc7026.h"
#include "global.h"
#include "d2a.h"
Go to the source code of this file.
Defines | |
| #define | DACBYP (1<<6) |
| #define | DACCLK (1<<5) |
| #define | DACCLR (1<<4) |
| #define | DACRANGE_PWRDOWN (0x00) |
| #define | DACRANGE_DACREF (0x01) |
| #define | DACRANGE_AREF (0x02) |
| #define | DACRANGE_AVDD (0x03) |
Functions | |
| void | d2aInit (void) |
| initializes DACs | |
| void | d2aSet (int channel, int level) |
| set DAC output level | |
1.4.2