genode/repos/os/include/pin_control_session
Norman Feske 49b4b8597d os/pin_driver: support for time-multiplexed in/out
This patch equips the pin-driver framework with support for the
time-multiplexed operation of a pin as output or input. This is needed
when implementing I2C communication via a bit-banging driver.

To operate pin in both directions, a driver obtains both a pin-state and
a pin-control session for the same pin. The pin-state session can be
used to sense the current pin state. The control session allows the
client to set the pin to high or low (using the 'state' method), or to
set it to high-impedance via the 'yield' method. Once switched to
high-impedance, the pin can be used as input.

Issue genodelabs/genode-allwinner#10
2022-11-17 08:00:35 +01:00
..
component.h os/pin_driver: support for time-multiplexed in/out 2022-11-17 08:00:35 +01:00
connection.h os/pin_driver: support for time-multiplexed in/out 2022-11-17 08:00:35 +01:00
pin_control_session.h os/pin_driver: support for time-multiplexed in/out 2022-11-17 08:00:35 +01:00