Home
last modified time | relevance | path

Searched refs:gpio (Results 1 - 12 of 12) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/robot_demo/robot_car/
H A Drobot_l9110s.c36 void gpio_control (unsigned int gpio, IotGpioValue value) in gpio_control() argument
38 hi_io_set_func(gpio, GPIOFUNC); in gpio_control()
39 IoTGpioSetDir(gpio, IOT_GPIO_DIR_OUT); in gpio_control()
40 IoTGpioSetOutputVal(gpio, value); in gpio_control()
/vendor/hisilicon/hispark_pegasus/demo/robot_demo/robot/
H A Drobot_l9110s.c36 void gpio_control (unsigned int gpio, IotGpioValue value) in gpio_control() argument
38 hi_io_set_func(gpio, GPIOFUNC); in gpio_control()
39 IoTGpioSetDir(gpio, IOT_GPIO_DIR_OUT); in gpio_control()
40 IoTGpioSetOutputVal(gpio, value); in gpio_control()
/vendor/hisilicon/hispark_pegasus/demo/histreaming_demo/
H A Dapp_demo_multi_sample.h259 void GpioControl(unsigned int gpio, unsigned int id, IotGpioDir dir, IotGpioValue gpioVal, unsigned char val);
H A Dapp_demo_multi_sample.c93 /* gpio init */
94 void GpioControl(unsigned int gpio, unsigned int id, IotGpioDir dir, IotGpioValue gpioVal, in GpioControl() argument
97 IoSetFunc(gpio, val); in GpioControl()
107 /* gpio key init */
734 printf("gpio key 1 down\r\n"); in GpioKey1IsrFuncMode()
736 printf("gpio key 1 menu select\r\n"); in GpioKey1IsrFuncMode()
745 printf("gpio key 1 current mode\r\n"); in GpioKey1IsrFuncMode()
834 printf("gpio key 2 down %d\r\n", globalStaType.g_currentType); in GpioKey2IsrFuncType()
884 printf(" register gpio 5\r\n"); in AppMultiSampleDemo()
/vendor/hisilicon/hispark_pegasus/demo/nfc_demo/
H A Dapp_demo_multi_sample.h259 void GpioControl(unsigned int gpio, unsigned int id, IotGpioDir dir, IotGpioValue gpioVal, unsigned char val);
H A Dapp_demo_multi_sample.c93 /* gpio init */
94 void GpioControl(unsigned int gpio, unsigned int id, IotGpioDir dir, IotGpioValue gpioVal, in GpioControl() argument
97 IoSetFunc(gpio, val); in GpioControl()
107 /* gpio key init */
734 printf("gpio key 1 down\r\n"); in GpioKey1IsrFuncMode()
736 printf("gpio key 1 current mode\r\n"); in GpioKey1IsrFuncMode()
823 printf("gpio key 2 down %d\r\n", globalStaType.g_currentType); in GpioKey2IsrFuncType()
873 printf(" register gpio 5\r\n"); in AppMultiSampleDemo()
/vendor/hisilicon/hispark_pegasus/demo/oc_demo/
H A Dapp_demo_multi_sample.h259 void GpioControl(unsigned int gpio, unsigned int id, IotGpioDir dir, IotGpioValue gpioVal, unsigned char val);
H A Dapp_demo_multi_sample.c94 /* gpio init */
95 void GpioControl(unsigned int gpio, unsigned int id, IotGpioDir dir, IotGpioValue gpioVal, in GpioControl() argument
98 IoSetFunc(gpio, val); in GpioControl()
108 /* gpio key init */
735 printf("gpio key 1 down\r\n"); in GpioKey1IsrFuncMode()
737 printf("gpio key 1 menu select\r\n"); in GpioKey1IsrFuncMode()
746 printf("gpio key 1 current mode\r\n"); in GpioKey1IsrFuncMode()
835 printf("gpio key 2 down %d\r\n", globalStaType.g_currentType); in GpioKey2IsrFuncType()
885 printf(" register gpio 5\r\n"); in AppMultiSampleDemo()
/vendor/hisilicon/hispark_pegasus/demo/traffic_light_demo/
H A Dapp_demo_multi_sample.h259 void GpioControl(unsigned int gpio, unsigned int id, IotGpioDir dir, IotGpioValue gpioVal, unsigned char val);
H A Dapp_demo_multi_sample.c93 /* gpio init */
94 void GpioControl(unsigned int gpio, unsigned int id, IotGpioDir dir, IotGpioValue gpioVal, in GpioControl() argument
97 IoSetFunc(gpio, val); in GpioControl()
107 /* gpio key init */
734 printf("gpio key 1 down\r\n"); in GpioKey1IsrFuncMode()
736 printf("gpio key 1 menu select\r\n"); in GpioKey1IsrFuncMode()
745 printf("gpio key 1 current mode\r\n"); in GpioKey1IsrFuncMode()
834 printf("gpio key 2 down %d\r\n", globalStaType.g_currentType); in GpioKey2IsrFuncType()
884 printf(" register gpio 5\r\n"); in AppMultiSampleDemo()
/vendor/hisilicon/hispark_pegasus/demo/environment_demo/
H A Dapp_demo_multi_sample.h260 void GpioControl(unsigned int gpio, unsigned int id, IotGpioDir dir, IotGpioValue gpioVal, unsigned char val);
H A Dapp_demo_multi_sample.c93 /* gpio init */
94 void GpioControl(unsigned int gpio, unsigned int id, IotGpioDir dir, IotGpioValue gpioVal, in GpioControl() argument
97 IoSetFunc(gpio, val); in GpioControl()
107 /* gpio key init */
734 printf("gpio key 1 down\r\n"); in GpioKey1IsrFuncMode()
736 printf("gpio key 1 menu select\r\n"); in GpioKey1IsrFuncMode()
745 printf("gpio key 1 current mode\r\n"); in GpioKey1IsrFuncMode()
834 printf("gpio key 2 down %d\r\n", globalStaType.g_currentType); in GpioKey2IsrFuncType()
884 printf(" register gpio 5\r\n"); in AppMultiSampleDemo()

Completed in 10 milliseconds