Skip to content

Commit 223e299

Browse files
committed
chore(src/machine/nrf52xxx/adc): update documentation
Signed-off-by: Paul Schroeder <milkpirate@users.noreply.github.com>
1 parent cec83a3 commit 223e299

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/machine/machine_nrf52xxx.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ func (a ADC) Configure(config ADCConfig) {
8989
// TODO: return an error
9090
}
9191

92-
// Source resistance, according to table 89 on page 364 of the nrf52832 datasheet.
93-
// https://infocenter.nordicsemi.com/pdf/nRF52832_PS_v1.4.pdf
92+
// Source resistance, according to table 41 on page 676 of the nrf52832 datasheet.
93+
// https://docs-be.nordicsemi.com/bundle/ps_nrf52840/attach/nRF52840_PS_v1.11.pdf?_LANG=enus
9494
if config.SampleTime <= 3 { // <= 10kΩ
9595
configVal |= nrf.SAADC_CH_CONFIG_TACQ_3us << nrf.SAADC_CH_CONFIG_TACQ_Pos
9696
} else if config.SampleTime <= 5 { // <= 40kΩ

0 commit comments

Comments
 (0)