Microchip® Advanced Software Framework

flashcalw_example2.c File Reference

FLASHCALW example2 for SAM.

Copyright (c) 2012-2018 Microchip Technology Inc. and its subsidiaries.

#include <asf.h>

Macros

#define UNIQUE_ID_ADDR   (0x0080020C)
 

Functions

static void configure_console (void)
 Configure serial console. More...
 
int main (void)
 main function : do init and print the unique ID through the serial console. More...
 

#define UNIQUE_ID_ADDR   (0x0080020C)

Referenced by main().

static void configure_console ( void  )
static

Configure serial console.

References uart_rs232_options::baudrate, and stdio_serial_init().

Referenced by main().

int main ( void  )

main function : do init and print the unique ID through the serial console.

References board_init(), BOARD_NAME, configure_console(), sysclk_init(), and UNIQUE_ID_ADDR.