12345678910111213141516 |
- #ifndef DAC_H_INCLUDED
- #define DAC_H_INCLUDED
- #include <stdint.h>
- void dac_init(void);
- int dac_write(const void *buf, unsigned int len);
- int dac_play(const void *buf, unsigned int len);
- void dac_play_direct(uint8_t *mem, uint32_t size);
- #define pot_get_master() pot_get(2)
- #define pot_set_master(x) pot_set(2,x)
- #endif
|