Microchip® Advanced Software Framework

qs_dac_basic.c File Reference

SAM DAC Quick Start.

Copyright (c) 2012-2018 Microchip Technology Inc. and its subsidiaries.

#include <asf.h>

Functions

void configure_dac (void)
 [module_inst] More...
 
void configure_dac_channel (void)
 [setup_dac] More...
 
int main (void)
 [setup] More...
 

Variables

struct dac_module dac_instance
 [module_inst] More...
 

void configure_dac ( void  )

[module_inst]

[configure_adc]

[job_complete_callback]

[setup]

[setup_dac]

[configure_dac]

[setup_config]

[setup_config] [setup_config_defaults]

[setup_config_defaults]

[setup_set_config]

[setup_set_config]

References dac_get_config_defaults(), dac_init(), and dac_instance.

Referenced by main().

void configure_dac_channel ( void  )

[setup_dac]

[configure_dac]

[setup_dac_channel]

[configure_dac_channel]

[setup_ch_config]

[setup_ch_config] [setup_ch_config_defaults]

[setup_ch_config_defaults]

[setup_ch_set_config]

[setup_ch_set_config]

[setup_ch_enable]

[setup_ch_enable]

References dac_chan_enable(), dac_chan_get_config_defaults(), dac_chan_set_config(), DAC_CHANNEL_0, and dac_instance.

Referenced by main().

int main ( void  )

[setup]

[setup_init]

[setup_init]

[setup_enable]

[setup_enable]

[main] [main_output_var]

[main_output_var]

[main_loop]

[main_loop] [main_write]

[main_write]

[main_inc_val]

[main_inc_val]

[main]

References configure_dac(), configure_dac_channel(), dac_chan_write(), DAC_CHANNEL_0, dac_enable(), dac_instance, i, and system_init().