34
ADC-20/ADC-24 User's Guide
5.4.18 HRDLSetMains
int16_t HRDLSetMains
(
int16_t handle,
int16_t sixtyHertz
)
This function configures the mains noise rejection setting. Rejection takes effect the
next time sampling occurs.
Arguments
handle
Handle returned by
sixtyHertz
Specifies whether 50 Hz or 60 Hz noise rejection is applied.
0: reject 50 Hz
<> 0: reject 60 Hz
Returns
0 if failed
1 if successful
Copyright © 2005–2016 Pico Technology Ltd. All rights reserved.
adc20.en r6