📄 sdout_api.h
字号:
#define rSDO_MV_ON_H (*(volatile unsigned int *)(SDO_BASE + 0x100))
#define rSDO_MV_ON_L (*(volatile unsigned int *)(SDO_BASE + 0x102))
#define rSDO_MV_SLINE_FIRST_EVEN_H (*(volatile unsigned int *)(SDO_BASE + 0x104))
#define rSDO_MV_SLINE_FIRST_EVEN_L (*(volatile unsigned int *)(SDO_BASE + 0x106))
#define rSDO_MV_SLINE_FIRST_SPACE_EVEN_H (*(volatile unsigned int *)(SDO_BASE + 0x108))
#define rSDO_MV_SLINE_FIRST_SPACE_EVEN_L (*(volatile unsigned int *)(SDO_BASE + 0x10A))
#define rSDO_MV_SLINE_FIRST_ODD_H (*(volatile unsigned int *)(SDO_BASE + 0x10C))
#define rSDO_MV_SLINE_FIRST_ODD_L (*(volatile unsigned int *)(SDO_BASE + 0x10E))
#define rSDO_MV_SLINE_FIRST_SPACE_ODD_H (*(volatile unsigned int *)(SDO_BASE + 0x110))
#define rSDO_MV_SLINE_FIRST_SPACE_ODD_L (*(volatile unsigned int *)(SDO_BASE + 0x112))
#define rSDO_MV_SLINE_SPACING_H (*(volatile unsigned int *)(SDO_BASE + 0x114))
#define rSDO_MV_SLINE_SPACING_L (*(volatile unsigned int *)(SDO_BASE + 0x116))
#define rSDO_MV_STRIPES_NUMBER_H (*(volatile unsigned int *)(SDO_BASE + 0x118))
#define rSDO_MV_STRIPES_NUMBER_L (*(volatile unsigned int *)(SDO_BASE + 0x11A))
#define rSDO_MV_STRIPES_THICKNESS_H (*(volatile unsigned int *)(SDO_BASE + 0x11C))
#define rSDO_MV_STRIPES_THICKNESS_L (*(volatile unsigned int *)(SDO_BASE + 0x11E))
#define rSDO_MV_PSP_DURATION_H (*(volatile unsigned int *)(SDO_BASE + 0x120))
#define rSDO_MV_PSP_DURATION_L (*(volatile unsigned int *)(SDO_BASE + 0x122))
#define rSDO_MV_PSP_FIRST_H (*(volatile unsigned int *)(SDO_BASE + 0x124))
#define rSDO_MV_PSP_FIRST_L (*(volatile unsigned int *)(SDO_BASE + 0x126))
#define rSDO_MV_PSP_SPACING_H (*(volatile unsigned int *)(SDO_BASE + 0x128))
#define rSDO_MV_PSP_SPACING_L (*(volatile unsigned int *)(SDO_BASE + 0x12A))
#define rSDO_MV_SEL_LINE_PSP_AGC_H (*(volatile unsigned int *)(SDO_BASE + 0x12C))
#define rSDO_MV_SEL_LINE_PSP_AGC_L (*(volatile unsigned int *)(SDO_BASE + 0x12E))
#define rSDO_MV_SEL_FORMAT_PSP_AGC_H (*(volatile unsigned int *)(SDO_BASE + 0x130))
#define rSDO_MV_SEL_FORMAT_PSP_AGC_L (*(volatile unsigned int *)(SDO_BASE + 0x132))
#define rSDO_MV_PSP_AGC_A_ON_H (*(volatile unsigned int *)(SDO_BASE + 0x134))
#define rSDO_MV_PSP_AGC_A_ON_L (*(volatile unsigned int *)(SDO_BASE + 0x136))
#define rSDO_MV_PSP_AGC_B_ON_H (*(volatile unsigned int *)(SDO_BASE + 0x138))
#define rSDO_MV_PSP_AGC_B_ON_L (*(volatile unsigned int *)(SDO_BASE + 0x13A))
#define rSDO_MV_BACK_PORCH_H (*(volatile unsigned int *)(SDO_BASE + 0x13C))
#define rSDO_MV_BACK_PORCH_L (*(volatile unsigned int *)(SDO_BASE + 0x13E))
#define rSDO_MV_BURST_ADVANCED_ON_H (*(volatile unsigned int *)(SDO_BASE + 0x140))
#define rSDO_MV_BURST_ADVANCED_ON_L (*(volatile unsigned int *)(SDO_BASE + 0x142))
#define rSDO_MV_BURST_DURATION_ZONE1_H (*(volatile unsigned int *)(SDO_BASE + 0x144))
#define rSDO_MV_BURST_DURATION_ZONE1_L (*(volatile unsigned int *)(SDO_BASE + 0x146))
#define rSDO_MV_BURST_DURATION_ZONE2_H (*(volatile unsigned int *)(SDO_BASE + 0x148))
#define rSDO_MV_BURST_DURATION_ZONE2_L (*(volatile unsigned int *)(SDO_BASE + 0x14A))
#define rSDO_MV_BURST_DURATION_ZONE3_H (*(volatile unsigned int *)(SDO_BASE + 0x14C))
#define rSDO_MV_BURST_DURATION_ZONE3_L (*(volatile unsigned int *)(SDO_BASE + 0x14E))
#define rSDO_MV_BURST_PHASE_ZONE_H (*(volatile unsigned int *)(SDO_BASE + 0x150))
#define rSDO_MV_BURST_PHASE_ZONE_L (*(volatile unsigned int *)(SDO_BASE + 0x152))
#define rSDO_MV_SLICE_PHASE_LINE_H (*(volatile unsigned int *)(SDO_BASE + 0x154))
#define rSDO_MV_SLICE_PHASE_LINE_L (*(volatile unsigned int *)(SDO_BASE + 0x156))
#define rSDO_MV_RGB_PROTECTION_ON_H (*(volatile unsigned int *)(SDO_BASE + 0x158))
#define rSDO_MV_RGB_PROTECTION_ON_L (*(volatile unsigned int *)(SDO_BASE + 0x15A))
#define rSDO_MV_480P_PROTECTION_ON_H (*(volatile unsigned int *)(SDO_BASE + 0x15C))
#define rSDO_MV_480P_PROTECTION_ON_L (*(volatile unsigned int *)(SDO_BASE + 0x15E))
// New added Registers for Quasi-PAL
#define rSDO_SUBCR0_H (*(volatile unsigned int *)(SDO_BASE + 0x200))
#define rSDO_SUBCR0_L (*(volatile unsigned int *)(SDO_BASE + 0x202))
#define rSDO_SUBCR1_H (*(volatile unsigned int *)(SDO_BASE + 0x204))
#define rSDO_SUBCR1_L (*(volatile unsigned int *)(SDO_BASE + 0x206))
#define rSDO_SUBCR2_H (*(volatile unsigned int *)(SDO_BASE + 0x208))
#define rSDO_SUBCR2_L (*(volatile unsigned int *)(SDO_BASE+ 0x20A))
#define rSDO_SUBCR3_H (*(volatile unsigned int *)(SDO_BASE + 0x20C))
#define rSDO_SUBCR3_L (*(volatile unsigned int *)(SDO_BASE + 0x20E))
#define rSDO_SUBCR4_H (*(volatile unsigned int *)(SDO_BASE + 0x210))
#define rSDO_SUBCR4_L (*(volatile unsigned int *)(SDO_BASE + 0x212))
#define rSDO_IRQ_CLR_H (*(volatile unsigned int *)(SDO_BASE + 0x280))
#define rSDO_IRQ_CLR_L (*(volatile unsigned int *)(SDO_BASE + 0x282))
#define rSDO_IRQ_MASK_H (*(volatile unsigned int *)(SDO_BASE + 0x284))
#define rSDO_IRQ_MASK_L (*(volatile unsigned int *)(SDO_BASE + 0x286))
#define rSDO_CC_WORD_H (*(volatile unsigned int *)(SDO_BASE + 0x380))
#define rSDO_CC_WORD_L (*(volatile unsigned int *)(SDO_BASE + 0x382))
#define rSDO_WSS_CGMS_WORD_H (*(volatile unsigned int *)(SDO_BASE + 0x38C))
#define rSDO_WSS_CGMS_WORD_L (*(volatile unsigned int *)(SDO_BASE + 0x38E))
#define rSDO_CC_H (*(volatile unsigned int *)(SDO_BASE + 0x3C0))
#define rSDO_CC_L (*(volatile unsigned int *)(SDO_BASE + 0x3C2))
#define rSDO_WSS525_H (*(volatile unsigned int *)(SDO_BASE + 0x3C4))
#define rSDO_WSS525_L (*(volatile unsigned int *)(SDO_BASE + 0x3C6))
#define rSDO_WSS625_H (*(volatile unsigned int *)(SDO_BASE + 0x3C8))
#define rSDO_WSS625_L (*(volatile unsigned int *)(SDO_BASE + 0x3CA))
#define rSDO_CBAR_H (*(volatile unsigned int *)(SDO_BASE + 0x3FC))
#define rSDO_CBAR_L (*(volatile unsigned int *)(SDO_BASE + 0x3FE))
#define rSDO_IN_PRO_OUT_INTER_H (*(volatile unsigned int *)(SDO_BASE + 0x3D0))
#define rSDO_IN_PRO_OUT_INTER_L (*(volatile unsigned int *)(SDO_BASE + 0x3D2))
//#define rSDO_IN_PRO_OUT_INTER_IMMEDIATE (*(volatile unsigned int *)(SDO_BASE + 0x390))
/*********************************************
* Data types
*********************************************/
typedef enum{
SD_OFF, /* SD module off */
SD_ON /* SD module on */
}SD_OnOff_t;
/*********************************************
* Functions Define
*********************************************/
VOID Init_SDOut ( BOOL bMode );
VOID DeInit_SDOut ( VOID );
VOID SD_SetOnOff ( SD_OnOff_t onoff );
SD_OnOff_t SD_GetOnOff ( VOID );
VOID SD_SetFilterValue ( VOID );
VOID SD_Sdout_Interrupt_Enable ( BOOL enable );
VOID RunVCD_SDOut ( VOID);
VOID SD_SdoutLisr ( SINT tmp );
VOID SD_SDOut_Hisr ( VOID );
VOID SD_Stop ( VOID );
VOID SD_Resume ( VOID );
VOID SD_UpdateFieldRate ( CHAR cFrameRate );
VOID SD_SetupOutputTVSystem ( S5L_DisplayStdType_t stDisplayTVType );
FieldRateConv_t SD_GetFieldRate ( void );
#if _SUPPORT_SLOW_STEP_
VOID Slow_play(S5H_SlowSpeed_t speed);
VOID Step_play(void);
VOID Exit_Step_play(void);
#endif
S5L_DisplayStdType_t SD_GetOutputTVSysTem ( VOID );
VOID SD_FlagsInitialise ( VOID );
VOID VP_SetOutputFrame ( VOID *pBuff );
#ifdef __cplusplus
}
#endif
#endif /* _SDOUT_API_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -