Skip to content

Commit

Permalink
feat(docs): Update power config docs
Browse files Browse the repository at this point in the history
  • Loading branch information
joelspadin authored and dxmh committed Jul 3, 2022
1 parent 71b8f9d commit e46eaf5
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions docs/docs/config/power.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

0 comments on commit e46eaf5

Please sign in to comment.