feat(docs): Update power config docs

This commit is contained in:
Joel Spadin 2022-04-29 21:10:37 -05:00 committed by Dom H
parent 71b8f9d4ac
commit e46eaf5617
1 changed files with 1 additions and 9 deletions

View File

@ -50,16 +50,8 @@ Applies to: `compatible = "zmk,ext-power-generic"`
Driver for reading the voltage of a battery using an ADC connected to a voltage divider.
### Kconfig
Definition file: [zmk/app/drivers/sensor/battery_voltage_divider/Kconfig](https://github.com/zmkfirmware/zmk/blob/main/app/drivers/sensor/battery_voltage_divider/Kconfig)
| Config | Type | Description | Default |
| ------------------------------------ | ---- | ------------------------------------------------------------ | ------- |
| `CONFIG_ZMK_BATTERY_VOLTAGE_DIVIDER` | bool | Enable battery voltage divider driver for battery monitoring | n |
### Devicetree
Applies to: `compatible = "zmk,battery-voltage-divider"`
See [Zephyr's voltage divider documentation](https://docs.zephyrproject.org/latest/reference/devicetree/bindings/voltage-divider.html).
See [Zephyr's voltage divider documentation](https://docs.zephyrproject.org/latest/build/dts/api/bindings/adc/voltage-divider.html).