Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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
22
#ifndef PERIPH_GPIO_UTIL_H
23
#define PERIPH_GPIO_UTIL_H
24
25
#include "
gpio.h
"
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
41
uint8_t
gpio_util_shiftin
(gpio_t data_pin, gpio_t clock_pin);
42
43
#ifdef __cplusplus
44
}
45
#endif
46
#endif
/* PERIPH_GPIO_UTIL_H */
gpio.h
Low-level GPIO peripheral driver interface definitions.
gpio_util_shiftin
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.
Generated on Sat Dec 21 2024 20:58:03 by
1.9.8