• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
:::


Browsing this Thread:   1 Anonymous Users






Re: 請問dsPIC30F PWM active high/low
#2
版主
版主


查看用戶資訊
FBORPOR是屬於Configuration的定義,它並不是像一般的RAM 變數的定義故無法直接指定一個值給它,FBORPOR 是由GLD檔裡直接指定其絕對位址,Compiler會直接轉換成Intel Hex格式直接輸出,而無法透過程式給值去設定它。

發表於: 2006/7/6 15:10
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


請問dsPIC30F PWM active high/low
#1
新會員
新會員


查看用戶資訊
請問各位先進,dsPIC可於Configuration device的FBORPOR設定PWM之active high/low,
其語法為
_FBORPOR(PBOR_OFF & MCLR_EN & PWMxL_ACT_HI & PWMxH_ACT_HI );
or _FBORPOR(0x008300);
這是ok的...
但attribute並無法於main中設定,
小弟試過
FBORPOR = 0x008300;
FBORPOR(0x008300);
皆沒辦法...
請問高手...
有沒有辦法直接於主程式中設定此暫存器的方法?!

發表於: 2006/7/2 17:13
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------