void SiiMhlTxDrvTimerPollingCallBack(void *pArg) { APP_DEBUG_PRINT("TIMER_POLLING expired\n"); PlatformGPIOSet(pinSinkVbusOn,PlatformGPIOGet(pinMhlVbusSense)); HalTimerSet(TIMER_POLLING,T_MONITORING_PERIOD); // do nothing }
bool_t SiiDrvHdmiTxLiteIsHdcpSupported (void) { uint8_t revision; bool_t supported; supported = true; // Check Device ID revision = SiiRegRead(TPI_HDCP_REVISION_DATA_REG); if (revision != (HDCP_MAJOR_REVISION_VALUE | HDCP_MINOR_REVISION_VALUE)) { supported = false; HDCP_DEBUG_PRINT(("%sHdmiTxDrv: HDCP not supported. revision:0x%02x\n%s",PlatformGPIOGet(pinDoHdcp)?"\n\n\n":"",(uint16_t)revision,PlatformGPIOGet(pinDoHdcp)?"\n\n\n":"" )); } return supported; }