Functions | |
static void | init_gclk (void) |
static void | init_pevc (void) |
int | main (void) |
main function : do init and loop to display ADC values More... | |
static void | pdca_set_irq (void) |
PDCA interrupt handler, fired each time the complete sine wave table has been sent to the DAC. More... | |
Variables | |
uint8_t | dac_channel_audio = EXAMPLE_DAC_AUDIO_CHANNEL |
int16_t | dac_value_audio = -1 |
dacifb_channel_opt_t | dacifb_channel_opt |
dacifb_opt_t | dacifb_opt |
pdca_channel_options_t | PDCA_OPTIONS |
|
static |
References scif_gc_enable(), scif_gc_setup(), and SCIF_GCCTRL_SLOWCLOCK.
Referenced by main().
|
static |
References AVR32_PEVC_ID_GEN_GCLK_0, AVR32_PEVC_ID_USER_DACIFB1_CHB, FAIL, pevc_evs_opt_t::igfdr, pevc_channel_configure(), pevc_channels_enable(), PEVC_EVS_EVF_OFF, PEVC_EVS_EVR_ON, and PEVC_EVS_IGF_OFF.
Referenced by main().
int main | ( | void | ) |
main function : do init and loop to display ADC values
References dac_channel_audio, dacifb_configure(), dacifb_configure_channel(), dacifb_get_calibration_data(), dacifb_start_channel(), EXAMPLE_DAC_AUDIO_FUNCTION, EXAMPLE_DAC_AUDIO_INSTANCE, EXAMPLE_DAC_AUDIO_PIN, EXAMPLE_DAC_PRESCALER_CLOCK, EXAMPLE_PDCA_CHANNEL_DAC, FOSC0, gpio_enable_module(), init_dbg_rs232(), init_gclk(), init_pevc(), pdca_enable(), pdca_enable_interrupt_reload_counter_zero(), pdca_init_channel(), pdca_set_irq(), and sysclk_init().
|
static |
PDCA interrupt handler, fired each time the complete sine wave table has been sent to the DAC.
Initialize interrupt controller and register PDCA interrupt handler.
References Disable_global_interrupt, Enable_global_interrupt, INTC_init_interrupts(), and INTC_register_interrupt().
Referenced by main().
uint8_t dac_channel_audio = EXAMPLE_DAC_AUDIO_CHANNEL |
Referenced by main().
int16_t dac_value_audio = -1 |
dacifb_channel_opt_t dacifb_channel_opt |
dacifb_opt_t dacifb_opt |
pdca_channel_options_t PDCA_OPTIONS |