Atmel 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-2013 Atmel Corporation. All rights reserved.

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


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


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...