_saa7121.c
上传用户:dahaojd
上传日期:2008-01-29
资源大小:14357k
文件大小:2k
源码类别:

DSP编程

开发平台:

C/C++

  1. /*
  2.  *  Copyright 2004 by Real Time DSP Incorporated.
  3.  *  All rights reserved. Property of Texas Instruments Incorporated.
  4.  *  Restricted rights to use, duplicate or disclose this code are
  5.  *  granted through contract.
  6.  *  
  7.  */
  8. /* "@(#) DDK 1.10.00.23 07-02-03 (ddk-b12)" */
  9. /********************************************************************/
  10. /* _saa7121.c file                                                      */
  11. /********************************************************************/
  12. #include "_saa7121.h"
  13.  
  14. _SAA7121_I2CReg SAA7121_ResetRegParam[] =  
  15. {
  16. /* Regs Set after hardware reset */
  17.     {0x03a,0x3},
  18.     {0x61,0x6},
  19.     {0x6b,0x0},
  20.     {0x6e,0x0},
  21.     {0x7c,0x0},
  22. /* end of sets*/
  23.     {0xFF,0xFF}
  24. };
  25. _SAA7121_I2CReg SAA7121_PalRegParam[] =  
  26. {
  27. /* Regs Set for pal output */
  28.     {0x3a,0x13},
  29.     {0x5a,0x77},
  30.     {0x5b,0x7d},
  31.     {0x5c,0xaf},
  32.     {0x5d,0x23},
  33.     {0x5e,0x35},
  34.     {0x5f,0x35},
  35.     {0x60,0x0},
  36.     {0x61,0x6},
  37.     {0x62,0x2f},
  38.     {0x63,0xcb},
  39.     {0x64,0x8a},
  40.     {0x65,0x9},
  41.     {0x66,0x2a},
  42.     {0x67,0x0},
  43.     {0x68,0x0},
  44.     {0x69,0x0},
  45.     {0x6a,0x0},
  46.     {0x6b,0x20},
  47.     {0x6c,0x1},
  48.     {0x6d,0x30},
  49.     {0x6e,0xa0},
  50.     {0x6f,0x0},
  51.     {0x70,0x0},
  52.     {0x71,0x0},
  53.     {0x72,0x0},
  54.     {0x73,0x0},
  55.     {0x74,0x0},
  56.     {0x75,0x0},
  57.     {0x76,0x0},
  58.     {0x77,0x0},
  59.     {0x78,0x0},
  60.     {0x79,0x0},
  61.     {0x7a,0x0},
  62.     {0x7b,0x0},
  63.     {0x7c,0x0},
  64.     {0x7d,0x0},
  65.     {0x7e,0x0},
  66.     {0x7f,0x0},
  67.     {0xFF,0xFF}
  68. };
  69. _SAA7121_I2CReg SAA7121_NtscRegParam[] =  
  70. {
  71. /* Regs Set for ntsc output */
  72.     {0x3a,0x13},
  73.     {0x5a,0x77},
  74.     {0x5b,0x76},
  75.     {0x5c,0xa5},
  76.     {0x5d,0x2a},
  77.     {0x5e,0x2e},
  78.     {0x5f,0x2e},
  79.     {0x60,0x0},
  80.     {0x61,0x15},
  81.     {0x62,0x3f},
  82.     {0x63,0x1f},
  83.     {0x64,0x7c},
  84.     {0x65,0xf0},
  85.     {0x66,0x21},
  86.     {0x67,0x0},
  87.     {0x68,0x0},
  88.     {0x69,0x0},
  89.     {0x6a,0x0},
  90.     {0x6b,0x20},
  91.     {0x6c,0x11},
  92.     {0x6d,0x31},
  93.     {0x6e,0x80},
  94.     {0x6f,0x0},
  95.     {0x70,0x0},
  96.     {0x71,0x0},
  97.     {0x72,0x0},
  98.     {0x73,0x0},
  99.     {0x74,0x0},
  100.     {0x75,0x0},
  101.     {0x76,0x0},
  102.     {0x77,0x0},
  103.     {0x78,0x0},
  104.     {0x79,0x0},
  105.     {0x7a,0x0},
  106.     {0x7b,0x0},
  107.     {0x7c,0x0},
  108.     {0x7d,0x0},
  109.     {0x7e,0x0},
  110.     {0x7f,0x0},
  111.     {0xFF,0xFF}
  112. };