Read ADC based on particular delay

Hi all,

I am using SDK version 15, SES IDE.

I am working on Dust sensor, for that i am using SAAADC  example code, I want to read the ADC value from the pin, like this:

nrf_gpio_pin_write(17,1);

ADC_read_pin from channel1 within this delay(below)(which means i want to read ADC in a particular delay)

nrf_delay_us(320);

nrf_gpio_pin_write(17,0);

Can anyone suggest me, how to write this, by using SAADC example code.

Thanks in advance

Regards

Kashinath