• Main Page
  • Modules
  • Index
  • File List
  • Globals

projects/nrfgo_sdk/bootloader_32k/host_applications/bootlu1p_linux/hexfile.h

Go to the documentation of this file.
00001 /* Copyright (c) 2009 Nordic Semiconductor. All Rights Reserved.
00002  *
00003  * The information contained herein is confidential property of Nordic 
00004  * Semiconductor ASA. Terms and conditions of usage are described in detail 
00005  * in NORDIC SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. 
00006  *
00007  * Licensees are granted free, non-transferable use of the information. NO
00008  * WARRENTY of ANY KIND is provided. This heading must NOT be removed from
00009  * the file.
00010  *
00011  */
00012 #ifndef HEXFILE_H_
00013 #define HEXFILE_H_
00014 
00015 int read_hex_file(FILE *fp, int crc, unsigned char *buf, unsigned buf_size, unsigned *low_addr, unsigned *high_addr);
00016 
00017 #define ERR_CRC  1
00018 #define ERR_ADDR 2
00019 #define ERR_FMT  3
00020 #define NO_ERR   0
00021 
00022 #endif  // HEXFILE_H_

Generated on Fri Apr 20 2012 14:11:45 for nRFGo SDK by  doxygen 1.7.2