⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 driverdecl.p1

📁 cypress cy3721做的外部无线结点。感知温度后将温度值反给中心结点。
💻 P1
📖 第 1 页 / 共 3 页
字号:
[n S7 . Threshold Hysteresis Ordinal ]
[v _SETPOINT_ELEM_STRUC `S7 1 t ]
[; ;SetPointRegion.h: 11: typedef struct

[; ;SetPointRegion.h: 12: {

[; ;SetPointRegion.h: 13: int const * Threshold;

[; ;SetPointRegion.h: 14: int const * Hysteresis;

[; ;SetPointRegion.h: 15: BYTE Ordinal;

[; ;SetPointRegion.h: 16: } SETPOINT_ELEM_STRUC;

"22
[s S8 `i 1 `i 1 ]
[n S8 . Threshold Hysteresis ]
[v _SETPOINT_ELEM_CONST_STRUC `S8 1 t ]
[; ;SetPointRegion.h: 18: typedef struct

[; ;SetPointRegion.h: 19: {

[; ;SetPointRegion.h: 20: int Threshold;

[; ;SetPointRegion.h: 21: int Hysteresis;

[; ;SetPointRegion.h: 22: } SETPOINT_ELEM_CONST_STRUC;

"29
[s S9 `*CS7 1 `uc 1 `*uc 1 ]
[n S9 . SetPointArray SetPointCount pOldValue ]
[v _SETPOINT_REGION_PB `S9 1 t ]
[; ;SetPointRegion.h: 24: typedef struct

[; ;SetPointRegion.h: 25: {

[; ;SetPointRegion.h: 26: SETPOINT_ELEM_STRUC const * SetPointArray;

[; ;SetPointRegion.h: 27: BYTE SetPointCount;

[; ;SetPointRegion.h: 28: BYTE * pOldValue;

[; ;SetPointRegion.h: 29: } SETPOINT_REGION_PB;

[; ;SetPointRegion.h: 31: BYTE SetPointRegion( SETPOINT_REGION_PB const *, int);

"12 ./TableLookup.h
[s S10 `*uc 1 `i 1 ]
[n S10 . pInputVar multiplier ]
[v _TABLE_LOOKUP_INPUT `S10 1 t ]
[; ;TableLookup.h: 8: typedef struct

[; ;TableLookup.h: 9: {

[; ;TableLookup.h: 10: BYTE * pInputVar;

[; ;TableLookup.h: 11: int multiplier;

[; ;TableLookup.h: 12: } TABLE_LOOKUP_INPUT;

"20
[s S11 `*CS10 1 `*Cuc 1 `uc 1 `uc 1 ]
[n S11 . InputList LookUpTable InputListCount LookUpTableSize ]
[v _TABLE_LOOKUP_PB `S11 1 t ]
[; ;TableLookup.h: 14: typedef struct

[; ;TableLookup.h: 15: {

[; ;TableLookup.h: 16: TABLE_LOOKUP_INPUT const * InputList;

[; ;TableLookup.h: 17: BYTE const * LookUpTable;

[; ;TableLookup.h: 18: BYTE InputListCount;

[; ;TableLookup.h: 19: BYTE LookUpTableSize;

[; ;TableLookup.h: 20: } TABLE_LOOKUP_PB;

[; ;TableLookup.h: 22: BYTE TableLookUp( TABLE_LOOKUP_PB const *);

[; ;CMXSystemFunction.h: 13: extern BYTE SetPointRegion(SETPOINT_REGION_PB const *, int);

[; ;CMXSystemFunction.h: 14: extern BYTE TableLookup(TABLE_LOOKUP_PB const * );

[; ;CMXSystemFunction.h: 17: extern SETPOINT_REGION_PB const pse_TempRange_SetPointRegion;

[; ;CMXSystemFunction.h: 18: extern TABLE_LOOKUP_PB const pse_Buzzer_TableLookup;

"25 ./SystemConst.h
[s S13 `CS8 1 `CS8 1 `CS8 1 `CS8 1 `CS8 1 `CS8 1 `CS8 1 `CS8 1 ]
[n S13 . SetPointParam0 SetPointParam1 SetPointParam2 SetPointParam3 SetPointParam4 SetPointParam5 SetPointParam6 SetPointParam7 ]
"30
[s S14 `uc -> 2 `i ]
[n S14 . title ]
"31
[s S12 `S13 1 `S14 1 ]
[n S12 . pse_TempRange_SetPointRegion ReserveBlock ]
[v _SYSTEM_CONSTANT_STRUC `S12 1 t ]
[; ;SystemConst.h: 15: typedef struct

[; ;SystemConst.h: 16: {

[; ;SystemConst.h: 17: struct { SETPOINT_ELEM_CONST_STRUC const SetPointParam0;

[; ;SystemConst.h: 18: SETPOINT_ELEM_CONST_STRUC const SetPointParam1;

[; ;SystemConst.h: 19: SETPOINT_ELEM_CONST_STRUC const SetPointParam2;

[; ;SystemConst.h: 20: SETPOINT_ELEM_CONST_STRUC const SetPointParam3;

[; ;SystemConst.h: 21: SETPOINT_ELEM_CONST_STRUC const SetPointParam4;

[; ;SystemConst.h: 22: SETPOINT_ELEM_CONST_STRUC const SetPointParam5;

[; ;SystemConst.h: 23: SETPOINT_ELEM_CONST_STRUC const SetPointParam6;

[; ;SystemConst.h: 24: SETPOINT_ELEM_CONST_STRUC const SetPointParam7;

[; ;SystemConst.h: 25: } pse_TempRange_SetPointRegion;

[; ;SystemConst.h: 27: struct

[; ;SystemConst.h: 28: {

[; ;SystemConst.h: 29: char title[2];

[; ;SystemConst.h: 30: } ReserveBlock;

[; ;SystemConst.h: 31: } SYSTEM_CONSTANT_STRUC;

[; ;lib\ADC10.h: 32: extern void ADC10_Start(BYTE bRange);

[; ;lib\ADC10.h: 33: extern void ADC10_Stop(void);

[; ;lib\ADC10.h: 34: extern void ADC10_StartADC(void);

[; ;lib\ADC10.h: 35: extern void ADC10_StopADC(void);

[; ;lib\ADC10.h: 36: extern BYTE ADC10_fIsDataAvailable(void);

[; ;lib\ADC10.h: 37: extern int ADC10_iGetData(void);

[; ;lib\ADC10.h: 38: extern void ADC10_ClearFlag(void);

[; ;lib\ADC10.h: 39: extern int ADC10_iGetDataClearFlag(void);

[; ;lib\ADC10.h: 40: extern int ADC10_iCal(int iVal, BYTE bCalIn);

[; ;lib\ADC10.h: 59: BYTE ADC10_ASE_CR0;

[; ;lib\ADC10.h: 61: BYTE ADC10_ACE_CR1;

[; ;lib\ADC10.h: 63: BYTE ADC10_ACE_CR2;

[; ;lib\ADC10.h: 65: BYTE ADC10_ADC_CR;

[; ;lib\ADC10.h: 67: BYTE ADC10_ADC_TR;

[; ;lib\ADC10.h: 71: BYTE ADC10_CNT_FN;

[; ;lib\ADC10.h: 73: BYTE ADC10_CNT_IN;

[; ;lib\ADC10.h: 75: BYTE ADC10_CNT_OUT;

[; ;lib\ADC10.h: 77: BYTE ADC10_CNT_DR0;

[; ;lib\ADC10.h: 79: BYTE ADC10_CNT_DR1;

[; ;lib\ADC10.h: 81: BYTE ADC10_CNT_DR2;

[; ;lib\ADC10.h: 83: BYTE ADC10_CNT_CR0;

[; ;lib\AMUX8.h: 38: extern void AMUX8_InputSelect(BYTE bChannel);

[; ;lib\AMUX8.h: 39: extern void AMUX8_Start(void);

[; ;lib\AMUX8.h: 40: extern void AMUX8_Stop(void);

[; ;lib\EzI2Cs.h: 50: extern void EzI2Cs_Start(void);

[; ;lib\EzI2Cs.h: 52: extern void EzI2Cs_DisableInt(void);

[; ;lib\EzI2Cs.h: 53: extern void EzI2Cs_EnableInt(void);

[; ;lib\EzI2Cs.h: 54: extern void EzI2Cs_Stop(void);

[; ;lib\EzI2Cs.h: 55: extern void EzI2Cs_SetRamBuffer(BYTE bSize, BYTE bRWBoundary, BYTE * pAddr);

[; ;lib\EzI2Cs.h: 56: extern BYTE EzI2Cs_GetAddr(void);

[; ;lib\EzI2Cs.h: 57: extern BYTE EzI2Cs_GetActivity(void);

[; ;lib\EzI2Cs.h: 60: extern void EzI2Cs_SetAddr(BYTE bAddr);

[; ;lib\EzI2Cs.h: 64: extern void EzI2Cs_SetRomBuffer(BYTE bSize, const BYTE * pAddr);

[; ;lib\EzI2Cs.h: 71: extern BYTE EzI2Cs_bAddr;

[; ;lib\PWM_01.h: 36: extern void PWM_01_EnableInt(void);

[; ;lib\PWM_01.h: 37: extern void PWM_01_DisableInt(void);

[; ;lib\PWM_01.h: 38: extern void PWM_01_Start(void);

[; ;lib\PWM_01.h: 39: extern void PWM_01_Stop(void);

[; ;lib\PWM_01.h: 40: extern BYTE PWM_01_bReadCounter(void);

[; ;lib\PWM_01.h: 41: extern void PWM_01_WritePeriod(BYTE bPeriod);

[; ;lib\PWM_01.h: 42: extern BYTE PWM_01_bReadPulseWidth(void);

[; ;lib\PWM_01.h: 43: extern void PWM_01_WritePulseWidth(BYTE bPulseWidth);

[; ;lib\PWM_01.h: 48: extern BYTE bPWM_01_ReadCounter(void);

[; ;lib\PWM_01.h: 49: extern BYTE bPWM_01_ReadPulseWidth(void);

[; ;lib\PWM_01.h: 74: BYTE PWM_01_COUNTER_REG;

[; ;lib\PWM_01.h: 76: BYTE PWM_01_PERIOD_REG;

[; ;lib\PWM_01.h: 78: BYTE PWM_01_COMPARE_REG;

[; ;lib\PWM_01.h: 80: BYTE PWM_01_CONTROL_REG;

[; ;lib\PWM_01.h: 82: BYTE PWM_01_FUNC_REG;

[; ;lib\PWM_01.h: 84: BYTE PWM_01_INPUT_REG;

[; ;lib\PWM_01.h: 86: BYTE PWM_01_OUTPUT_REG;

[; ;lib\PWM_01.h: 88: BYTE PWM_01_INT_REG;

[; ;lib\SystemTimer.h: 44: extern void SystemTimer_EnableInt(void);

[; ;lib\SystemTimer.h: 45: extern void SystemTimer_DisableInt(void);

[; ;lib\SystemTimer.h: 46: extern void SystemTimer_Start(void);

[; ;lib\SystemTimer.h: 47: extern void SystemTimer_Stop(void);

[; ;lib\SystemTimer.h: 48: extern void SystemTimer_SetInterval(BYTE bInterval);

[; ;lib\SystemTimer.h: 49: extern void SystemTimer_SyncWait(BYTE bTicks, BYTE bMode);

[; ;lib\SystemTimer.h: 50: extern void SystemTimer_TickWait(BYTE bTicks);

[; ;lib\SystemTimer.h: 51: extern void SystemTimer_SetTimer(BYTE bNewTimerValue);

[; ;lib\SystemTimer.h: 52: extern BYTE SystemTimer_bGetTimer( void );

[; ;lib\SystemTimer.h: 54: extern BYTE SystemTimer_bGetTickCntr(void);

[; ;lib\SystemTimer.h: 57: extern unsigned int SystemTimer_iGetTickCntr(void);

[; ;lib\SystemTimer.h: 83: extern BYTE SystemTimer_fTick;

[; ;driverdecl.h: 62: extern CMX_BLINKINGLED_ParameterBlock const pse_BlueLED;

[; ;driverdecl.h: 63: extern CMX_BLINKINGLED_ParameterBlock const pse_RedLED;

[; ;driverdecl.h: 64: extern CMX_BLINKINGLED_ParameterBlock const pse_GreenLED;

[; ;driverdecl.h: 65: extern CMX_I2C_ParameterBlock const pse_I2CSlave;

[; ;driverdecl.h: 66: extern CMX_mVolts_ParameterBlock const pse_Temperature_THERM;

[; ;driverdecl.h: 67: extern CMX_mVolts_ParameterBlock const pse_Temperature_EXC;

[; ;driverdecl.h: 68: extern CMX_GENERICPWM_ParameterBlock const pse_Buzzer;

[; ;driverdecl.h: 69: extern CMX_INTERVAL_ParameterBlock const pse_SyncedBlinkTimer;

[; ;driverdecl.h: 70: extern CMX_FTTHERM_ParameterBlock const pse_Temperature;

[; ;SystemVars.h: 11: void UpdateVariables( void);

"26 ./SystemVars.h
[s S16 `uc 1 `uc 1 `uc 1 `uc 1 `uc 1 `uc 1 `i 1 ]
[n S16 . pse_BlueLED pse_Buzzer pse_GreenLED pse_RedLED pse_SyncedBlinkTimer pse_TempRange pse_Temperature_Temp ]
"27
[s S15 `S16 1 ]
[n S15 . ReadOnlyVars ]
[v _SYSTEM_VARS_STRUC `S15 1 t ]
[; ;SystemVars.h: 13: typedef struct

[; ;SystemVars.h: 14: {

[; ;SystemVars.h: 16: struct

[; ;SystemVars.h: 17: {

[; ;SystemVars.h: 18: BYTE pse_BlueLED;

[; ;SystemVars.h: 19: BYTE pse_Buzzer;

[; ;SystemVars.h: 20: BYTE pse_GreenLED;

[; ;SystemVars.h: 21: BYTE pse_RedLED;

[; ;SystemVars.h: 22: BYTE pse_SyncedBlinkTimer;

[; ;SystemVars.h: 23: BYTE pse_TempRange;

[; ;SystemVars.h: 24: INT pse_Temperature_Temp;

[; ;SystemVars.h: 26: } ReadOnlyVars;

[; ;SystemVars.h: 27: } SYSTEM_VARS_STRUC;

[; ;CMXSystemExtern.h: 8: extern SYSTEM_CONSTANT_STRUC const SystemConst;

"9 ./CMXSystemExtern.h
[v F563 `*v -> 0 `x t ]
[v F564 `*v 1 t ]
[; ;CMXSystemExtern.h: 9: extern void * const FunctionParams[];

[; ;CMXSystemExtern.h: 10: extern SYSTEM_VARS_STRUC SystemVars;

"8 ./driverdecl.c
[v _pse_BlueLED `CS1 1 e ]
[i _pse_BlueLED
:U ..
:U ..
-> -> 1 `i `uc
-> -> 32 `i `uc
-> -> 1 `i `uc
-> -> 1 `i `uc
-> -> 1 `i `uc
-> -> 0 `i `uc
-> -> 0 `i `uc
..
..
][; ;driverdecl.c: 8: const CMX_BLINKINGLED_ParameterBlock pse_BlueLED = { 1, 32, 1, 1, 1, 0, 0};

"9
[v _pse_RedLED `CS1 1 e ]
[i _pse_RedLED
:U ..
:U ..
-> -> 2 `i `uc
-> -> 32 `i `uc
-> -> 1 `i `uc
-> -> 1 `i `uc
-> -> 1 `i `uc
-> -> 1 `i `uc
-> -> 1 `i `uc
..
..
][; ;driverdecl.c: 9: const CMX_BLINKINGLED_ParameterBlock pse_RedLED = { 2, 32, 1, 1, 1, 1, 1};

"10
[v _pse_GreenLED `CS1 1 e ]
[i _pse_GreenLED
:U ..
:U ..
-> -> 3 `i `uc
-> -> 32 `i `uc
-> -> 1 `i `uc
-> -> 1 `i `uc
-> -> 1 `i `uc
-> -> 2 `i `uc
-> -> 2 `i `uc
..
..
][; ;driverdecl.c: 10: const CMX_BLINKINGLED_ParameterBlock pse_GreenLED = { 3, 32, 1, 1, 1, 2, 2};

"14
[v _pse_I2CSlave `CS2 1 e ]
[i _pse_I2CSlave
:U ..
:U ..
-> -> 4 `i `uc
-> -> 5 `i `uc
-> -> 8 `i `uc
-> -> 0 `i `uc
"10 ./CMXSystemExtern.h
[v _SystemVars `S15 0 e ]
"14 ./driverdecl.c
-> &U _SystemVars `*uc
-> -> 34 `i `uc
"8 ./CMXSystemExtern.h
[v _SystemConst `CS12 0 e ]
"14 ./driverdecl.c
-> &U _SystemConst `*Cuc
..
..
][; ;driverdecl.c: 14: const CMX_I2C_ParameterBlock pse_I2CSlave = { 4, 5, (BYTE)8, (BYTE)0, (BYTE *) &SystemVars, (BYTE)34, (BYTE const *)&SystemConst };

"16
[v _pse_Temperature_THERM `CS3 1 e ]
[i _pse_Temperature_THERM
:U ..
:U ..
-> -> 5 `i `uc
-> -> 0 `i `uc
-> 1 `i
-> 1 `i
..
..
][; ;driverdecl.c: 16: const CMX_mVolts_ParameterBlock pse_Temperature_THERM = { 5, 0, 1, 1};

"17
[v _pse_Temperature_EXC `CS3 1 e ]
[i _pse_Temperature_EXC
:U ..
:U ..
-> -> 6 `i `uc
-> -> 1 `i `uc
-> 1 `i
-> 1 `i
..
..
][; ;driverdecl.c: 17: const CMX_mVolts_ParameterBlock pse_Temperature_EXC = { 6, 1, 1, 1};

"18
[v _pse_Buzzer `CS4 1 e ]
[i _pse_Buzzer
:U ..
:U ..
-> -> 7 `i `uc
-> -> 0 `i `uc
-> -> 1 `i `uc
..
..
][; ;driverdecl.c: 18: const CMX_GENERICPWM_ParameterBlock pse_Buzzer = { 7, 0, 1 };

"19
[v _pse_SyncedBlinkTimer `CS5 1 e ]
[i _pse_SyncedBlinkTimer
:U ..
:U ..
-> -> 0 `i `uc
>> -> 250 `i -> 4 `i
-> -> 1 `i `uc
..
..
][; ;driverdecl.c: 19: const CMX_INTERVAL_ParameterBlock pse_SyncedBlinkTimer = {0, 250>>4, 1 };

"20
[v _pse_Temperature `CS6 1 e ]
[i _pse_Temperature
:U ..
:U ..
"22
&U _pse_Temperature_EXC
"23
&U _pse_Temperature_THERM
..
..
][; ;driverdecl.c: 20: CMX_FTTHERM_ParameterBlock const pse_Temperature =

[; ;driverdecl.c: 21: {

[; ;driverdecl.c: 22: &pse_Temperature_EXC,

[; ;driverdecl.c: 23: &pse_Temperature_THERM,

[; ;driverdecl.c: 25: };

"27
[v F571 `*v -> 0 `x t ]
[v _DriverParams `C*v -> 0 `x e ]
[i _DriverParams
:U ..
"29
-> -> 0 `i `*v
"30
-> &U _pse_BlueLED `*v
"31
-> &U _pse_RedLED `*v
"32
-> &U _pse_GreenLED `*v
"33
-> &U _pse_I2CSlave `*v
"34
-> &U _pse_Temperature_THERM `*v
"35
-> &U _pse_Temperature_EXC `*v
"36
-> &U _pse_Buzzer `*v
"37
-> &U _pse_SyncedBlinkTimer `*v
"38
-> &U _pse_Temperature `*v
..
][; ;driverdecl.c: 27: void * const DriverParams[] =

[; ;driverdecl.c: 28: {

[; ;driverdecl.c: 29: (void *)0,

[; ;driverdecl.c: 30: (void *)&pse_BlueLED,

[; ;driverdecl.c: 31: (void *)&pse_RedLED,

[; ;driverdecl.c: 32: (void *)&pse_GreenLED,

[; ;driverdecl.c: 33: (void *)&pse_I2CSlave,

[; ;driverdecl.c: 34: (void *)&pse_Temperature_THERM,

[; ;driverdecl.c: 35: (void *)&pse_Temperature_EXC,

[; ;driverdecl.c: 36: (void *)&pse_Buzzer,

[; ;driverdecl.c: 37: (void *)&pse_SyncedBlinkTimer,

[; ;driverdecl.c: 38: (void *)&pse_Temperature,

[; ;driverdecl.c: 40: };

⌨️ 快捷键说明

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