SAMV71 Xplained Ultra Software Package 1.5

main.c File Reference

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

Go to the source code of this file.

Defines

#define PINS_USART   PIN_USART0_TXD, PIN_USART0_RXD
#define BASE_USART   USART0
#define ID_USART   ID_USART0
#define USART_IRQ   USART0_IRQn
#define USART_TIMEOUT   115200
#define PIN0   {PIO_PA6, PIOA, ID_PIOA, PIO_OUTPUT_0, PIO_DEFAULT}
#define PIN1   {PIO_PD11, PIOD, ID_PIOD, PIO_OUTPUT_0, PIO_DEFAULT}
#define PINS   PIN0, PIN1

Functions

 COMPILER_ALIGNED (32)
void XDMAC_Handler (void)
 xDMA interrupt handler.
void USART0_Handler (void)
int main (void)
 getting-started Application entry point.

Variables

const Pin pins_test [] = {PINS}

Detailed Description

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

Definition in file main.c.


Define Documentation

#define BASE_USART   USART0

Register base for USART

Definition at line 107 of file main.c.

#define PINS_USART   PIN_USART0_TXD, PIN_USART0_RXD

Pins for USART

Definition at line 103 of file main.c.


Function Documentation

COMPILER_ALIGNED ( 32   ) 

Pins to configure for the application.

Definition at line 123 of file main.c.

int main ( void   ) 

getting-started Application entry point.

Returns:
Unused (ANSI-C compatibility).

Definition at line 233 of file main.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines