📄 sfrs.h
字号:
/***************************************************************************
* This code and information is provided "as is" without warranty of any *
* kind, either expressed or implied, including but not limited to the *
* implied warranties of merchantability and/or fitness for a particular *
* purpose. *
* *
* Copyright (C) 2005 Teridian Semiconductor Corp. All Rights Reserved. *
***************************************************************************/
//**************************************************************************
// DESCRIPTION: 71M652x POWER METER - Special Function Register Access.
//
// AUTHOR: MTF
//
// HISTORY: See end of file
//**************************************************************************
// File: SFRS.C
//
// Low level API for SFRs and MEMORY.
//
#ifndef SFR_H
#define SFR_H 1
// General SFR API.
//
enum OPERATION { ASSIGN, AND, OR };
enum SFR_RC { SFR_OK, SFR_INVALID };
enum SFR_RC SFR_Read (uint8_t SfrAddr, int8d_t *SfrValue) small reentrant;
enum SFR_RC SFR_Write (uint8_t SfrAddr, uint8_t SfrValue, enum OPERATION SfrOperation) small reentrant;
#endif
/***************************************************************************
* History:
* $Log: sfrs.h,v $
* Revision 1.4 2006/09/09 01:15:58 gmikef
* *** empty log message ***
*
* Revision 1.2 2005/09/22 23:45:29 tvander
* Clean build all models and unit tests, updated copyright to be fore Teridian
*
* Revision 1.1 2005/08/22 22:30:57 tvander
* Clean build of FLAG system
* No pulse counting.
* No debug/CLI.
*
* Revision 1.1 2005/08/18 02:56:09 gmikef
* *** empty log message ***
*
* 2005 August 17; First Version.
*
* Copyright (C) 2005 Teridian Semiconductor Corp. All Rights Reserved. *
* this program is fully protected by the United States copyright *
* laws and is the property of Teridian Semiconductor Corporation. *
***************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -