how to set pin pull-down

i'm trying to read voltage signals from a sensor using internal ADC.When the input is not connected,there will be noise.
I use differential input pins like this:

NRF_DRV_SAADC_DEFAULT_CHANNEL_CONFIG_DIFFERENTIAL(NRF_SAADC_INPUT_AIN1,NRF_SAADC_INPUT_AIN0);

So I want to know how to pulldown pin enabled as an ADC input at the code level?

Parents Reply Children
No Data
Related