[問題] 關於LF2407這塊版子的一個問題

看板Electronics作者時間18年前 (2007/08/16 17:51), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
有個問題如下: Display the binary number "00100010"b with the eight pins on port A. 用LF2407 GPIO功能,寫出驅動的code 主要的步驟是: (1)Configure the bits in MCRA so port A is I/O ("XXXXXXXX00000000"). (2)Set pins to output in PADATDIR by setting bits 15-8 as "11111111", with "00100010"b as the data (bits 7-0). "X" designates "don't care" bits. 我知道主要步驟,但是無法以code方式呈現上述理想 麻煩會的大大幫幫忙,這對你們來說應該相當簡單QQ|| 由衷感激 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.175.239.52 kevtola:轉錄至看板 Question 08/16 17:51 kevtola:轉錄至看板 ask 08/16 17:52
文章代碼(AID): #16n1uEwz (Electronics)
文章代碼(AID): #16n1uEwz (Electronics)