roboot/avr/roboot_if_comm_avr.c File Reference


Detailed Description

Realization of AVR communication interface for ROBOOT using USART port.

License:
ROBOOT ver. 0.1.0 - Copyright (C) 2010 AGH UST
This file is part of the ROBOOT (RObus BOOTloader) project. ROBOOT is developed at the Department of Electronics, AGH University of Science and Technology in Krakow, Poland.

The ROBOOT project uses dual-licensing. You can use it for free for non-commercial, open source projects. See license.txt for details or visit project home page at http://www.wsn.agh.edu.pl/?q=roboot

THIS SOFTWARE IS PROVIDED 'AS IS'. NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. AGH UST SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.

Author:
Artur Lipowski
Purpose:
ROBOOT exemplary bootloader for AVR
Compiler:
GCC
Hardware:
independent
Documented in:
doxygen
Comments:

Definition in file roboot_if_comm_avr.c.

#include "config.h"
#include <avr/io.h>
#include <util/delay.h>
#include "roboot_if_comm.h"
#include <util/setbaud.h>

Go to the source code of this file.

Defines

#define BAUD   BOOTLOADER_USART_SPEED
#define UBRRH   UBRR0H
#define UBRRL   UBRR0L
#define UCSRA   UCSR0A
#define UCSRB   UCSR0B
#define UCSRC   UCSR0C
#define UDR   UDR0

Functions

void CommHwInit (void)
void CommHwDeinit (void)
void CommHwSendByte (uint8_t c)
int16_t CommHwGetByte (void)
void MCUBusyDelay (void)


Generated on Tue Mar 9 07:57:32 2010 for 'ROBOOT' by  doxygen 1.5.8