Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/sensor/maxim/max30101/
Dmax30101.c53 enum max30101_led_channel led_chan; in max30101_channel_get() local
58 led_chan = MAX30101_LED_CHANNEL_RED; in max30101_channel_get()
62 led_chan = MAX30101_LED_CHANNEL_IR; in max30101_channel_get()
66 led_chan = MAX30101_LED_CHANNEL_GREEN; in max30101_channel_get()
78 fifo_chan = data->map[led_chan]; in max30101_channel_get()
102 uint32_t led_chan; in max30101_init() local
188 for (led_chan = 0U; led_chan < MAX30101_MAX_NUM_CHANNELS; led_chan++) { in max30101_init()
189 data->map[led_chan] = MAX30101_MAX_NUM_CHANNELS; in max30101_init()
197 led_chan = (config->slot[fifo_chan] & MAX30101_SLOT_LED_MASK)-1; in max30101_init()
198 if (led_chan < MAX30101_MAX_NUM_CHANNELS) { in max30101_init()
[all …]