mirror of
https://github.com/HwzLoveDz/AXP202-PMIC.git
synced 2026-11-18 06:49:21 +00:00
37 lines
865 B
Plaintext
37 lines
865 B
Plaintext
menu "Example Configuration"
|
|
|
|
menu "I2C Master"
|
|
config I2C_MASTER_SCL
|
|
int "SCL GPIO Num"
|
|
default 22
|
|
help
|
|
GPIO number for I2C Master clock line.
|
|
|
|
config I2C_MASTER_SDA
|
|
int "SDA GPIO Num"
|
|
default 21
|
|
help
|
|
GPIO number for I2C Master data line.
|
|
|
|
config I2C_MASTER_PORT_NUM
|
|
int "Port Number"
|
|
default 1
|
|
help
|
|
Port number for I2C Master device.
|
|
|
|
config I2C_MASTER_FREQUENCY
|
|
int "Master Frequency"
|
|
default 100000
|
|
help
|
|
I2C Speed of Master device.
|
|
|
|
config AXPxxx_INTERRUPT_PIN
|
|
int "Interrupt Pin"
|
|
default 35
|
|
help
|
|
axp202,192,173 interrupt pin.
|
|
|
|
endmenu
|
|
|
|
endmenu
|