SAMV71 Xplained Ultra Software Package 1.3

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

Functions

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

Variables

uint8_t pTxBuffer [] = {"This is first USART TX Buffer\n\r"}
uint8_t pRxBuffer [30]
uint8_t BuffRx
uint8_t BuffTx
const Pin pins [] = {PINS_USART}

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

int main ( void   ) 

getting-started Application entry point.

Returns:
Unused (ANSI-C compatibility).

Definition at line 227 of file main.c.

Here is the call graph for this function:


Variable Documentation

const Pin pins[] = {PINS_USART}

Pins to configure for the application.

Definition at line 126 of file main.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines