Home
last modified time | relevance | path

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

/vendor/hisilicon/hispark_pegasus/demo/robot_demo/robot_car/
H A Drobot_control.c34 #define GPIO5 5 macro
47 IoTGpioInit(GPIO5); in switch_init()
48 hi_io_set_func(GPIO5, FUNC_GPIO); in switch_init()
49 IoTGpioSetDir(GPIO5, IOT_GPIO_DIR_IN); in switch_init()
50 hi_io_set_pull(GPIO5, IOT_IO_PULL_UP); in switch_init()
131 ret = IoTGpioRegisterIsrFunc(GPIO5, IOT_INT_TYPE_EDGE, IOT_GPIO_EDGE_FALL_LEVEL_LOW, get_gpio5_voltage, NULL); in interrupt_monitor()

Completed in 2 milliseconds