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
全站熱搜
每次都忘記,乾脆寫起來,以後直接來這查
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