Home
last modified time | relevance | path

Searched refs:GetKeyStatus (Results 1 - 22 of 22) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/environment_demo/
H A Dapp_demo_multi_sample.c54 /* GetKeyStatus */
55 unsigned char GetKeyStatus(GlobalStatuDef staDef) in GetKeyStatus() function
156 currentMode = GetKeyStatus(CURRENT_MODE); in ControlModeSample()
157 currentType = GetKeyStatus(CURRENT_TYPE); in ControlModeSample()
159 switch (GetKeyStatus(CURRENT_TYPE)) { in ControlModeSample()
179 if ((currentMode != GetKeyStatus(CURRENT_MODE)) || (currentType != GetKeyStatus(CURRENT_TYPE))) { in ControlModeSample()
194 currentMode = GetKeyStatus(CURRENT_MODE); in DelayAndCheckKeyInterrupt()
195 currentType = GetKeyStatus(CURRENT_TYPE); in DelayAndCheckKeyInterrupt()
198 if ((currentMode != GetKeyStatus(CURRENT_MOD in DelayAndCheckKeyInterrupt()
[all...]
H A Dapp_demo_environment.c37 currentMode = GetKeyStatus(CURRENT_MODE); in ShowTemperatureValue()
45 if (currentMode != GetKeyStatus(CURRENT_MODE)) { in ShowTemperatureValue()
46 currentMode = GetKeyStatus(CURRENT_MODE); in ShowTemperatureValue()
61 currentMode = GetKeyStatus(CURRENT_MODE); in ShowHumidityValue()
68 if (currentMode != GetKeyStatus(CURRENT_MODE)) { in ShowHumidityValue()
82 currentMode = GetKeyStatus(CURRENT_MODE); in ShowCombustibleGasValue()
95 if (currentMode != GetKeyStatus(CURRENT_MODE)) { in ShowCombustibleGasValue()
96 currentMode = GetKeyStatus(CURRENT_MODE); in ShowCombustibleGasValue()
H A Dapp_demo_config.c36 currentMode = GetKeyStatus(CURRENT_MODE); in ReturnAllModeEnumSample()
38 if (currentMode != GetKeyStatus(CURRENT_MODE)) { in ReturnAllModeEnumSample()
39 currentMode = GetKeyStatus(CURRENT_MODE); in ReturnAllModeEnumSample()
54 currentMode = GetKeyStatus(CURRENT_MODE); in ShowAllEnvironmentValue()
77 if (currentMode != GetKeyStatus(CURRENT_MODE)) { in ShowAllEnvironmentValue()
78 currentMode = GetKeyStatus(CURRENT_MODE); in ShowAllEnvironmentValue()
212 switch (GetKeyStatus(CURRENT_MODE)) { in EnvironmentDisplay()
H A Dapp_demo_multi_sample.h287 unsigned char GetKeyStatus(GlobalStatuDef staDef);
/vendor/hisilicon/hispark_pegasus/demo/histreaming_demo/
H A Dapp_demo_multi_sample.c54 /* GetKeyStatus */
55 unsigned char GetKeyStatus(GlobalStatuDef staDef) in GetKeyStatus() function
156 currentMode = GetKeyStatus(CURRENT_MODE); in ControlModeSample()
157 currentType = GetKeyStatus(CURRENT_TYPE); in ControlModeSample()
159 switch (GetKeyStatus(CURRENT_TYPE)) { in ControlModeSample()
179 if ((currentMode != GetKeyStatus(CURRENT_MODE)) || (currentType != GetKeyStatus(CURRENT_TYPE))) { in ControlModeSample()
194 currentMode = GetKeyStatus(CURRENT_MODE); in DelayAndCheckKeyInterrupt()
195 currentType = GetKeyStatus(CURRENT_TYPE); in DelayAndCheckKeyInterrupt()
198 if ((currentMode != GetKeyStatus(CURRENT_MOD in DelayAndCheckKeyInterrupt()
[all...]
H A Dapp_demo_config.c128 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum9()
139 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLightTimeShowNum8()
150 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum7()
161 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum6()
172 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum5()
183 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum4()
194 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum3()
205 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum2()
216 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum1()
227 if (GetKeyStatus(OC_BEEP_STATU in RedOledLedLigthTimeShowNum0()
[all...]
H A Dapp_demo_traffic_sample.c50 currentMode = GetKeyStatus(CURRENT_MODE); in TrafficControlModeSample()
51 currentType = GetKeyStatus(CURRENT_TYPE); in TrafficControlModeSample()
52 switch (GetKeyStatus(CURRENT_TYPE)) { in TrafficControlModeSample()
76 if ((currentMode != GetKeyStatus(CURRENT_MODE)) || (currentType != GetKeyStatus(CURRENT_TYPE))) { in TrafficControlModeSample()
79 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in TrafficControlModeSample()
H A Dapp_demo_multi_sample.h286 unsigned char GetKeyStatus(GlobalStatuDef staDef);
H A Dapp_demo_i2c_oled.c588 if (GetKeyStatus(MENU_SELECT) == COLORFUL_LIGHT_MENU) { in OledMainMenuDisplay()
591 } else if (GetKeyStatus(MENU_SELECT) == TRAFFIC_LIGHT_MENU) { in OledMainMenuDisplay()
594 } else if (GetKeyStatus(MENU_SELECT) == ENVIRONMENT_MENU) { in OledMainMenuDisplay()
597 } else if (GetKeyStatus(MENU_SELECT) == NFC_TEST_MENU) { in OledMainMenuDisplay()
/vendor/hisilicon/hispark_pegasus/demo/oc_demo/
H A Dapp_demo_multi_sample.c55 /* GetKeyStatus */
56 unsigned char GetKeyStatus(GlobalStatuDef staDef) in GetKeyStatus() function
157 currentMode = GetKeyStatus(CURRENT_MODE); in ControlModeSample()
158 currentType = GetKeyStatus(CURRENT_TYPE); in ControlModeSample()
160 switch (GetKeyStatus(CURRENT_TYPE)) { in ControlModeSample()
180 if ((currentMode != GetKeyStatus(CURRENT_MODE)) || (currentType != GetKeyStatus(CURRENT_TYPE))) { in ControlModeSample()
195 currentMode = GetKeyStatus(CURRENT_MODE); in DelayAndCheckKeyInterrupt()
196 currentType = GetKeyStatus(CURRENT_TYPE); in DelayAndCheckKeyInterrupt()
199 if ((currentMode != GetKeyStatus(CURRENT_MOD in DelayAndCheckKeyInterrupt()
[all...]
H A Dapp_demo_config.c113 /* GetKeyStatus */
156 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum9()
167 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLightTimeShowNum8()
178 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum7()
189 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum6()
200 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum5()
211 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum4()
222 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum3()
233 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum2()
244 if (GetKeyStatus(OC_BEEP_STATU in RedOledLedLigthTimeShowNum1()
[all...]
H A Dapp_demo_traffic_sample.c50 currentMode = GetKeyStatus(CURRENT_MODE); in TrafficControlModeSample()
51 currentType = GetKeyStatus(CURRENT_TYPE); in TrafficControlModeSample()
52 switch (GetKeyStatus(CURRENT_TYPE)) { in TrafficControlModeSample()
76 if ((currentMode != GetKeyStatus(CURRENT_MODE)) || (currentType != GetKeyStatus(CURRENT_TYPE))) { in TrafficControlModeSample()
79 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in TrafficControlModeSample()
H A Dapp_demo_multi_sample.h286 unsigned char GetKeyStatus(GlobalStatuDef staDef);
H A Dapp_demo_iot.c62 switch (GetKeyStatus(CURRENT_MODE)) { in TrafficLightAppOption()
301 status = GetKeyStatus(TRAFFIC_HUMAN_MODE); in SetupTrflHumanModule()
365 switch (GetKeyStatus(CURRENT_MODE)) { in ReportTrafficLightMsg()
H A Dapp_demo_i2c_oled.c588 if (GetKeyStatus(MENU_SELECT) == COLORFUL_LIGHT_MENU) { in OledMainMenuDisplay()
591 } else if (GetKeyStatus(MENU_SELECT) == TRAFFIC_LIGHT_MENU) { in OledMainMenuDisplay()
594 } else if (GetKeyStatus(MENU_SELECT) == ENVIRONMENT_MENU) { in OledMainMenuDisplay()
597 } else if (GetKeyStatus(MENU_SELECT) == NFC_TEST_MENU) { in OledMainMenuDisplay()
/vendor/hisilicon/hispark_pegasus/demo/traffic_light_demo/
H A Dapp_demo_multi_sample.c54 /* GetKeyStatus */
55 unsigned char GetKeyStatus(GloableStatuDef staDef) in GetKeyStatus() function
156 currentMode = GetKeyStatus(CURRENT_MODE); in ControlModeSample()
157 currentType = GetKeyStatus(CURRENT_TYPE); in ControlModeSample()
159 switch (GetKeyStatus(CURRENT_TYPE)) { in ControlModeSample()
179 if ((currentMode != GetKeyStatus(CURRENT_MODE)) || (currentType != GetKeyStatus(CURRENT_TYPE))) { in ControlModeSample()
194 currentMode = GetKeyStatus(CURRENT_MODE); in DelayAndCheckKeyInterrupt()
195 currentType = GetKeyStatus(CURRENT_TYPE); in DelayAndCheckKeyInterrupt()
198 if ((currentMode != GetKeyStatus(CURRENT_MOD in DelayAndCheckKeyInterrupt()
[all...]
H A Dapp_demo_config.c128 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum9()
139 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum8()
150 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum7()
161 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum6()
172 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum5()
183 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum4()
194 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum3()
205 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum2()
216 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in RedOledLedLigthTimeShowNum1()
227 if (GetKeyStatus(OC_BEEP_STATU in RedOledLedLigthTimeShowNum0()
[all...]
H A Dapp_demo_traffic_sample.c50 currentMode = GetKeyStatus(CURRENT_MODE); in TrafficControlModeSample()
51 currentType = GetKeyStatus(CURRENT_TYPE); in TrafficControlModeSample()
52 switch (GetKeyStatus(CURRENT_TYPE)) { in TrafficControlModeSample()
76 if ((currentMode != GetKeyStatus(CURRENT_MODE)) || (currentType != GetKeyStatus(CURRENT_TYPE))) { in TrafficControlModeSample()
79 if (GetKeyStatus(OC_BEEP_STATUS) == BEEP_ON) { in TrafficControlModeSample()
H A Dapp_demo_multi_sample.h286 unsigned char GetKeyStatus(GloableStatuDef staDef);
H A Dapp_demo_i2c_oled.c588 if (GetKeyStatus(MENU_SELECT) == COLORFUL_LIGHT_MENU) { in OledMainMenuDisplay()
591 } else if (GetKeyStatus(MENU_SELECT) == TRAFFIC_LIGHT_MENU) { in OledMainMenuDisplay()
594 } else if (GetKeyStatus(MENU_SELECT) == ENVIRONMENT_MENU) { in OledMainMenuDisplay()
597 } else if (GetKeyStatus(MENU_SELECT) == NFC_TEST_MENU) { in OledMainMenuDisplay()
/vendor/hisilicon/hispark_pegasus/demo/nfc_demo/
H A Dapp_demo_multi_sample.c54 /* GetKeyStatus */
55 unsigned char GetKeyStatus(GlobalStatuDef staDef) in GetKeyStatus() function
156 currentMode = GetKeyStatus(CURRENT_MODE); in ControlModeSample()
157 currentType = GetKeyStatus(CURRENT_TYPE); in ControlModeSample()
159 switch (GetKeyStatus(CURRENT_TYPE)) { in ControlModeSample()
179 if ((currentMode != GetKeyStatus(CURRENT_MODE)) || (currentType != GetKeyStatus(CURRENT_TYPE))) { in ControlModeSample()
194 currentMode = GetKeyStatus(CURRENT_MODE); in DelayAndCheckKeyInterrupt()
195 currentType = GetKeyStatus(CURRENT_TYPE); in DelayAndCheckKeyInterrupt()
198 if ((currentMode != GetKeyStatus(CURRENT_MOD in DelayAndCheckKeyInterrupt()
[all...]
H A Dapp_demo_multi_sample.h286 unsigned char GetKeyStatus(GlobalStatuDef staDef);

Completed in 24 milliseconds