/*---------------------------------------------------------------------------- * Name: ADC.c * Purpose: low level ADC functions * Note(s): possible defines select the used ADC interface: * __ADC_IRQ - ADC works in Interrupt mode * - ADC works in polling mode (default) *---------------------------------------------------------------------------- * This file is part of the uVision/ARM development tools. * This software may only be used under the terms of a valid, current, * end user licence from KEIL for a compatible version of KEIL software * development tools. Nothing else gives you the right to use this software. * * This software is supplied "AS IS" without warranties of any kind. * * Copyright (c) 2008-2011 Keil - An ARM Company. All rights reserved. *----------------------------------------------------------------------------*/