gpio_util.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2019 Philipp-Alexander Blum <philipp-blum@jakiku.de>
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
9 #pragma once
10 
24 #include "gpio.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
40 uint8_t gpio_util_shiftin(gpio_t data_pin, gpio_t clock_pin);
41 
42 #ifdef __cplusplus
43 }
44 #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.