GPIO I/O utility functions. More...
GPIO I/O utility functions.
Files | |
file | gpio_util.h |
GPIO I/O utility function implementations. | |
Functions | |
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. | |
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.
This function has the same functionality as the Arduino shiftIn() in Advanced I/O.
[in] | data_pin | Pin to read data from |
clock_pin | Pin to create clock pulses on |