Hi
You can use the ADC_IOCTL_CALIBRATE IOCTL Command, this starts calibration process on a device. Command fails if any channel on a device is opened.
For example:
ioctl( adc_file, ADC_IOCTL_CALIBRATE, NULL );
_io_tchres_install("tchscr:", &_bsp_tchscr_resisitve_init, adc_file );
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------