rif_inc.h
来自「基于MMA7260QR2的跌落检查程序」· C头文件 代码 · 共 147 行
H
147 行
/************************************************************************************
* This header file defines common data types
*
* (c) Copyright 2006, 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.
*
************************************************************************************/
#ifndef RIF_INC_H
#define RIF_INC_H
/************************************************************************************
*************************************************************************************
* Public macros
*************************************************************************************
************************************************************************************/
#define pa_switch_bit (1<<13)
#define pa_lowpwr_en_bit (1<<12)
#define pa_highpwr_en_bit (1<<11)
#define pa_trim_default (32<<4)
/************************************************************************************
*************************************************************************************
* Public type definitions
*************************************************************************************
************************************************************************************/
/************************************************************************************
*************************************************************************************
* Public prototypes
*************************************************************************************
************************************************************************************/
/************************************************************************************
*************************************************************************************
* Public memory declarations
*************************************************************************************
************************************************************************************/
/************************************************************************************
*************************************************************************************
* Public functions
*************************************************************************************
************************************************************************************/
/************************************************************************************
* This function ...
*
* Interface assumptions:
*
* Return value:
*
* Revison history:
* date Author Comments
* ------ ------ --------
*
************************************************************************************/
extern uint32_t rif_get_status(void);
/************************************************************************************
* This function ...
*
* Interface assumptions:
*
* Return value:
*
* Revison history:
* date Author Comments
* ------ ------ --------
*
************************************************************************************/
extern void rif_set_pow_amp(uint32_t);
/************************************************************************************
* This function ...
*
* Interface assumptions:
*
* Return value:
*
* Revison history:
* date Author Comments
* ------ ------ --------
*
************************************************************************************/
extern void rif_set_gain_adjust(uint8_t);
/************************************************************************************
* This function ...
*
* Interface assumptions:
*
* Return value:
*
* Revison history:
* date Author Comments
* ------ ------ --------
*
************************************************************************************/
extern void SetPower(uint8_t , bool_t);
/************************************************************************************
* This function ...
*
* Interface assumptions:
*
* Return value:
*
* Revison history:
* date Author Comments
* ------ ------ --------
*
************************************************************************************/
extern void disable_test_mode_continuos_tx_nomod(void);
/************************************************************************************
* This function ...
*
* Interface assumptions:
*
* Return value:
*
* Revison history:
* date Author Comments
* ------ ------ --------
*
************************************************************************************/
extern void set_test_mode_continuos_tx_nomod(void);
#endif // RIF_INC_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?