Microchip® Advanced Software Framework

ramp2_dma.c File Reference

SAM D21 TCC RAMP2 DMA operation with circular buffer Example Application.

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

#include <asf.h>
#include "conf_example.h"

Macros

#define TRIGGER_FLAGS   (TCC_INTFLAG_OVF)
 

Functions

static COMPILER_ALIGNED (16)
 
static void config_dma_for_tcc_ramp2a (void)
 
void config_ramp2_dma (void)
 
static void configure_tcc_ramp2a_mode (void)
 
static void configure_trigger (void)
 
void trigger_generation (void)
 

Variables

static enum status_code stat = STATUS_OK
 
static struct tcc_module tcc_instance
 
static struct dma_resource tcc_ramp_a_dma_resource
 

#define TRIGGER_FLAGS   (TCC_INTFLAG_OVF)

Referenced by trigger_generation().

static COMPILER_ALIGNED ( 16  )
static
void config_ramp2_dma ( void  )
static void configure_trigger ( void  )
static
void trigger_generation ( void  )

struct tcc_module tcc_instance
static
struct dma_resource tcc_ramp_a_dma_resource
static