roboot/str71x/roboot_if_comm_str71x.c File Reference


Detailed Description

Realization of STR71x 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 STR71x
Compiler:
GCC
Hardware:
independent
Documented in:
doxygen
Comments:

Definition in file roboot_if_comm_str71x.c.

#include "71x_lib.h"
#include "roboot_if_comm.h"
#include "config.h"

Go to the source code of this file.

Defines

#define USARTx   UART0
#define BOOTLOADER_USART_RX_PORT   GPIO0
#define BOOTLOADER_USART_RX_PIN   (0x0001<<8)
#define BOOTLOADER_USART_TX_PORT   GPIO0
#define BOOTLOADER_USART_TX_PIN   (0x0001<<9)

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:33 2010 for 'ROBOOT' by  doxygen 1.5.8