Searched refs:raw_read (Results 1 – 1 of 1) sorted by relevance
602 uint8_t raw_read; in mv_gpio_double_edge_init() local608 raw_read = (mv_gpio_value_get(dev, pin, 1) ? 1 : 0); in mv_gpio_double_edge_init()610 if (raw_read) in mv_gpio_double_edge_init()662 uint8_t raw_read; in mv_gpio_debounce_init() local671 raw_read = (mv_gpio_value_get(dev, pin, 1) ? 1 : 0); in mv_gpio_debounce_init()672 if (raw_read) { in mv_gpio_debounce_init()680 mv_gpio_debounced_state_set(dev, pin, raw_read); in mv_gpio_debounce_init()722 uint8_t raw_read, last_state; in mv_gpio_debounce() local736 raw_read = (mv_gpio_value_get(dev, pin, 1) ? 1 : 0); in mv_gpio_debounce()740 if (raw_read == last_state) { in mv_gpio_debounce()[all …]