Loading...
Searching...
No Matches
gpio_util.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2019 Philipp-Alexander Blum <philipp-blum@jakiku.de>
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
20
21#include "gpio.h"
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
37uint8_t gpio_util_shiftin(gpio_t data_pin, gpio_t clock_pin);
38
39#ifdef __cplusplus
40}
41#endif
Low-level GPIO peripheral driver interface definitions.
uint8_t gpio_util_shiftin(gpio_t data_pin, gpio_t clock_pin)
Shift in a byte from data_pin, create clock pulses on clock_pin.