conversion_v1.1.7.h

来自「MSP430f2013 ADC, LCD drivers using 7416」· C头文件 代码 · 共 79 行

H
79
字号
/*=============================================================================
//   File : Conversion_V1.1.7.h                                              //
//                                                                           //
//   Abstract: This header file containing the required basic datatypes and  //
//             user defined macros for Conv Operation.                        //
//   Compiler : IAR Embedded Work Bench                                      //
//                                                                           //
//   Author : Kuberappa.M.Sajjan                                             //
//   E-mail : kuber@unifiest.com                                             //
//                                                                           //
//                                                                           //
=============================================================================*/



/*---------------------------- Preprocessor Directives ----------------------*/

#include "datatypes_v1.1.h"
#include "io430.h"









/*--------------------------- Macros and Constants --------------------------*/

#ifndef        _CONVERSION_H_   // If Datatypes header file is not defined then
#define        _CONVERSION_H_   // Define the Datatypes header file







#define CUBE                    (16*16*16)
#define SQUARE                  (16*16)
#define ONE                     (16)
#define OFFSET                  0x0E
#define READ                    0x0F









/*--------------------------- Global Variable Declarations ------------------*/









/*--------------------------- Function Prototypes ---------------------------*/

UINT convesion_data(UINT conv_data );
void system_offset_adc_conv(UCHAR command);









#endif

⌨️ 快捷键说明

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