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 VOLT_REF   (3300)
#define MAX_DIGITAL_12_BIT   (4095UL)
#define AFEC_TEMPERATURE_SENSOR   11
#define AFEC_ACR_PGA0_ON   (0x1u << 2)
#define AFEC_ACR_PGA1_ON   (0x1u << 3)

Functions

 COMPILER_ALIGNED (32)
 xDMA interrupt handler.
int main (void)
 afe_temp_sensor Application entry point.

Detailed Description

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

Definition in file main.c.


Define Documentation

#define MAX_DIGITAL_12_BIT   (4095UL)

The maximal digital value

Definition at line 96 of file main.c.

#define SAMPLES   (100)

SAMPLES per cycle

Definition at line 90 of file main.c.

#define VOLT_REF   (3300)

Reference voltage for AFEC in mv.

Definition at line 93 of file main.c.


Function Documentation

int main ( void   ) 

afe_temp_sensor Application entry point.

Returns:
Unused (ANSI-C compatibility).

Definition at line 194 of file main.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines