Home
last modified time | relevance | path

Searched refs:led_num (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/firmware/os/drivers/leds/
Dleds_gpio.c115 if (lcfg->led_num >= mTask.num) { in sensorConfigLedsGpio()
116 osLog(LOG_INFO, "Wrong led number %"PRIu32"\n", lcfg->led_num); in sensorConfigLedsGpio()
119 mTask.leds[lcfg->led_num].val = lcfg->value ? 1 : 0; in sensorConfigLedsGpio()
120 gpioSet(mTask.leds[lcfg->led_num].ledid, mTask.leds[lcfg->led_num].val); in sensorConfigLedsGpio()
122 osLog(LOG_INFO, "Set led[%"PRIu32"]=%"PRIu32"\n", lcfg->led_num, lcfg->value); in sensorConfigLedsGpio()
Dleds_lp3943.c224 if (lcfg->led_num >= mTask.num) { in sensorCfgDataLedsLP3943()
225 osLog(LOG_INFO, "Wrong led number %"PRIu32"\n", lcfg->led_num); in sensorCfgDataLedsLP3943()
228 index = lcfg->led_num >> 2; in sensorCfgDataLedsLP3943()
229 lnum = (lcfg->led_num & 0x3) << 1; in sensorCfgDataLedsLP3943()
240 osLog(LOG_INFO, "Set led[%"PRIu32"]=%"PRIu32"\n", lcfg->led_num, lcfg->value); in sensorCfgDataLedsLP3943()
/device/google/contexthub/firmware/os/inc/
Dleds_gpio.h29 uint32_t led_num; member
/device/google/contexthub/util/nanoapp_cmd/
Dnanoapp_cmd.c93 uint32_t led_num; member
521 mLedsCfg.led_num = atoi(argv[3]); in main()