SAMV71 Xplained Ultra Software Package 1.5

main.c File Reference

#include "board.h"
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Defines

#define SPI0_CS0   0
#define SPI0_CS1   1
#define SPI0_CS2   2
#define SPI0_CS3   3

Functions

 COMPILER_ALIGNED (32)
 Handler for SPI0.
void XDMAC_Handler (void)
 Handler for XDMAC.
int main (void)
 Application entry point.

Variables

volatile uint32_t dwTimeStamp = 0

Detailed Description

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

Definition in file main.c.


Function Documentation

COMPILER_ALIGNED ( 32   ) 

Handler for SPI0.

Process SPI interrupts

Definition at line 136 of file main.c.

Here is the call graph for this function:

int main ( void   ) 

Application entry point.

Returns:
Unused (ANSI-C compatibility).

Definition at line 259 of file main.c.

Here is the call graph for this function:


Variable Documentation

volatile uint32_t dwTimeStamp = 0

Global timestamps in milliseconds since start of application

Definition at line 115 of file main.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines