精品偷拍一区二区三区,亚洲精品永久 码,亚洲综合日韩精品欧美国产,亚洲国产日韩a在线亚洲

  • <center id="usuqs"></center>
  • 
    
  • 請問大家Uint16 Intx1:1

    請問大家Uint16 Intx1:1
    本人剛剛開始接觸DSP啊,請問個白癡的問題.在寄存器定義的頭文件中總是可以看到如下代碼:Uint16 Intx1:1;請問冒號和冒號后面的1表示什么意思啊?
    其他人氣:794 ℃時間:2019-10-31 14:33:44
    優(yōu)質解答
    冒號后面的數字代表的是長度.看下TI DSP的頭文件,你會發(fā)現在結構體和聯(lián)合體中,基本都是這種形式的.比如:struct GPADIR_BITS { // bits description Uint16 GPIOA0:1; // 0 Uint16 GPIOA1:1; // 1 Uint16 GPIOA2:1; // 2 Uint16 GPIOA3:1; // 3 Uint16 GPIOA4:1; // 4 Uint16 GPIOA5:1; // 5 Uint16 GPIOA6:1; // 6 Uint16 GPIOA7:1; // 7 Uint16 GPIOA8:1; // 8 Uint16 GPIOA9:1; // 9 Uint16 GPIOA10:1; // 10 Uint16 GPIOA11:1; // 11 Uint16 GPIOA12:1; // 12 Uint16 GPIOA13:1; // 13 Uint16 GPIOA14:1; // 14 Uint16 GPIOA15:1; // 15 };冒號后邊的1代表是一個bit的長度. Uint16 xxx:3;則代表三個bit的長度從0到2.查看原帖>>
    麻煩采納,謝謝!
    我來回答
    類似推薦
    請使用1024x768 IE6.0或更高版本瀏覽器瀏覽本站點,以保證最佳閱讀效果。本頁提供作業(yè)小助手,一起搜作業(yè)以及作業(yè)好幫手最新版!
    版權所有 CopyRight © 2012-2024 作業(yè)小助手 All Rights Reserved. 手機版