Atmel Software Framework

abdac.c File Reference
#include "compiler.h"
#include "abdac.h"

Functions

void abdac_disable (volatile avr32_abdac_t *abdac)
 
void abdac_enable (volatile avr32_abdac_t *abdac)
 
unsigned long abdac_get_dac_hz (volatile avr32_abdac_t *abdac, const unsigned long bus_hz)
 
unsigned long abdac_set_dac_hz (volatile avr32_abdac_t *abdac, const unsigned long bus_hz, const unsigned long dac_hz)
 
bool abdac_set_dac_sample_rate (const unsigned long dac_hz)
 
int abdac_sink (volatile avr32_abdac_t *abdac, const unsigned short ch0, const unsigned short ch1)
 
void abdac_swap_channels (volatile avr32_abdac_t *abdac)