pub unsafe extern "C" fn gpio_util_shiftin(
    data_pin: gpio_t,
    clock_pin: gpio_t
) -> u8
Expand description

@brief 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.

@param[in] data_pin Pin to read data from @param clock_pin Pin to create clock pulses on @return the resulting uint8_t of the shift (MSB first)