更新UCD-API库及文档

This commit is contained in:
xinzhu.yin
2026-07-02 17:16:18 +08:00
parent a500751d85
commit 9fa811a9eb
290 changed files with 9558 additions and 2306 deletions

View File

@@ -0,0 +1,30 @@
from UniTAP.dev.ports.modules.earc.earc_tx import EarcTx
from .hdrx import HDRX, PortIO, MemoryManager, Capturer
class HDRX_eARC(HDRX):
"""
Main class of `HDRX` object.
Inherited from class `RX`.
Class describes capabilities of 300th (3XX) series of HDMI devices in Sink (RX - receiver) role with eARC support.
Attributes:
__earc (EarcTx): object of `EarcTx`.
"""
def __init__(self, port_io: PortIO, memory_manager: MemoryManager, capturer: Capturer):
super().__init__(port_io, memory_manager, capturer)
self.__earc = EarcTx(port_io, memory_manager)
@property
def earc(self) -> EarcTx:
"""
Should be used to control link capabilities on Sink (RX - receiver) role.
Returns:
object of `EarcTx` type.
"""
return self.__earc