WINC3400 Chip Information Example.
Copyright (c) 2017-2019 Microchip Technology Inc. and its subsidiaries.
#include "asf.h"
#include <string.h>
#include "driver/include/m2m_wifi.h"
#include "driver/source/nmasic.h"
Macros | |
#define | STRING_EOL "\r\n" |
#define | STRING_HEADER |
Functions | |
static void | configure_console (void) |
Configure UART console. More... | |
int | main (void) |
Main application function. More... | |
#define STRING_EOL "\r\n" |
#define STRING_HEADER |
Referenced by main().
|
static |
Configure UART console.
References uart_rs232_options::baudrate, stdio_serial_init(), and sysclk_enable_peripheral_clock().
Referenced by main().
int main | ( | void | ) |
Main application function.
Application entry point. Initialize board and WINC3400 Wi-Fi module. Display WINC3400 chip id and rf revision id.
References board_init(), configure_console(), M2M_SUCCESS, m2m_wifi_init(), nm_bsp_init(), nmi_get_chipid(), nmi_get_rfrevid(), STRING_HEADER, and sysclk_init().