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

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

?? pm5337_line_sonet_slp.tcl

?? 用于EOS芯片的驅動程序, 供參考 參考
?? TCL
字號:
#------------------------------------------------------------------------------# FILE NAME: PM5337_LINE_SONET_SLP.tcl## DESCRIPTION: 	This file includes the following procedures:#		1) LINE_SONET_Section_Trace_Config#		2) LINE_SONET_Line_BER_Config#			# NOTES:### REVISION History:# Preliminary 1 - Script created#------------------------------------------------------------------------------#------------------------------------------------------------------------------# SCRIPT NAME:	LINE_SONET_Section_Trace_Config## DESCRIPTION:	This procedure configures the RTTP blocks in#               the SLP.#		# PARAMETERS:	devID ##		interface  - 1, 2##               algo       - '1', '2', or '3' (see datasheet for details)##		length16   - '0' for 64 bytes or '1' for 16 byte##		sync       - '0' (algorithm will synchronize when receiving a byte with #                                 it MSB set to 1) #                            '1' algorithm will synchrnoize when receiving a byte with CR/LF# #               enable     - '1' to enable or '0' to disable## NOTE:	      Default trace message in ASCII is#             FF CR 1 2 3 4 5 6 7 8 9 A B C D##------------------------------------------------------------------------------proc LINE_SONET_Section_Trace_Config {devID interface algo length16 sync enable} {    source /usr/lib/cgi-bin/apps/tclscripts/PM5337_util.tcl                                      ##### Defining system block name #####  if {$interface == 1} {    set RTTP "$devID LINE_SONET::SLP::RTTP_1"  } elseif {$interface == 2} {    set RTTP "$devID LINE_SONET::SLP::RTTP_2"  }                             #### Enable Section Trace Message Monitoring ###    if {$enable == 1} {      # 1. Set ALGO[1:0] to 0 to disable trace monitoring in all paths    #    Make sure bit 6 (RESERVED_1) is set to 1        admindwr $devID $RTTP 0x0040 0x03     # 2. Program the expected trace message for the first 16 bytes    #    Program 64 bytes if required (length16 = 0)            admindwr $devID $RTTP 0xCD 0xC0     admindwr $devID $RTTP 0x30 0xC1     admindwr $devID $RTTP 0x31 0xC2     admindwr $devID $RTTP 0x32 0xC3     admindwr $devID $RTTP 0x33 0xC4     admindwr $devID $RTTP 0x34 0xC5     admindwr $devID $RTTP 0x35 0xC6     admindwr $devID $RTTP 0x36 0xC7     admindwr $devID $RTTP 0x37 0xC8     admindwr $devID $RTTP 0x38 0xC9     admindwr $devID $RTTP 0x39 0xCa     admindwr $devID $RTTP 0x41 0xCb     admindwr $devID $RTTP 0x42 0xCc     admindwr $devID $RTTP 0x43 0xCd     admindwr $devID $RTTP 0x44 0xCe     admindwr $devID $RTTP 0x45 0xCf         # 3. Set ALGO [1:0], LENGTH16 and SYNC_CRLF value        set configvalue [expr [expr $algo << 0]|[expr $length16 << 2]| \                    [expr $sync << 5]|[expr 1 << 6]]                        admindwr $devID $RTTP $configvalue 0x03   }      #### Disable Section Trace Message Monitoring ###    if {$enable == 0} {       # set ALOG[1:0] to 0 to disable trace monitoring    admindwr $devID $RTTP 0x0000 0x03   }}#------------------------------------------------------------------------------# SCRIPT NAME:  LINE_SONET_Line_BER_Config# DESCRIPTION:  This procedure configure the SBER block in the #               ADM622 device.#  PARAMETERS : devID#               interface - '1' or '2'#               line_rate - 'OC-3', 'OC-12'#               ber_rate - 3 to 11 #               sd_sf - 0 (SF), 1 (SD)#               enable - 1 (enabled), 0 (disabled)                #  NOTE : #------------------------------------------------------------------------------proc LINE_SONET_Line_BER_Config {devID interface line_rate ber_rate 	sd_sf enable} {    source /usr/lib/cgi-bin/apps/tclscripts/PM5337_util.tcl  # Defining Set Integration Period, Set Threshold and Clear   # Threshold    # ipH = High Word of Integration Period  # ipL = Low Word of Integration Period  # sthre = Set Threshold  # cthre = Clear Threshold      if {$line_rate == "OC-3"} {    if {$ber_rate == 3} {      set ipH 0x0000      set ipL 0x0007      set sthre 0x02D      set cthre 0x026    } elseif {$ber_rate == 4} {      set ipH 0x0000      set ipL 0x0017      set sthre 0x018      set cthre 0x011    } elseif {$ber_rate == 5} {      set ipH 0x0000      set ipL 0x00C7      set sthre 0x016      set cthre 0x00F    } elseif {$ber_rate == 6} {      set ipH 0x0000      set ipL 0x07A8      set sthre 0x015      set cthre 0x00F    } elseif {$ber_rate == 7} {      set ipH 0x0000      set ipL 0x4C7A      set sthre 0x15      set cthre 0x00F    } elseif {$ber_rate == 8} {      set ipH 0x0002      set ipL 0xFCA4      set sthre 0x015      set cthre 0x00F    } elseif {$ber_rate == 9} {      set ipH 0x001D      set ipL 0xDE4F      set sthre 0x015      set cthre 0x00F    } elseif {$ber_rate == 10} {      set ipH 0x012A      set ipL 0xAEF9      set sthre 0x015      set cthre 0x00F    } elseif {$ber_rate == 11} {      set ipH 0x0BAA      set ipL 0xD59D      set sthre 0x015      set cthre 0x00F    }  }    if {$line_rate == "OC-12"} {        if {$ber_rate == 3} {      set ipH 0x0000      set ipL 0x0002      set sthre 0x036      set cthre 0x02B    } elseif {$ber_rate == 4} {      set ipH 0x0000      set ipL 0x0006      set sthre 0x019      set cthre 0x011    } elseif {$ber_rate == 5} {      set ipH 0x0000      set ipL 0x0032      set sthre 0x016      set cthre 0x00F    } elseif {$ber_rate == 6} {      set ipH 0x0000      set ipL 0x01EA      set sthre 0x15      set cthre 0x00F    } elseif {$ber_rate == 7} {      set ipH 0x0000      set ipL 0x131F      set sthre 0x015      set cthre 0x00F    } elseif {$ber_rate == 8} {      set ipH 0x0000      set ipL 0xBF29      set sthre 0x015      set cthre 0x00F    } elseif {$ber_rate == 9} {      set ipH 0x0007      set ipL 0x7794      set sthre 0x015      set cthre 0x00F    } elseif {$ber_rate == 10} {      set ipH 0x004A      set ipL 0xABBF      set sthre 0x015      set cthre 0x00F    } elseif {$ber_rate == 11} {      set ipH 0x02DA      set ipL 0xB568      set sthre 0x015      set cthre 0x00F    }  }    #### Configuring SD BER detection ####    if {$sd_sf == 1} {    if {$enable == 1} {            # 1. Set SD_EN to 0 to disable SD BER detection            if {$interface == 1} {        admindwr $devID LINE_SONET::SLP::SBER_1 0x0000 0x06       } elseif {$interface == 2} {        admindwr $devID LINE_SONET::SLP::SBER_2 0x0000 0x06       }            # 2. Configure SBER SD BERM Set Threshold                  if {$interface == 1} {        admindwr $devID LINE_SONET::SLP::SBER_1 $sthre 0x04       } elseif {$interface == 2} {        admindwr $devID LINE_SONET::SLP::SBER_2 $sthre 0x04       }            # 3. Configure SBER SD BERM Clear Threshold            if {$interface == 1} {        admindwr $devID LINE_SONET::SLP::SBER_1 $cthre 0x05       } elseif {$interface == 2} {        admindwr $devID LINE_SONET::SLP::SBER_2 $cthre 0x05       }            # 4. Configure SBER SD BERM Set Integration Period [31:0]            if {$interface == 1} {        admindwr $devID LINE_SONET::SLP::SBER_1 $ipH 0x07         admindwr $devID LINE_SONET::SLP::SBER_1 $ipL 0x08       } elseif {$interface == 2} {        admindwr $devID LINE_SONET::SLP::SBER_2 $ipH 0x07         admindwr $devID LINE_SONET::SLP::SBER_2 $ipL 0x08       }            # 5. Set SD_EN to 1 to enable SD BER detection                  if {$interface == 1} {        admindwr $devID LINE_SONET::SLP::SBER_1 1 0x06       } elseif {$interface == 2} {        admindwr $devID LINE_SONET::SLP::SBER_2 1 0x06       }    } elseif {$enable == 0} {          # Set SD_EN to 0 to disable SD BER detection                  if {$interface == 1} {        admindwr $devID LINE_SONET::SLP::SBER_1 0 0x06       } elseif {$interface == 2} {        admindwr $devID LINE_SONET::SLP::SBER_2 0 0x06       }     }  }    #### Configuring SF BER detection ####  if {$sd_sf == 0} {    if {$enable == 1} {            # 1. Set SD_EN to 0 to disable SD BER detection                  if {$interface == 1} {        admindwr $devID LINE_SONET::SLP::SBER_1 0x0000 0x16       } elseif {$interface == 2} {        admindwr $devID LINE_SONET::SLP::SBER_2 0x0000 0x16       }            # 2. Configure SBER SD BERM Set Threshold                  if {$interface == 1} {        admindwr $devID LINE_SONET::SLP::SBER_1 $sthre 0x14       } elseif {$interface == 2} {        admindwr $devID LINE_SONET::SLP::SBER_2 $sthre 0x14       }            # 3. Configure SBER SD BERM Clear Threshold                  if {$interface == 1} {        admindwr $devID LINE_SONET::SLP::SBER_1 $cthre 0x15       } elseif {$interface == 2} {        admindwr $devID LINE_SONET::SLP::SBER_2 $cthre 0x15       }            # 4. Configure SBER SD BERM Set Integration Period [31:0]            if {$interface == 1} {        admindwr $devID LINE_SONET::SLP::SBER_1 $ipH 0x17         admindwr $devID LINE_SONET::SLP::SBER_1 $ipL 0x18       } elseif {$interface == 2} {        admindwr $devID LINE_SONET::SLP::SBER_2 $ipH 0x17         admindwr $devID LINE_SONET::SLP::SBER_2 $ipL 0x18       }            # 5. Set SD_EN to 1 to enable SD BER detection            if {$interface == 1} {        admindwr $devID LINE_SONET::SLP::SBER_1 1 0x16       } elseif {$interface == 2} {        admindwr $devID LINE_SONET::SLP::SBER_2 1 0x16       }    } elseif {$enable == 0} {          # Set SD_EN to 0 to disable SD BER detection            if {$interface == 1} {        admindwr $devID LINE_SONET::SLP::SBER_1 0 0x16       } elseif {$interface == 2} {        admindwr $devID LINE_SONET::SLP::SBER_2 0 0x16       }     }  }       }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产99久久久国产精品潘金网站| 99精品视频在线免费观看| 国产精品亚洲午夜一区二区三区| 一本久久精品一区二区| 日韩一本二本av| 一区二区在线观看av| 国产精品一区二区91| 欧美日韩精品福利| 国产精品美女久久久久久| 九九精品视频在线看| 欧美挠脚心视频网站| 亚洲精品一卡二卡| 懂色av一区二区三区免费观看| 日韩欧美国产wwwww| 香港成人在线视频| 精品视频在线看| 亚洲少妇最新在线视频| 粉嫩一区二区三区性色av| 2019国产精品| 国产露脸91国语对白| 欧美成人精品高清在线播放| 婷婷综合五月天| 欧美精品久久久久久久多人混战| 亚洲男人天堂一区| 丁香桃色午夜亚洲一区二区三区| 欧美一级爆毛片| 日韩和欧美的一区| 这里只有精品视频在线观看| 亚洲一区二区三区四区不卡| 91视频国产观看| 亚洲精品成人精品456| 91国偷自产一区二区使用方法| 国产日产欧美一区| 国产成人在线免费观看| 欧美激情综合五月色丁香小说| 国产精品18久久久久久久久久久久| 日韩精品中文字幕在线不卡尤物 | 日韩理论片在线| 91视频xxxx| 亚洲成av人片在线观看| 欧美日韩国产综合视频在线观看| 天堂蜜桃一区二区三区 | 在线观看欧美日本| 国产成人av网站| 国产片一区二区| 丁香激情综合国产| 一区二区三区欧美| 69p69国产精品| 国产一区二区三区| 亚洲欧美综合色| 欧美日韩综合一区| 国产又黄又大久久| 亚洲男人的天堂av| 91精品欧美一区二区三区综合在| 美腿丝袜亚洲一区| 国产精品久久久久影院亚瑟| 欧美日韩成人一区二区| 蜜桃视频一区二区三区在线观看| 国产午夜精品一区二区| 在线看不卡av| 国内精品久久久久影院薰衣草| 亚洲国产成人自拍| 欧美日本一区二区三区四区| 国内成人精品2018免费看| 国产精品高清亚洲| 9191国产精品| 成人黄色av网站在线| 亚洲福利视频三区| 久久精品视频免费| 欧美三级在线播放| 精品一区二区久久| 亚洲精品视频在线看| 精品乱人伦小说| 色乱码一区二区三区88| 美女视频黄 久久| 国产精品九色蝌蚪自拍| 日韩午夜中文字幕| 91黄色在线观看| 成人免费视频播放| 久久成人免费电影| 亚洲第一搞黄网站| 国产精品无圣光一区二区| 欧美一区二区三区在线观看视频| 成人精品免费看| 精品在线观看视频| 亚洲国产精品久久一线不卡| 国产精品无人区| xnxx国产精品| 91精品国产福利| 欧洲一区二区av| 99久久婷婷国产综合精品| 精品一区二区在线看| 午夜精品久久久久久久久| 亚洲美女一区二区三区| 国产精品美女久久久久久久| 午夜影院久久久| 亚洲欧美欧美一区二区三区| 日本一区二区不卡视频| www日韩大片| 精品国产精品一区二区夜夜嗨| 精品视频全国免费看| 日本伦理一区二区| 色诱视频网站一区| 色婷婷亚洲综合| 色狠狠综合天天综合综合| 91蝌蚪porny| 99久久精品久久久久久清纯| 成人av网在线| 成人a区在线观看| 97久久精品人人爽人人爽蜜臀| 国产成人在线观看| 成人高清av在线| 不卡的av中国片| 99久久精品免费看| 色噜噜狠狠色综合欧洲selulu| www.亚洲色图| 在线免费精品视频| 色综合中文综合网| 一级日本不卡的影视| 国产精品久久久久三级| 国产精品免费丝袜| 亚洲少妇30p| 亚洲成人资源在线| 亚洲va在线va天堂| 久久精品99国产国产精| 国产馆精品极品| 波多野结衣在线一区| 99re成人精品视频| 欧美性大战久久久久久久| 91精品国产综合久久婷婷香蕉| 91精品国产美女浴室洗澡无遮挡| 欧美v国产在线一区二区三区| 国产亚洲va综合人人澡精品| 国产精品久久久久桃色tv| 亚洲一二三级电影| 蜜乳av一区二区| 成人三级在线视频| 色综合av在线| 欧美电影免费提供在线观看| 国产拍欧美日韩视频二区| 亚洲精品大片www| 久久99久国产精品黄毛片色诱| 丁香亚洲综合激情啪啪综合| 色噜噜狠狠一区二区三区果冻| 欧美一级理论性理论a| 国产亚洲欧美中文| 亚洲国产你懂的| 东方欧美亚洲色图在线| 欧美日韩大陆在线| 国产精品久久久久久久午夜片| 亚洲妇熟xx妇色黄| 成人激情动漫在线观看| 欧美日韩精品二区第二页| 国产欧美久久久精品影院| 亚洲综合色婷婷| 国产·精品毛片| 日韩欧美自拍偷拍| 成人免费视频在线观看| 九九国产精品视频| 欧美三级电影在线看| 国产欧美视频一区二区三区| 亚洲一区二区三区精品在线| 国产真实乱偷精品视频免| 欧美视频一区二区三区四区| 国产三级精品在线| 日本少妇一区二区| 欧美精品一区在线观看| 成人欧美一区二区三区| 狠狠色丁香久久婷婷综| 在线观看成人免费视频| 欧美国产日韩亚洲一区| 久久99精品久久久久久动态图 | 欧美疯狂做受xxxx富婆| 国产精品久久久久一区二区三区| 日本欧美久久久久免费播放网| 色呦呦网站一区| 国产日韩在线不卡| 国内偷窥港台综合视频在线播放| 欧美丝袜丝交足nylons| 日韩毛片一二三区| 高清beeg欧美| 国产日韩精品一区二区三区 | 久久久91精品国产一区二区精品| 亚洲二区在线观看| 91久久人澡人人添人人爽欧美| 中文字幕欧美日韩一区| 国内精品久久久久影院薰衣草 | 久久精品久久99精品久久| 欧美蜜桃一区二区三区| 亚洲一区二区在线播放相泽 | 欧美高清www午色夜在线视频| 一区二区三区在线播放| www.视频一区| 国产精品精品国产色婷婷| 国产成人精品亚洲日本在线桃色| 久久久久久久电影| 国产盗摄视频一区二区三区| www国产亚洲精品久久麻豆| 欧美日韩在线三区| 午夜精品久久久久久|