Flash read Unique Identifier example for SAM.
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | STRING_EOL "\r" |
#define | STRING_HEADER |
Typedefs | |
typedef unsigned long | UL |
Functions | |
static void | configure_console (void) |
Configure console using UART. More... | |
int | main (void) |
efc_unique_id_example Application entry point. More... | |
#define STRING_EOL "\r" |
#define STRING_HEADER |
Referenced by main().
typedef unsigned long UL |
|
static |
Configure console using UART.
References uart_rs232_options::baudrate, CONF_UART, CONF_UART_BAUDRATE, CONF_UART_CHAR_LENGTH, CONF_UART_PARITY, CONF_UART_STOP_BITS, CONSOLE_UART_ID, stdio_serial_init(), and sysclk_enable_peripheral_clock().
Referenced by main().
int main | ( | void | ) |
efc_unique_id_example Application entry point.
References board_init(), configure_console(), FLASH_ACCESS_MODE_128, flash_init(), FLASH_RC_OK, flash_read_unique_id(), STRING_HEADER, and sysclk_init().