Chi _ function pin configuration _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: The port number in the group + <function allocation> <internal resistance state> <driving capability> <output level state>
 
Allocation of functions (PA15):
 
 
           Output is 1, 0 is input, the Reference Manual
 
 
 
 

 Internal resistance state (PA15):   

 

            Default 0: Disable 1: Pull 2: pull-down

 

 

Driving capability (an output current refers to the size, the higher the level, the greater the current):

 


            The default is 0, 1, 2, 3, four

 

 

Status Output level:

            When the function select output, the output represents a high level, 0 represents a low level output, take effect only when the PIN configured to output.

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/panda-w/p/10965737.html