init_interface.h

来自「基于MMA7260QR2的跌落检查程序」· C头文件 代码 · 共 81 行

H
81
字号
/************************************************************************************
* Public header file for Init_Utils
*
* Author(s):  R04473 
*
* (c) Copyright 2007, Freescale, Inc.  All rights reserved.
*
* No part of this document must be reproduced in any form - including copied,
* transcribed, printed or by any electronic means - without specific written
* permission from Freescale.
*
Revision history:
      date                       Author                               Comments
   ----------               ----------------------                    -------
   09.11.2007                    R04473                               Created
************************************************************************************/

#ifndef _INIT_INTERFACE_H_
#define _INIT_INTERFACE_H_

/************************************************************************************
*************************************************************************************
* Public macros
*************************************************************************************
************************************************************************************/

/************************************************************************************
*************************************************************************************
* Public prototypes
*************************************************************************************
************************************************************************************/

/*=================================================================================*/
/*===== InitFromFlash =====*/
/*
@brief  Receives a pointer to the body of a initialization file.
        Validates the input and processes the file.

@param  uint32_t nvmAddress - input parameter: address in NVM where is placed
                                                 the intialization file
        uint32_t nLength    - input parameter: the length of the initialization file,
                                                in bytes

@return uint32_t
        Returns the number of bytes processed.

Revision history:
   Date             Author                        Comments
   ----------       -----------------------       --------
   09.11.2007       R04473                        Created
*/
/*=================================================================================*/
uint32_t InitFromFlash(uint32_t nvmAddress, uint32_t nLength);

/**************************************************************************************/
/*=================================================================================*/
/*===== InitFromFlash =====*/
/*
@brief  Receives a pointer to the body of a initialization file.
        Validates the input and processes the file.

@param  uint32_t nvmAddress - input parameter: address in NVM where is placed
                                                 the intialization file
        uint32_t nLength    - input parameter: the length of the initialization file,
                                                in bytes

@return uint32_t
        Returns the number of bytes processed.

Revision history:
   Date             Author                        Comments
   ----------       -----------------------       --------
   09.11.2007       PNSN001                       Created
*/
/*=================================================================================*/
uint32_t InitFromMemory(uint32_t* pInitArray, uint32_t nLength);

/**************************************************************************************/

#endif /* _INIT_INTERFACE_H_ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?