亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? f411_vr_dpcm.lst

?? 用c8051f410和FLASH(SPI接口)實現的數字錄音機。
?? LST
?? 第 1 頁 / 共 2 頁
字號:
C51 COMPILER V7.06   F411_VR_DPCM                                                          02/18/2009 16:30:49 PAGE 1   


C51 COMPILER V7.06, COMPILATION OF MODULE F411_VR_DPCM
OBJECT MODULE PLACED IN F411_VR_DPCM.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE F411_VR_DPCM.c BROWSE DEBUG OBJECTEXTEND

stmt level    source

   1          //-----------------------------------------------------------------------------
   2          // F411_VR_DPCM.c
   3          //-----------------------------------------------------------------------------
   4          // Copyright 2006 Silicon Laboratories, Inc.
   5          // http://www.silabs.com
   6          //
   7          // Program Description:
   8          //
   9          // This file contains the DPCM encoding and decoding functions.
  10          //
  11          // NOTE: For another reference for DPCM, please see Chipcon's app note an026.
  12          //
  13          // NOTE: The calling function must have the same register context as the DCPM
  14          // functions, so it must either have the keyword "using 2" or all "using 2"
  15          // keywords for the DPCM functions need to be removed
  16          //
  17          // How To Use:    See Readme.txt
  18          //
  19          // FID:            41X000006
  20          // Target:         C8051F411
  21          // Tool chain:     Keil C51 7.50 / Keil EVAL C51
  22          //                 Silicon Laboratories IDE version 2.6
  23          // Project Name:   F411_VR
  24          //
  25          // Release 1.3
  26          //    -All changes by TP
  27          //    -02 Feb 2006
  28          //    -project version updated, no changes to this file
  29          //
  30          // Release 1.2
  31          //    -All changes by TP
  32          //    -21 Nov 2005
  33          //    -expanded the 4-bit codes to 6 bits for the 12-bit ADC
  34          //
  35          // Release 1.1
  36          //    -All changes by TP
  37          //    -16 Aug 2004
  38          //    -project version updated, no changes to this file
  39          //
  40          // Release 1.0
  41          //    -Initial Revision (TP)
  42          //    -15 AUG 2004
  43          //
  44          
  45          //-----------------------------------------------------------------------------
  46          // Includes
  47          //-----------------------------------------------------------------------------
  48          #include <c8051f410.h>                 // SFR declarations
  49          
  50          //-----------------------------------------------------------------------------
  51          // Global CONSTANTS
  52          //-----------------------------------------------------------------------------
  53          
  54          // 12-bit quantization codes (6 bits, so 64 codes total = 31 positive, 31
  55          // negative, and 2 zeroes)
C51 COMPILER V7.06   F411_VR_DPCM                                                          02/18/2009 16:30:49 PAGE 2   

  56          #define quant1       1
  57          #define quant2       2
  58          #define quant3       4
  59          #define quant4       7
  60          #define quant5       11
  61          #define quant6       16
  62          #define quant7       22
  63          #define quant8       29
  64          #define quant9       37
  65          #define quant10      46
  66          #define quant11      56
  67          #define quant12      67
  68          #define quant13      79
  69          #define quant14      92
  70          #define quant15      106
  71          #define quant16      130
  72          #define quant17      146
  73          #define quant18      163
  74          #define quant19      181
  75          #define quant20      200
  76          #define quant21      220
  77          #define quant22      241
  78          #define quant23      263
  79          #define quant24      286
  80          #define quant25      310
  81          #define quant26      335
  82          #define quant27      361
  83          #define quant28      388
  84          #define quant29      416
  85          #define quant30      512
  86          #define quant31      1024
  87          
  88          // the mapping from quantization values to dpcm codes (array index)
  89          xdata short Q_VALUES[64] = {0,               // 0
  90                                     -quant31,         // 1
  91                                     -quant30,         // 2
  92                                     -quant29,         // 3
  93                                     -quant28,         // 4
  94                                     -quant27,         // 5
  95                                     -quant26,         // 6
  96                                     -quant25,         // 7
  97                                     -quant24,         // 8
  98                                     -quant23,         // 9
  99                                     -quant22,         // 10
 100                                     -quant21,         // 11
 101                                     -quant20,         // 12
 102                                     -quant19,         // 13
 103                                     -quant18,         // 14
 104                                     -quant17,         // 15
 105                                     -quant16,         // 16 negative middle
 106                                     -quant15,         // 17
 107                                     -quant14,         // 18
 108                                     -quant13,         // 19
 109                                     -quant12,         // 20
 110                                     -quant11,         // 21
 111                                     -quant10,         // 22
 112                                     -quant9,          // 23
 113                                     -quant8,          // 24
 114                                     -quant7,          // 25
 115                                     -quant6,          // 26
 116                                     -quant5,          // 27
 117                                     -quant4,          // 28
C51 COMPILER V7.06   F411_VR_DPCM                                                          02/18/2009 16:30:49 PAGE 3   

 118                                     -quant3,          // 29
 119                                     -quant2,          // 30
 120                                     -quant1,          // 31
 121                                     0,                // 32
 122                                     quant1,           // 33
 123                                     quant2,           // 34
 124                                     quant3,           // 35
 125                                     quant4,           // 36
 126                                     quant5,           // 37
 127                                     quant6,           // 38
 128                                     quant7,           // 39
 129                                     quant8,           // 40
 130                                     quant9,           // 41
 131                                     quant10,          // 42
 132                                     quant11,          // 43
 133                                     quant12,          // 44
 134                                     quant13,          // 45
 135                                     quant14,          // 46
 136                                     quant15,          // 47
 137                                     quant16,          // 48 positive middle
 138                                     quant17,          // 49
 139                                     quant18,          // 50
 140                                     quant19,          // 51
 141                                     quant20,          // 52
 142                                     quant21,          // 53
 143                                     quant22,          // 54
 144                                     quant23,          // 55
 145                                     quant24,          // 56
 146                                     quant25,          // 57
 147                                     quant26,          // 58
 148                                     quant27,          // 59
 149                                     quant28,          // 60
 150                                     quant29,          // 61
 151                                     quant30,          // 62
 152                                     quant31};         // 63
 153          
 154          //-----------------------------------------------------------------------------
 155          // Function PROTOTYPES
 156          //-----------------------------------------------------------------------------
 157          unsigned char DPCM_Encode (short sample_diff);
 158          short DPCM_Decode (unsigned char dpcm_code);
 159          
 160          //-----------------------------------------------------------------------------
 161          // DPCM_Encode
 162          //-----------------------------------------------------------------------------
 163          //
 164          // Return Value :
 165          //   1)  char dpcm_code - the 6-bit quantized DPCM code
 166          //                      range is positive range of 6-bit value: 0 to 63
 167          // Parameters   :
 168          //   1)  short sample_diff - the difference between the predicted value and
 169          //                      the sample from the ADC
 170          //                      range is: -4096 to 4095 (difference of 12-bit values)
 171          //
 172          // Encode the sample using DPCM compression.
 173          //
 174          // The coding uses the following scheme (0 is unused) for an 8-bit sample:
 175          //
 176          // code:      1   2   3   4   5   6   7   8   9   10  11  12  13  14  15
 177          // q value: -64 -32 -16  -8  -4  -2  -1   0   1    2   4   8  16  32  64
 178          //
 179          // The difference will be rounded down if positive and rounded up if
C51 COMPILER V7.06   F411_VR_DPCM                                                          02/18/2009 16:30:49 PAGE 4   

 180          // negative (i.e. 41 => 32, and -41 => -32).
 181          //
 182          // NOTE: the calling function must have the same register context, so it must
 183          // either have the keyword "using 2" or all "using 2" keywords need to be
 184          // removed
 185          //
 186          unsigned char DPCM_Encode (short sample_diff) using 2
 187          {
 188   1         short sample_diff_us;
 189   1         unsigned char dpcm_code;
 190   1      
 191   1         // determine if the difference is positive or negative
 192   1         if (sample_diff < 0)
 193   1         {
 194   2            sample_diff_us = -sample_diff;   // use the absolute value
 195   2         }
 196   1         else
 197   1         {
 198   2            sample_diff_us = sample_diff;
 199   2         }
 200   1      
 201   1         // narrow down which bits need to be set to use the proper quantization code
 202   1         // using a binary search algorithm (divide in halves)
 203   1         // the sign of the difference no longer matters
 204   1      
 205   1         // first tier
 206   1         if (sample_diff_us >= quant16)
 207   1         {
 208   2            // second tier
 209   2            if (sample_diff_us >= quant24)
 210   2            {
 211   3               // third tier
 212   3               if (sample_diff_us >= quant28)
 213   3               {
 214   4                  // fourth tier
 215   4                  if (sample_diff_us >= quant30)
 216   4                  {
 217   5                     // fifth tier
 218   5                     if (sample_diff_us >= quant31)
 219   5                     {
 220   6                        dpcm_code = 63;
 221   6                     }
 222   5                     // fifth tier
 223   5                     else
 224   5                     {
 225   6                        dpcm_code = 62;
 226   6                     }
 227   5                  }
 228   4                  // fourth tier
 229   4                  else
 230   4                  {
 231   5                     // fifth tier
 232   5                     if (sample_diff_us >= quant29)
 233   5                     {
 234   6                        dpcm_code = 61;
 235   6                     }
 236   5                     // fifth tier
 237   5                     else
 238   5                     {
 239   6                        dpcm_code = 60;
 240   6                     }
 241   5                  }
C51 COMPILER V7.06   F411_VR_DPCM                                                          02/18/2009 16:30:49 PAGE 5   

 242   4               }
 243   3               // third tier
 244   3               else
 245   3               {
 246   4                  // fourth tier
 247   4                  if (sample_diff_us >= quant26)
 248   4                  {
 249   5                     // fifth tier
 250   5                     if (sample_diff_us >= quant27)
 251   5                     {
 252   6                        dpcm_code = 59;
 253   6                     }
 254   5                     // fifth tier
 255   5                     else
 256   5                     {
 257   6                        dpcm_code = 58;
 258   6                     }
 259   5                  }
 260   4                  // fourth tier
 261   4                  else
 262   4                  {
 263   5                     // fifth tier
 264   5                     if (sample_diff_us >= quant25)
 265   5                     {
 266   6                        dpcm_code = 57;
 267   6                     }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美性受极品xxxx喷水| 欧美系列亚洲系列| 国产一区啦啦啦在线观看| 亚洲国产日韩av| 亚洲一区二区美女| 亚洲无人区一区| 视频在线观看91| 日韩av一区二区三区四区| 日本aⅴ精品一区二区三区| 蜜桃一区二区三区四区| 蜜臀久久久久久久| 国产麻豆91精品| 国产精品中文欧美| 不卡的av网站| 在线视频综合导航| 91麻豆精品久久久久蜜臀| 欧美va亚洲va香蕉在线| 久久欧美一区二区| 国产精品久久久久永久免费观看 | 青青草原综合久久大伊人精品 | 粉嫩嫩av羞羞动漫久久久| 成人福利视频在线| 欧美三级在线播放| 欧美mv和日韩mv的网站| 欧美国产日本韩| 一区二区三区国产精品| 美女脱光内衣内裤视频久久影院| 久国产精品韩国三级视频| 成人一区二区三区视频在线观看 | 日韩一区二区影院| 国产精品伦一区二区三级视频| 亚洲视频你懂的| 乱中年女人伦av一区二区| 国产v综合v亚洲欧| 3d动漫精品啪啪一区二区竹菊| 亚洲精品一区二区三区在线观看| 国产精品免费网站在线观看| 亚洲国产毛片aaaaa无费看| 九九视频精品免费| 色哟哟日韩精品| ww久久中文字幕| 亚洲丰满少妇videoshd| 国产成人免费视| 欧美日韩国产在线观看| 中文字幕人成不卡一区| 免费成人在线播放| 韩国精品在线观看| 色久综合一二码| 国产免费久久精品| 视频一区中文字幕国产| 91浏览器打开| 国产三级欧美三级日产三级99| 亚洲不卡在线观看| 色综合久久久久| 国产校园另类小说区| 日本aⅴ免费视频一区二区三区| 91亚洲精品久久久蜜桃网站| 2023国产精品自拍| 免费在线看一区| 欧美日韩精品免费| 一区二区三区日韩在线观看| 国产福利电影一区二区三区| 欧美成人精品高清在线播放| 午夜久久久久久电影| 91久久精品午夜一区二区| 国产精品视频一二三区 | 国产一区二区三区免费在线观看| 欧美日韩一区二区三区不卡| 亚洲精品一二三| 色综合色综合色综合| 国产精品久线在线观看| 国产成人免费网站| 亚洲国产精品黑人久久久| 国产精品1区2区| 国产亚洲综合在线| 国产黑丝在线一区二区三区| 久久久久99精品国产片| 国产高清不卡一区| 国产丝袜美腿一区二区三区| 国产麻豆精品95视频| 国产婷婷色一区二区三区| 国产99久久久国产精品潘金| 久久麻豆一区二区| 99久久久久免费精品国产 | 欧美日韩国产a| 亚洲大片精品永久免费| 777午夜精品免费视频| 美腿丝袜在线亚洲一区| 精品捆绑美女sm三区| 国产乱一区二区| 亚洲丝袜精品丝袜在线| 欧美伊人久久大香线蕉综合69| 婷婷久久综合九色综合伊人色| 91麻豆精品国产91久久久久| 狠狠色狠狠色综合| 亚洲图片激情小说| 欧美精品粉嫩高潮一区二区| 裸体歌舞表演一区二区| 国产欧美日韩在线观看| 99re热视频这里只精品| 亚洲第一久久影院| 久久久久97国产精华液好用吗| 99视频国产精品| 日韩高清不卡一区二区| 久久久久久久久久看片| 一本色道久久综合亚洲91| 热久久久久久久| 国产精品传媒在线| 欧美一级一级性生活免费录像| 韩日精品视频一区| 亚洲精品午夜久久久| 日韩三级在线免费观看| 国产不卡一区视频| 爽好多水快深点欧美视频| 久久天天做天天爱综合色| 在线观看av一区二区| 久久成人18免费观看| 亚洲欧美日韩综合aⅴ视频| 日韩欧美三级在线| 99re亚洲国产精品| 激情五月播播久久久精品| 亚洲精品免费电影| 日本一区二区三区在线不卡| 宅男在线国产精品| 色一情一伦一子一伦一区| 精品一区二区三区不卡| 亚洲国产日韩综合久久精品| 国产精品免费aⅴ片在线观看| 8x福利精品第一导航| 色婷婷激情久久| 成人黄色小视频| 久草精品在线观看| 午夜av区久久| 亚洲蜜桃精久久久久久久| 国产亚洲欧美一级| 日韩一区二区三区精品视频| 欧美在线视频日韩| 91影院在线观看| 丁香一区二区三区| 狠狠色丁香九九婷婷综合五月| 亚洲成人动漫精品| 亚洲综合男人的天堂| 国产精品国产a级| 欧美激情一区二区三区在线| 精品国产一区二区三区久久久蜜月| 色婷婷久久久亚洲一区二区三区| 成人综合在线网站| 国产精品自产自拍| 国产高清在线精品| 国产一区二区三区日韩| 激情图区综合网| 久久99精品国产麻豆不卡| 蜜桃av噜噜一区| 激情综合色丁香一区二区| 全国精品久久少妇| 免费成人你懂的| 久久草av在线| 国产精品一区二区三区四区| 国产一区二区h| 成人午夜激情片| 99久久精品国产精品久久 | 亚洲在线一区二区三区| 国产精品电影一区二区| 亚洲欧美激情视频在线观看一区二区三区 | 午夜视频一区二区三区| 亚洲午夜私人影院| 日韩在线a电影| 精品伊人久久久久7777人| 久久99久久99| 岛国av在线一区| 日本精品一区二区三区四区的功能| av中文字幕一区| 在线观看亚洲成人| 欧美精品乱码久久久久久按摩| 欧美一级国产精品| 日本一区二区综合亚洲| 亚洲欧美日韩久久精品| 午夜一区二区三区视频| 捆绑调教美女网站视频一区| 国产成人午夜精品影院观看视频| 国产乱人伦偷精品视频免下载| av不卡免费在线观看| 欧美少妇性性性| 久久久亚洲精华液精华液精华液| 国产拍欧美日韩视频二区| 一区二区三区四区在线播放 | 久久视频一区二区| 亚洲欧美日韩一区二区| 日韩国产精品久久| 成人黄色电影在线| 在线不卡欧美精品一区二区三区| 欧美mv日韩mv亚洲| 日韩理论片在线| 精品一区二区久久久| 欧洲人成人精品| 久久综合久久综合久久综合| 亚洲国产成人av好男人在线观看| 精品一区二区三区av| 欧美三级日韩在线| 国产精品福利一区|