Re: 請問如何啟動U1A的UART~
|
||||
---|---|---|---|---|
資深會員
|
自己把這一行加到你的程式檔案開頭
#define UART_ALTRX_ALTTX 0xFFE7 之前也是碰倒這問題,後來我都是直接設定暫存器。反正UART用的暫存器沒幾個,第一次設定完就不會動到了。
發表於: 2008/6/17 15:47
|
|||
不要問我哪裡來,我只是個流浪天涯的工程師
|
||||
|
請問如何啟動U1A的UART~
|
||||
---|---|---|---|---|
新會員
|
原本在舊版本中使用UART_ALTRX_ALTTX指令編譯會過
但最近更新版本後就不會過了,我找過UART.H檔 裡面有個IF,我把那個判斷式拿掉也不行 我想用ALT的那組UART,請問一下我該怎麼做 我使用的是30F4011 OR 3010 謝謝
發表於: 2008/6/17 15:43
|
|||
|