Microchip® Advanced Software Framework

console_serial.c File Reference

Serial Console functionalities.

Copyright (c) 2018 Atmel Corporation. All rights reserved.

#include "asf.h"
#include "console_serial.h"
#include "conf_uart_serial.h"
#include "stdio_serial.h"
#include "btstack_stdin.h"
#include "btstack_config.h"

Functions

static void btstack_stdin_process (struct btstack_data_source *ds, btstack_data_source_callback_type_t callback_type)
 
void btstack_stdin_setup (void(*handler)(char c))
 
void serial_console_init (void)
 Configure console. More...
 

Variables

static btstack_data_source_t stdin_data_source
 
static void(* stdin_handler )(char c)
 

static void btstack_stdin_process ( struct btstack_data_source ds,
btstack_data_source_callback_type_t  callback_type 
)
static

References stdin_handler, and usart_read().

Referenced by btstack_stdin_setup().

void serial_console_init ( void  )

btstack_data_source_t stdin_data_source
static
void(* stdin_handler)(char c)
static