• slider image 442
  • slider image 477
  • slider image 479
  • slider image 480
  • slider image 481
  • slider image 482
:::


Browsing this Thread:   1 Anonymous Users






Re: 請問 banklsel ?
#3
中級會員
中級會員


查看用戶資訊
謝謝你
了解了...


您的回答真快速...
以前我是用 8051 ,ATMEL的支援不是很好
現在發現,早該改用PIC了

感謝感謝


發表於: 2004/9/27 15:28
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問 banklsel ?
#2
版主
版主


查看用戶資訊
用C寫PIC,基本上是不需要考慮BANK的切換動作,因為 C compiler 在做連結動作時會自動加入BANK的切換。所以在C18裡就可以直接寫成:

TRISC = 0x00; // Set PORTC for Output
PORTC = 0x55;

發表於: 2004/9/27 14:54
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


請問 banklsel ?
#1
中級會員
中級會員


查看用戶資訊
請問一下.
一般用MPASM 的 banksel 在 MCC18也要做嗎?

我用 mcc18 開發程式
設定 TRISC, PORTC 時
是否需要作 banksel 的動作???


謝謝

發表於: 2004/9/27 14:45
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... ]

教育訓練中心

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