SAMV71 Xplained Ultra Software Package 1.4

main.c File Reference

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

Go to the source code of this file.

Defines

#define IRQ_PRIOR_PIO   0
#define BLINK_PERIOD   1000

Functions

void TC0_Handler (void)
int main (void)
 getting-started Application entry point.

Variables

volatile bool bLed0Active = true
volatile bool bLed1Active = true
volatile uint32_t dwTimeStamp = 0
volatile uint32_t dwTcCounter = 0

Detailed Description

This file contains all the specific code for the getting-started example.

Definition in file main.c.


Define Documentation

#define BLINK_PERIOD   1000

LED0 blink time, LED1 blink half this time, in ms

Definition at line 101 of file main.c.

#define IRQ_PRIOR_PIO   0

IRQ priority for PIO (The lower the value, the greater the priority)

Definition at line 98 of file main.c.


Function Documentation

int main ( void   ) 

getting-started Application entry point.

Returns:
Unused (ANSI-C compatibility).

Definition at line 293 of file main.c.

Here is the call graph for this function:


Variable Documentation

volatile bool bLed0Active = true

LED0 blinking control.

Definition at line 108 of file main.c.

volatile bool bLed1Active = true

LED1 blinking control.

Definition at line 111 of file main.c.

volatile uint32_t dwTcCounter = 0

Global timestamps in milliseconds since start of application

Definition at line 117 of file main.c.

volatile uint32_t dwTimeStamp = 0

Global timestamps in milliseconds since start of application

Definition at line 114 of file main.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines