Microchip® Advanced Software Framework

stdio_serial.h File Reference

Common Standard I/O Serial Management.

This file defines a useful set of functions for the Stdio Serial interface on AVR and SAM devices.

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

#include <stdio.h>
#include "compiler.h"
#include "sysclk.h"
#include "serial.h"

Functions

static void stdio_serial_init (volatile void *usart, const usart_serial_options_t *opt)
 Initializes the stdio in Serial Mode. More...
 

Variables

void(* ptr_get )(void volatile *, char *)
 Pointer to the external low level read function. More...
 
int(* ptr_put )(void volatile *, char)
 Pointer to the external low level write function. More...
 
volatile void *volatile stdio_base
 Pointer to the base of the USART module instance to use for stdio. More...