📄 dbgdef.h
字号:
/**************************(c) STMicroelectronics *****************************//*! \file * * Organisation: Optical Media Storage B.U. * AGRATE ITALY Application Lab * * Version Control: * \source sources/debug/dbgdef.h * \version 0.1 * \author ST Agrate * \date 00-00-00 * ******************************************************************************* * \brief General Definition Common to All DEBUG Modules * * \par Change History: * *************************************************** * * STM CVS Log: * * $Log: dbgdef.h,v $ * Revision 1.6 2007/08/14 15:28:41 dellorto * multiple mechanisms * * Revision 1.5 2006/09/18 09:55:24 belardi * Corrected CVS keyword usage * * Revision 1.4 2006/09/18 09:25:05 belardi * Added Log CVS keyword into file header * * ******************************************************************************/#ifndef __DBGDEF_H#define __DBGDEF_H#if (DEBUG_INCLUDE_PCDEB == 1)#define SUCCEEDED 1#define FAILURE 0#define BIT_8 0x08typedef enum{ BUFFER_MODE_CLV, BUFFER_MODE_ESP} t_buffer_mode;#define pf_tx_msg_buf RS232_TxBuffer#define pf_rx_msg_buf RS232_RxBufferextern uint8 sm_state_0;extern uint8 sm_state_1;extern uint8 sm_state_2;#define stop_servo_debug_state sm_state_1#define stop_ttm_debug_state sm_state_2#define start_ttm_debug_state sm_state_2#define MC_ACT_ON 0x00#define MC_ACT_OFF 0x01#define MC_LASER_ON 0x02#define MC_LASER_OFF 0x03#define MC_FE_ADJUST 0x04#define MC_TT_ON 0x05#define MC_TT_OFF 0x06#define MC_FOCUS_ON 0x07#define MC_FOCUS_OFF 0x08#define MC_FOCUS_RAMPING 0x09#define MC_TE_ADJUST 0x0A#define MC_TRACK_ON 0x0B#define MC_TRACK_OFF 0x0C#define MC_AGC_FOCUS 0x0D#define MC_AGC_TRACKING 0x0E#define MC_RELOCK_PLL 0x0F#define MC_CLV_1X 0x10#define MC_CLV_2X 0x11#define MC_SCP_CLV_1X 0x12#define MC_SCP_CLV_2X 0x13#define MC_CLV_OFF 0x14#define MC_AUDIO_ON 0x15#define MC_AUDIO_OFF 0x16#define MC_SHORT_JUMP_FWD 0x17#define MC_SHORT_JUMP_BWD 0x18#define MC_LONG_JUMP_FWD 0x19#define MC_LONG_JUMP_BWD 0x1A#define MC_SLEDGE_HOME 0x1B#define MC_SLEDGE_FWD 0x1C#define MC_SLEDGE_BACK 0x1D#define SMC_SLEDGE_XX_STEPS 0x1E#define SMC_JUMP 0x1F#define SMC_TTM_x_HZ 0x20#define SMC_FOCUS 0x21#define SMC_TTM 0x22#define SMC_TRACKING 0x23#define MC_PDM_OUT1 0x24#define MC_PDM_OUT2 0x25#define MC_CLV_BUFFER 0x26#define MC_ESP_BUFFER 0x27#define MC_INIT_ALL 0x2D#define MC_STOP_ALL 0x2E#define MC_RAM_PROFILE 0x2B#define MC_ROM_PROFILE 0x2C#define MC_IDLE 0x2F#define DC_UPDATE_VARIABLES 0x30#define SC_INIT 0x40#define SC_INIT_FOR_NEW_DISC 0x41#define SC_START 0x42#define SC_STOP 0x43#define SC_SEEK_0_MIN 0x44#define SC_SEEK_10_MIN 0x45#define SC_SEEK_20_MIN 0x46#define SC_SEEK_30_MIN 0x47#define SC_SEEK_40_MIN 0x48#define SC_SEEK_50_MIN 0x49#define SC_SEEK_60_MIN 0x4A#define SC_SEEK_70_MIN 0x4B#define SC_PAUSE_ON 0x4C#define SC_PAUSE_OFF 0x4D#define SC_SET_SPEED_CLV_1X 0x4E#define SC_SET_SPEED_CLV_2X 0x4F#define SC_INSERT 0x50#define SC_EJECT 0x51#define SC_EMEJECT 0x52#define SC_SEEK_XX_MIN 0x53#define SC_XFER_ENABLE1 0x54#define SC_CAP_WP 0x55#define SC_XFER_SID20 0x56#define SC_XFER_1MIN 0x57#define SC_XFER_NEXT 0x58#define SC_CAP_PLAY 0x59#define SC_LOADER_INIT 0x5A#define SC_LOADER_CFG 0x5B#define SC_SET_SPEED_XX 0x5C#define PC_PLAY 0x60#define PC_STOP 0x61#define PC_PAUSE 0x62#define PC_PLAY_NEXT 0x63#define PC_SEARCH_FW 0x64#define PC_EJECT 0x65#define PC_PLAY_PREVIOUS 0x66#define PC_SEARCH_BW 0x67#define PC_LOAD 0x68#define PC_PLAY_TRACK 0x69#define PC_PLAY_ATIME 0x70#define PC_PLAY_MSF2MSF 0x71#define PC_SEARCH_FW_ATIME 0x72#define PC_SEARCH_FW_TRACK 0x73#define PC_SEARCH_BW_ATIME 0x74#define PC_SEARCH_BW_TRACK 0x75#define PC_PAUSE_ATIME 0x76#define PC_PAUSE_TRACK 0x77#define CC_END_OF_MEDIA 0x80#define CC_END_OF_TRACK 0x81#define CC_REPEAT_TRACK_OFF 0x82#define CC_REPEAT_TRACK_ON 0x83#define CC_REPEAT_DISC_OFF 0x84#define CC_REPEAT_DISC_ON 0x85#define CC_SCAN_OFF 0x90#define CC_SCAN_TIME_5s 0x91#define CC_SCAN_TIME_10s 0x92#define CC_SCAN_TIME_15s 0x93#define CC_SCAN_AT_BEGIN 0x94#define CC_SCAN_AT_MIDDLE 0x95#define CC_SCAN_FORWARD 0x96#define CC_SCAN_BACKWARD 0x97#define CC_SCAN_NO_OFFSET 0x98#define CC_SCAN_OFFSET_5s 0x99#define CC_SCAN_OFFSET_10s 0x9A#define CC_SCAN_OFFSET_15s 0x9B#define CC_AUTOLOAD_OFF 0xA0#define CC_AUTOLOAD_5s 0xA1#define CC_AUTOLOAD_10s 0xA2#define CC_AUTOLOAD_15s 0xA3#define CC_LOADER_RECOVER_OFF 0xA4#define CC_LOADER_RECOVER_1 0xA5#define CC_LOADER_RECOVER_2 0xA6#define CC_LOADER_RECOVER_3 0xA7#define CC_SEARCH_4x 0xB0#define CC_SEARCH_10x 0xB1#define CC_SEARCH_4x_1s 0xB2#define CC_PREVIOUS_TIME_OFF 0xC0#define CC_PREVIOUS_TIME_5s 0xC1#define CC_PREVIOUS_TIME_10s 0xC2#define CC_PREVIOUS_TIME_15s 0xC3#define CC_SPEED_CLV_1x 0xD0#define CC_SPEED_CLV_2x 0xD1// for pcdeb tests with profiling#define START_PROFILING 0xE0#define STOP_PROFILING 0xE1#endif#endif // __DBGDEF_H/*** (c) 2003 STMicroelectronics **************************** END OF FILE ***/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -