tfp410 — DVI/HDMI Controller¶
The tfp410 module provides a driver for the TFP410 DVI/HDMI serializer used to
drive an external DVI/HDMI display via a 24-bit parallel LCD bus.
class TFP410 – DVI/HDMI Controller¶
- class tfp410.TFP410(*, i2c_addr: int = 0x3F)¶
Initializes the TFP410 DVI/HDMI controller chip.
i2c_addris the I2C address of the TFP410.- hotplug_callback(callback: Callable[[bool], None] | None) None¶
Registers a
callbackfunction that will be called whenever the connection state of an external display changes. The new connection state (bool) is passed as the only argument tocallback.Pass
Noneascallbackto disable the hotplug callback.While a callback is registered, do not call
TFP410.isconnected().