📄 sys_debug.h
字号:
// {"sr", (DEBUG_FN)SetRatingByUser},
// dvb_pio
{"p100", (DEBUG_FN)CT_GPIO_BitSet}, //"CT_GPIO_BitClear/CT_GPIO_BitSet"
// {"p102", (DEBUG_FN)dvb_pio_BitGet1},//"CT_GPIO_BitGet"
// dvb_av
//audio
{"a100", (DEBUG_FN)DVB_AudioSetVolume},
{"a101", (DEBUG_FN)DVB_AudioMode},
{"a102", (DEBUG_FN)DVB_SetAudioFreq},
//video
{"v105", (DEBUG_FN)DVB_VideoWeight},
{"v107", (DEBUG_FN)DVB_AudioVideoStop}, //"DVB_AudioVideoStop"
{"v108", (DEBUG_FN)DVB_VideoScreenEnable},//"DVB_VideoScreenEnable"
{"v109", (DEBUG_FN)DVB_VideoScreenShow}, //"DVB_VideoScreenShow"
{"v110", (DEBUG_FN)DVB_TVScreenEnable},//"DVB_TVScreenEnable"
{"v111", (DEBUG_FN)DVB_AVDemuxEnable}, //"DVB_AVDemuxEnable"
{"v112", (DEBUG_FN)DVB_AVDemuxDisable}, //"DVB_AudioMode"
{"v113", (DEBUG_FN)DVB_SetVideoFormat},//"DVB_SetVideoFormat"
{"v114", (DEBUG_FN)DVB_SetTVSystem},//"DVB_SetTVSystem"
{"v115", (DEBUG_FN)AV_SetVideoDisplay},
{"v120", (DEBUG_FN)DVB_VideoGetPicInfo},
//background
{"v200", (DEBUG_FN)DVB_BackgroundDisplay},
{"v201", (DEBUG_FN)AV_SetBackgroundWeight},
//osd
{"v300", (DEBUG_FN)DVB_OSDSwapRegion },
//LOGO
{"v400", (DEBUG_FN)USER_ShowLogo },
{"v501", (DEBUG_FN)CT_OSD_FrameDeactive},
{"v502", (DEBUG_FN)CT_OSD_FrameActive},
{"v503", (DEBUG_FN)DVB_OSDRectangleStripDisplay},
// IRQ
{"i001", (DEBUG_FN)DVB_SYS_GetPrimaryMask},
{"i002", (DEBUG_FN)DVB_SYS_GetSecondaryMask},
{"i003", (DEBUG_FN)DVB_SYS_SetPrimaryMask},
{"i004", (DEBUG_FN)DVB_SYS_SetSecondaryMask},
#ifdef CT216E
{"i005", (DEBUG_FN)_Filter_IRQEnable},
{"i006", (DEBUG_FN)_Filter_IRQDisable},
#endif
{"int", (DEBUG_FN)CT_OS_Test},
{"memdbg", (DEBUG_FN)CT_OS_MEMlog_Debug},
{"mempollinfo", (DEBUG_FN)DVB_MEM_PoolInfo},
//MPEG&Demux
{"m001", (DEBUG_FN)DVB_AVDemuxDisable},
{"m002", (DEBUG_FN)DVB_AVDemuxEnable},
{"m100", (DEBUG_FN)DVB_AV_PollAvBuffer},
{"m101", (DEBUG_FN)DVB_AV_PollRiscDebug},
//flash
{"f101", (DEBUG_FN)DVB_FlashErase},
{"f102", (DEBUG_FN)CT_Flash_Protect},
{"f103", (DEBUG_FN)CT_Flash_StatusRead},
//seven segment
{"f111", (DEBUG_FN)DVB_7SegShowDetial},
//ct filter
#if (defined(CT216S)||defined(CT216T) || defined (CT216H))
{"f121", (DEBUG_FN)Filter_Show_Info},
{"osd", (DEBUG_FN)CT_OSD_Test},
{"freq", (DEBUG_FN)CT_SYS_SetCpuFreq},
// vcxo initial and setteping
// { "vxi", (DEBUG_FN)CT_VCXO_Test_Init},
// { "vxa", (DEBUG_FN)CT_VCXO_Adjust},
#else
{"f121", (DEBUG_FN)CT_FILT_ShowInfo},
#endif
//NIM
{"n001", (DEBUG_FN)DVB_TunerInit },
{"n100", (DEBUG_FN)nim_test },
{"wreg", (DEBUG_FN)CT_NIM_DebugWriteReg },
{"rreg", (DEBUG_FN)CT_NIM_DebugReadReg },
#if 0
{"const", (DEBUG_FN)ct201_debug },
{"n002", (DEBUG_FN)test_NIM_PerformeceCheck },
#endif
//Test
{"t000", (DEBUG_FN)Color_Patelle_All },
{"t100", (DEBUG_FN)nvram_test},
#ifdef CT216T
{"t221", (DEBUG_FN)CT221_Monitor_Switch},
#endif
//Dump information
{"d100", (DEBUG_FN)Dump_SatelliteDatabase },
{"d101", (DEBUG_FN)Dump_TransponderDatabase },
{"d102", (DEBUG_FN)Dump_ServiceDatabase },
{"e001", (DEBUG_FN)DVB_EitDumpSectionInfo},
{"e002", (DEBUG_FN)DVB_EitDumpEITBKPFEvent},
{"e003", (DEBUG_FN)DVB_EitDumpSectionInfo0},
{"e005", (DEBUG_FN)dump_eit_for_srv},
{"e006", (DEBUG_FN)DVB_FilterShowInfo},
{"e007", (DEBUG_FN)dump_s1_firstevent_info},
{"e008", (DEBUG_FN)dump_eit_all_service_event_num},
// SI
{"s001", (DEBUG_FN)DVB_SIBK_Print},
{"o001", (DEBUG_FN)CT_OS_TaskInfo },
{"o002", (DEBUG_FN)CT_OS_HISRInfo},
{"o003", (DEBUG_FN)CT_OS_SemaphoreInfo},
//MEM debug
{"o004", (DEBUG_FN)CT_OS_MemoryPoolInfo},
{"o006", (DEBUG_FN)CT_SYS_DumpExceptionStatus},
{"o100", (DEBUG_FN)_mem_info},
{"o101", (DEBUG_FN)DVB_MEM_PrintUsedInfo},
{"o102", (DEBUG_FN)DVB_MEM_EITPoolDebug},
{"dp01", (DEBUG_FN)CT_DP_SelectSource },
#ifdef CT216E
{"dp02", (DEBUG_FN)CT_DP_SetPromiscuous },
#endif
{"dp03", (DEBUG_FN)CT_DP_EnableDeCsa },
#ifdef CT216E
// Host Register Read/Write
{ "r1", (DEBUG_FN)DBG_MPGReadHostReg},
{ "w1", (DEBUG_FN)DBG_MPGWriteHostReg},
// System Operation Register Read/Write
{ "r2", (DEBUG_FN)DBG_MPGReadSysReg},
{ "w2", (DEBUG_FN)DBG_MPGWriteSysReg},
// Risc Dram Read/Write
{ "r3", (DEBUG_FN)DBG_MPGReadDRAM},
{ "w3", (DEBUG_FN)DBG_MPGWriteDRAM},
//Risc Dram segment Read
{ "rs3", (DEBUG_FN)DBG_MPGReadDRAMSegment},
// DSP DM Read/Write
{ "r4", (DEBUG_FN)DBG_MPGReadDM},
{ "w4", (DEBUG_FN)DBG_MPGWriteDM},
// DSP DM segment Read
{ "rs4", (DEBUG_FN)DBG_MPGReadDMSegment},
// Risc Internal Register Read/Write
{ "r5", (DEBUG_FN)DBG_MPGReadInternalReg},
{ "w5", (DEBUG_FN)DBG_MPGWriteInternalReg},
#endif
#ifdef PCR_ENABLE
// PWM control
{ "pwm", (DEBUG_FN)_PWM_Value_Training},
#endif
#if defined(USB_ENABLE) || defined(CARDREADER_ENABLE)
{ "fs_dir", (DEBUG_FN)FS_Dir},
{ "FS_Init", (DEBUG_FN)FS_Init},
#endif
#ifdef PVR_ENABLE
{ "playfile", (DEBUG_FN)DVB_PVR_PlaybackStart},
{ "stopfile", (DEBUG_FN)DVB_PVR_PlaybackStop},
{ "normalp", (DEBUG_FN)DVB_PVR_NormalPlay},
{ "slowp", (DEBUG_FN)DVB_PVR_SlowForwardPlay},
{ "fbp", (DEBUG_FN)DVB_PVR_FastBackwardPlay},
{ "ffp", (DEBUG_FN)DVB_PVR_FastForwardPlay},
#if 0
{"p001", (DEBUG_FN)DVB_PVR_TestWrite},
{"p002", (DEBUG_FN)DVB_PVR_TestRead},
{"p003", (DEBUG_FN)DVB_PVR_TestBigSizeWrite},
{"p004", (DEBUG_FN)DVB_PVR_TestDataPath},
{"p008", (DEBUG_FN)DVB_PVR_TestRecordStart},
{"p009", (DEBUG_FN)DVB_PVR_TestPlayFileStartTask},
{"p010", (DEBUG_FN)DVB_PVR_TestPlayFileStopTask},
{"p011", (DEBUG_FN)DVB_PVR_TestFastForwardTask},
{"p012", (DEBUG_FN)DVB_PVR_TestSlowForwardPlay},
{"p013", (DEBUG_FN)DVB_PVR_TestPausePlay},
{"p014", (DEBUG_FN)DVB_PVR_TestScanModeforward},
{"p015", (DEBUG_FN)DVB_PVR_TestScanModebackward},
{"p020", (DEBUG_FN)DVB_PVR_TestPlaybackFileStart},
{"p021", (DEBUG_FN)DVB_PVR_PlaybackStop},
{"p022", (DEBUG_FN)DVB_PVR_SlowForwardPlay},
{"p023", (DEBUG_FN)DVB_PVR_FastBackwardPlay},
{"p024", (DEBUG_FN)DVB_PVR_TestNormalPlay},
{"p028", (DEBUG_FN)DVB_PVR_TestRecordStop},
{"p029", (DEBUG_FN)PVR_Get_TSBufferFullness},
{"p030", (DEBUG_FN)DVB_PVR_PlaybackRecordingStart},
{"p031", (DEBUG_FN)DVB_PVR_PlaybackRecordingStop},
{"p032", (DEBUG_FN)DVB_PVR_PlaybackSkip},
{"p034", (DEBUG_FN)DVB_PVR_SetRecordTime},
{"p035", (DEBUG_FN)DVB_PVR_TestSkip},
{"p036", (DEBUG_FN)Sys_profile_on},
{"p039", (DEBUG_FN)Filter_Show_IntStatus},
{"p042", (DEBUG_FN)DVB_PVR_TimeShiftLiveBackward},
{"p043", (DEBUG_FN)DVB_PVR_ShowPlayInfo},
{"p044", (DEBUG_FN)PVR_ShowCacheRecInfo},
{"p045", (DEBUG_FN)PVR_ShowTracePoint},
{"p046", (DEBUG_FN)DVB_PVR_SetTimeShitMode},
// PVR Verification
// initial
{"pvr000", (DEBUG_FN)sys_test_pvr_initial},
{"pvr001", (DEBUG_FN)sys_test_pvr_get_info}, // u32FileIndex
{"pvr002", (DEBUG_FN)sys_test_pvr_get_device_type},
{"pvr003", (DEBUG_FN)sys_test_pvr_get_file_count},
{"pvr004", (DEBUG_FN)sys_test_pvr_get_file_name},
{"pvr005", (DEBUG_FN)sys_test_pvr_delete_file}, // u32FileIndex
{"pvr006", (DEBUG_FN)sys_test_pvr_get_partition_total_size},
{"pvr007", (DEBUG_FN)sys_test_pvr_get_partition_free_size},
{"pvr008", (DEBUG_FN)sys_test_pvr_format}, // u8Index
// record
{"pvr100", (DEBUG_FN)sys_test_pvr_record_start},
{"pvr101", (DEBUG_FN)sys_test_pvr_record_stop},
{"pvr102", (DEBUG_FN)sys_test_pvr_record_set_duration}, // u16Time
{"pvr103", (DEBUG_FN)sys_test_pvr_record_get_duration},
{"pvr104", (DEBUG_FN)sys_test_pvr_record_get_start_time},
{"pvr105", (DEBUG_FN)sys_test_pvr_record_get_past_time},
// playback
{"pvr200", (DEBUG_FN)sys_test_pvr_playback_start}, // u32FileIndex
{"pvr201", (DEBUG_FN)sys_test_pvr_playback_stop},
{"pvr202", (DEBUG_FN)sys_test_pvr_playback_pause}, // b8Pause
{"pvr203", (DEBUG_FN)sys_test_pvr_playback_fast_forward}, // u8Speed
{"pvr204", (DEBUG_FN)sys_test_pvr_playback_slow_forward}, // u8Speed
{"pvr205", (DEBUG_FN)sys_test_pvr_playback_fast_backward}, // u8Speed
{"pvr206", (DEBUG_FN)sys_test_pvr_playback_skip}, // b8Positive, s32Second
{"pvr207", (DEBUG_FN)sys_test_pvr_playback_get_total_time},
{"pvr208", (DEBUG_FN)sys_test_pvr_playback_get_progress},
{"pvr209", (DEBUG_FN)sys_test_pvr_playback_get_speed},
// PVR: Time Shift
{"pvr300", (DEBUG_FN)sys_test_pvr_timeshift_set_default_size}, // u8Size
{"pvr301", (DEBUG_FN)sys_test_pvr_timeshift_record_start},
{"pvr302", (DEBUG_FN)sys_test_pvr_timeshift_record_stop},
{"pvr303", (DEBUG_FN)sys_test_pvr_timeshift_playback_start},
{"pvr304", (DEBUG_FN)sys_test_pvr_timeshift_playback_stop},
{"pvr305", (DEBUG_FN)sys_test_pvr_timeshift_live_pause}, // bool8 b8Mode, bool8 b8Pause
{"pvr306", (DEBUG_FN)sys_test_pvr_timeshift_playback_pause}, // b8Pause
{"pvr307", (DEBUG_FN)sys_test_pvr_timeshift_live_fast_backward}, // u8Speed
{"pvr308", (DEBUG_FN)sys_test_pvr_timeshift_fast_forward}, // u8Speed
{"pvr309", (DEBUG_FN)sys_test_pvr_timeshift_slow_forward}, // u8Speed
{"pvr310", (DEBUG_FN)sys_test_pvr_timeshift_fast_backward}, // u8Speed
{"pvr311", (DEBUG_FN)sys_test_pvr_timeshift_skip}, // b8Positive, s32Second
{"pvr312", (DEBUG_FN)sys_test_pvr_timeshift_get_default_size},
{"pvr313", (DEBUG_FN)sys_test_pvr_timeshift_get_play_progess},
{"pvr314", (DEBUG_FN)sys_test_pvr_timeshift_get_record_progess},
{"pvr315", (DEBUG_FN)sys_test_pvr_timeshift_get_speed},
{"pvr316", (DEBUG_FN)sys_test_pvr_timeshift_to_record},
// PVR: Loop Test
{"pvr400", (DEBUG_FN)sys_long_test_pvr_record_start}, // u16Time
{"pvr401", (DEBUG_FN)sys_long_test_pvr_different_record_start}, // u16StartDuration, u16IncreaseTime
{"pvr402", (DEBUG_FN)sys_long_test_pvr_playback_start}, // u32FileIndex
{"pvr403", (DEBUG_FN)sys_long_test_pvr_different_playback_start}, // u32FileCount
{"pvr404", (DEBUG_FN)sys_long_test_pvr_key}, // b8Flag, u8Key, u8Speed
#endif
// FS: Test
#ifdef PVR_FILE_TEST
{"fs000", (DEBUG_FN)sys_test_fs_read},
{"fs001", (DEBUG_FN)sys_test_fs_write}, // u32FileCount, u32WriteTimes
{"fs002", (DEBUG_FN)sys_test_fs_write_open},
{"fs003", (DEBUG_FN)sys_test_fs_change_dir}, // u32Times
#endif
#endif
#ifdef SYS_DEBUG_FS_OPEN_ISSUE
{"open", (DEBUG_FN)CheckCreateFileDuration}, // enDeviceType
#endif
//mail box
#ifdef CONAX
{ "addmail", (DEBUG_FN)mailbox_addmail},
{ "delmail", (DEBUG_FN)mailbox_delallmail},
{ "getmail", (DEBUG_FN)mailbox_getmailinfo},
{ "CA", (DEBUG_FN)CA_Notify_Test},
{ "atr", (DEBUG_FN)DVB_SMC_Reset},
#endif
#if defined (CT216X)
{"parser", (void*)DRV_Parser_Test},
{"video", (void*)CT_MPG_Test},
{"audio", (void*)CT_Audio_Test},
#endif
#ifdef HDMI_ENABLE
{"hdr0", (DEBUG_FN)CT_HDMI_TEST_ReadReg},
{"hdw0", (DEBUG_FN)CT_HDMI_TEST_WriteReg},
{"hdd0", (DEBUG_FN)CT_HDMI_TEST_DumpRegInfo},
{"hdd1", (DEBUG_FN)CT_HDMI_TEST_DumpEDID},
{"hdd2", (DEBUG_FN)CT_HDMI_TEST_CMD},
#endif
{"k000", (DEBUG_FN)DVB_SendKey},
{"k001", (DEBUG_FN)DVB_EnableIRKey},
#ifdef USB_ENABLE
{"u000", (DEBUG_FN)sys_test_usb},
{"u001", (DEBUG_FN)DVB_USB_Read},
{"u002", (DEBUG_FN)DVB_USB_Recovery},
{"u003", (DEBUG_FN)DVB_USB_SetChunkSize},
{"u004", (DEBUG_FN)DVB_USB_GetChunkSize},
#endif
//dump CT API version
{"ver", (DEBUG_FN)DVB_SysShowVersion},
#ifdef NIM_PERFORMANCE_TEST_1
{"s101", (DEBUG_FN)test_nim_Scan},
#endif
#ifdef CT216T
{"wss", (DEBUG_FN)CT_TVE_SetWSS},
#endif
#ifdef DBTOOL_ENABLE
{"Link", (DEBUG_FN)DBTL_SSU_LinkCommunication},
#endif
#ifdef DEVICE_LOG
{"s", (DEBUG_FN)CT_UART_SetOutput},
#endif
{}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -