全志_功能引腳配置_sys_config.fex


 
\lichee\tools\pack\chips\sun8iw5p1\configs\vstar\sys_config.fex
 
 
 

;---------------------------------------------------------------------------------------------------------————————
; port configuration:
; port_name = port:GPIO<mux><pull up/down><driver level><default value>
; mux: GPIO function configuration, 0-input, 1-output, 2+: special funciton for modules
; pull up/down: 1-pull up, 2-pull down
; driver level: 0,1,2,3. 2 is recommended
; default value(默認值): default output value when this IO is configured as an output IO

 

;uart_debug_tx = port:PF02<3><1><default><default>
;uart_debug_rx = port:PF04<3><1><default><default>

 

;---------------------------------------------------------------------------------------------------------————————

 
 
 
 
Port:端口+組內序號<功能分配><內部電阻><驅動能力><輸出電平>
 
功能分配(PA15):
 
 
           輸入為0,輸出為1,  特殊功能2(參考手冊)
 
 
 
 

內部電阻狀態(PA15):   

 

            默認0:禁用        1:上拉    2:下拉

 

 

 

驅動能力(指輸出的電流大小,等級越高,電流越大):

 


            默認為0   ,1, 2,3,四級

 

 

 

輸出電平狀態:

            當功能選擇輸出時,1表示輸出高電平, 0表示輸出低電平,只有當PIN配置成輸出時生效。

 

 

 

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM