SACD_UART.h
上传用户:super_houu
上传日期:2008-09-21
资源大小:4099k
文件大小:1k
源码类别:

DVD

开发平台:

Others

  1. /*
  2. File: SACD_UART.h
  3. Desc: extern delarations of UART functions for SACD
  4. */
  5. extern SAMP(ErrCode) SAMP(UART_Init)(void);
  6. extern SAMP(ErrCode) SAMP(UART_Term)(void);
  7. extern SAMP(ErrCode) SAMP(UART_Read)(char* pBuff, UINT16 toRead, UINT16 timeout, UINT16*  pNumRead);
  8. extern SAMP(ErrCode) SAMP(UART_Write)(char* pBuff, UINT16 toWrite, UINT16 timeout, UINT16*  pNumWritten);
  9. extern SAMP(ErrCode) SAMP(DAC_Init)(void);
  10. extern SAMP(ErrCode) SAMP(DAC_Term)(void);
  11. extern SAMP(ErrCode) SAMP(DAC_SetMode)(UINT32 streamType6ch, UINT32 pcmUpsampling6ch,
  12.                     UINT32 streamType2ch, UINT32 pcmUpsampling2ch, UINT32 baseFrequency);