Searched refs:intMode (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/components/py_engine/modules/driver/ |
A D | board_mgr.c | 95 cJSON *intMode = NULL; in board_parse_gpio() local 123 intMode = cJSON_GetObjectItem(item, GPIO_INTMODE); in board_parse_gpio() 152 if (strcmp(GPIO_INT_RISING, intMode->valuestring) == 0) in board_parse_gpio() 154 else if (strcmp(GPIO_INT_FALLING, intMode->valuestring) == 0) in board_parse_gpio() 156 else if (strcmp(GPIO_INT_BOTH, intMode->valuestring) == 0) in board_parse_gpio() 158 else if (strcmp(GPIO_INT_HIGH_LEVEL, intMode->valuestring) == 0) in board_parse_gpio() 160 else if (strcmp(GPIO_INT_LOW_LEVEL, intMode->valuestring) == 0) in board_parse_gpio()
|
/AliOS-Things-master/components/amp/services/board_mgr/ |
A D | board_mgr.c | 103 cJSON *intMode = NULL; in board_parse_gpio() local 136 intMode = cJSON_GetObjectItem(item, GPIO_INTMODE); in board_parse_gpio() 168 if (strcmp(GPIO_INT_RISING, intMode->valuestring) == 0) in board_parse_gpio() 170 else if (strcmp(GPIO_INT_FALLING, intMode->valuestring) == 0) in board_parse_gpio() 172 else if (strcmp(GPIO_INT_BOTH, intMode->valuestring) == 0) in board_parse_gpio() 174 else if (strcmp(GPIO_INT_HIGH_LEVEL, intMode->valuestring) == 0) in board_parse_gpio() 176 else if (strcmp(GPIO_INT_LOW_LEVEL, intMode->valuestring) == 0) in board_parse_gpio()
|
Completed in 7 milliseconds