X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/d540276b448ff70bd70f54b1ce015cbb951c76c0..1e8df8951a3335e4b45ad0c25a82df3d90d785f3:/LUFA/Drivers/Peripheral/AT90USBXXX67/ADC.h?ds=inline diff --git a/LUFA/Drivers/Peripheral/AT90USBXXX67/ADC.h b/LUFA/Drivers/Peripheral/AT90USBXXX67/ADC.h index 4110a508c..edcbc5781 100644 --- a/LUFA/Drivers/Peripheral/AT90USBXXX67/ADC.h +++ b/LUFA/Drivers/Peripheral/AT90USBXXX67/ADC.h @@ -118,11 +118,11 @@ * \param[in] Mode Mask of ADC settings, including adjustment, prescale, mode and reference */ static inline void ADC_Init(uint8_t Mode); - + /** Turns off the ADC. If this is called, any further ADC operations will require a call to * \ref ADC_Init() before the ADC can be used again. */ - static inline void ADC_Off(void); + static inline void ADC_ShutDown(void); /** Indicates if the ADC is currently enabled. * @@ -145,7 +145,7 @@ #else #define ADC_Init(mode) MACROS{ ADCSRA = ((1 << ADEN) | mode); }MACROE - #define ADC_Off() MACROS{ ADCSRA = 0; }MACROE + #define ADC_ShutDown() MACROS{ ADCSRA = 0; }MACROE #define ADC_GetStatus() ((ADCSRA & (1 << ADEN)) ? true : false)