SAMV71 Xplained Ultra Software Package 1.5

main.c File Reference

#include "board.h"
#include <string.h>

Go to the source code of this file.

Defines

#define SAMPLES   100
#define TEST_CHANNEL   5
#define AFE_CLK   2200000

Functions

void XDMAC_Handler (void)
 xDMA interrupt handler.
int main (void)
 AFE12 Application entry point.

Variables

const uint16_t sine_data [SAMPLES]
uint32_t afeBuffer [SAMPLES]
uint32_t dacBuffer [SAMPLES]

Detailed Description

This file contains all the specific code for the AFE12 example.

Definition in file main.c.


Define Documentation

#define SAMPLES   100

SAMPLES per cycle

Definition at line 90 of file main.c.


Function Documentation

int main ( void   ) 

AFE12 Application entry point.

Returns:
Unused (ANSI-C compatibility).

Definition at line 228 of file main.c.

Here is the call graph for this function:


Variable Documentation

const uint16_t sine_data[SAMPLES]
Initial value:
 {
    1,    2,      5,     10,     17,     26,     37,     50,     65,     81,
    99,  119,    140,    163,    187,    212,    239,    266,    295,    325,
    355,  385,    417,    449,    481,    512,    543,    575,    607,    639,
    669,  699,    729,    758,    785,    812,    837,    861,    884,    905,
    925,  943,    959,    974,    987,    998,   1007,   1014,   1019,   1022,
    1023, 1022,   1019,   1014,   1007,    998,    987,    974,    959,    943,
    925,  905,    884,    861,    837,    812,    785,    758,    729,    699,
    669,  639,    607,    575,    543,    512,    481,    449,    417,    385,
    355,  325,    295,    266,    239,    212,    187,    163,    140,    119,
    99,   81,     65,     50,     37,     26,     17,     10,      5,      2 }

Definition at line 95 of file main.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines