Browse Source

feat(docs): Update power config docs

xmkb
Joel Spadin 3 years ago committed by Julia Luna
parent
commit
1c2d56a27d
Signed by: xenua
GPG Key ID: 6A0C04FA9A7D7582
  1. 10
      docs/docs/config/power.md

10
docs/docs/config/power.md

@ -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. 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 ### Devicetree
Applies to: `compatible = "zmk,battery-voltage-divider"` 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).

Loading…
Cancel
Save