Home
last modified time | relevance | path

Searched refs:PLATFORM_GPIO_NUM (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/amp_adapter/platform/linux/peripheral/
A Daos_hal_gpio.c14 #define PLATFORM_GPIO_NUM CONFIG_GPIO_NUM macro
16 #define PLATFORM_GPIO_NUM 40 macro
19 static uint8_t gpio_value[PLATFORM_GPIO_NUM * 2] = { 0 };
23 memset(gpio_value, 0, PLATFORM_GPIO_NUM * 2); in aos_hal_gpio_init()
/AliOS-Things-master/components/drivers/peripheral/gpio/src/
A Dgpio_dev.c14 #define PLATFORM_GPIO_NUM CONFIG_GPIO_NUM macro
16 #define PLATFORM_GPIO_NUM 40 macro
19 #if (PLATFORM_GPIO_NUM > 0)
23 static gpio_config_t gpio_hal_configs[PLATFORM_GPIO_NUM];
56 if (!config || config->id >= PLATFORM_GPIO_NUM) { in gpio_io_set()
112 if (!config || config->id >= PLATFORM_GPIO_NUM) { in gpio_io_get()
156 if (!config || config->id >= PLATFORM_GPIO_NUM) { in gpio_irq_set()
291 for (i = 0; i < PLATFORM_GPIO_NUM; i++) in vfs_gpio_drv_init()
/AliOS-Things-master/components/amp_adapter/platform/aos/peripheral/
A Daos_hal_gpio.c15 #define PLATFORM_GPIO_NUM CONFIG_GPIO_NUM macro
17 #define PLATFORM_GPIO_NUM 40 macro
23 if (!gpio || gpio->port >= PLATFORM_GPIO_NUM) in aos_hal_gpio_init()
142 if (!gpio || gpio->port >= PLATFORM_GPIO_NUM) in aos_hal_gpio_output_high()
156 if (!gpio || gpio->port >= PLATFORM_GPIO_NUM) in aos_hal_gpio_output_low()
285 if (!gpio || gpio->port >= PLATFORM_GPIO_NUM) in aos_hal_gpio_finalize()

Completed in 4 milliseconds