Re: PORTA 基本使用問題
|
||||
---|---|---|---|---|
版主
|
如果將 RA6:RA7 設為震盪器功能後,以上你所提到的對PORTA 操作的指令只對 RA0 ~ RA5 有效,因為 RA6~RA7 已經不存在了。
發表於: 2007/7/22 22:41
|
|||
|
PORTA 基本使用問題
|
||||
---|---|---|---|---|
新會員
|
想請問一下,我想將PORTA的<RA0:RA5>設為INPUT 而將<RA6:RA7>作為0SC0,OSC1 因此在Configuration Bits裡設定為HS模式之後, 可否直接使用 clrf PORTA clrf TRISA movf TRISA 這些指令,或是必須一個一個bit操作,或其他方式? 謝謝
發表於: 2007/7/22 16:12
|
|||
|