Skip to content

Commit

Permalink
boards/nucleo-l496zg: vbat doc improvement
Browse files Browse the repository at this point in the history
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
  • Loading branch information
krzysztof-cabaj and maribu authored Nov 21, 2022
1 parent d557f12 commit 2f36a18
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion boards/nucleo-l496zg/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,10 @@ static const adc_conf_t adc_config[] = {
{ .pin = GPIO_PIN(PORT_C, 1), .dev = 0, .chan = 2 }, /* ADC123_IN2 */
{ .pin = GPIO_PIN(PORT_C, 4), .dev = 0, .chan = 13 }, /* ADC12_IN13 */
{ .pin = GPIO_PIN(PORT_C, 5), .dev = 0, .chan = 14 }, /* ADC12_IN14 */
{ .pin = GPIO_UNDEF, .dev = 0, .chan = 18 }, /* VBAT */
/* VBAT is connected ADC1_IN18 or ADC3_IN18 and a voltage divider
* is used, so that only 1/3 of the actual VBAT is measured. This
* allows for a supply voltage higher than the reference voltage. */
{ .pin = GPIO_UNDEF, .dev = 0, .chan = 18 },
};

/**
Expand Down

0 comments on commit 2f36a18

Please sign in to comment.