close

每次都忘記,乾脆寫起來,以後直接來這查

GPIO設定OD(open drain)

如果沒接pull up電阻,output 1=> floating,output 0=> 0

有接pull up電阻,output 1=>依pull up的電源而定,output 0=> 0

 

GPIO設定PP(push pull)

依照IC本身的電源而輸出high or low

 

arrow
arrow
    全站熱搜

    chunyenchu0818 發表在 痞客邦 留言(0) 人氣()