periph icon indicating copy to clipboard operation
periph copied to clipboard

gpiostream: Declare full duplex Conn

Open maruel opened this issue 6 years ago • 1 comments

There's currently conn.Conn.Tx() which works on bytes. We need the same but that works on bits and that is clocked on a predefined mechanism, like SPI modes 0~3, UART and PCM modes. This communication mode is only meant for bits based protocols, not byte based ones.

A superset of this functionality is to enable parallel outputs, that is, group multiple pins together and clock their output simultaneously.

maruel avatar Apr 16 '18 13:04 maruel

The more I think about it, the more it could look like a simplified version of https://periph.io/x/periph/conn/spi#Packet

maruel avatar Jan 14 '19 19:01 maruel

Ported to https://github.com/periph/conn/issues/32.

maruel avatar Sep 20 '23 17:09 maruel