Ads7870-core.c