You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
594 B
C
36 lines
594 B
C
|
|
#ifndef __FunctionPressure_H__
|
|
#define __FunctionPressure_H__
|
|
|
|
#include <stdint.h>
|
|
#include "main.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#define CSU18M68 0
|
|
#define PMDS_F2 1
|
|
|
|
#if CSU18M68 == 1
|
|
#define Index_ID 0xEA
|
|
#define Index_JustData 0xE1
|
|
#define Index_Status 0xE2
|
|
#define Index_Adjust 0x5A
|
|
#endif
|
|
typedef enum{
|
|
AdjustOK = 0,
|
|
AdjustError
|
|
}TypedefAdjustResult;
|
|
|
|
|
|
void FunctionReadPressure(void);
|
|
void FunctionAdjustPressure(void);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __DRIVER_GC9C01_H__ */
|
|
|