[問題] 關於LF2407這塊版子的一個問題
有個問題如下:
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
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):