X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/cfa48f5987ee00f1ef44959cedc6e5248f2bdfb9..40e1caa2da06d6d4699d5dc3dafb3d34b81f23f7:/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h?ds=sidebyside diff --git a/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h b/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h index 6a4701e13..74c4858ca 100644 --- a/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h +++ b/LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2013. + Copyright (C) Dean Camera, 2015. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2013 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2015 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -40,11 +40,11 @@ /** \ingroup Group_USBClassAOA * \defgroup Group_USBClassAndroidAccessoryHost Android Open Accessory Class Host Mode Driver * - * \section Sec_Dependencies Module Source Dependencies + * \section Sec_USBClassAndroidAccessoryHost_Dependencies Module Source Dependencies * The following files must be built with any user project that uses this module: * - LUFA/Drivers/USB/Class/Host/AndroidAccessoryClassHost.c (Makefile source module name: LUFA_SRC_USBCLASS) * - * \section Sec_ModDescription Module Description + * \section Sec_USBClassAndroidAccessoryHost_ModDescription Module Description * Host Mode USB Class driver framework interface, for the Android Open Accessory USB Class driver. * * @{ @@ -176,7 +176,7 @@ */ uint8_t AOA_Host_SendData(USB_ClassInfo_AOA_Host_t* const AOAInterfaceInfo, const void* const Buffer, - const uint16_t Length); + const uint16_t Length) ATTR_NON_NULL_PTR_ARG(1); /** Sends a given null-terminated string to the attached USB device, if connected. If a device is not connected when the * function is called, the string is discarded. Bytes will be queued for transmission to the device until either the pipe @@ -267,7 +267,7 @@ * \param[in,out] Stream Pointer to a FILE structure where the created stream should be placed. */ void AOA_Host_CreateStream(USB_ClassInfo_AOA_Host_t* const AOAInterfaceInfo, - FILE* const Stream); + FILE* const Stream) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); /** Identical to \ref AOA_Host_CreateStream(), except that reads are blocking until the calling stream function terminates * the transfer. While blocking, the USB and AOA service tasks are called repeatedly to maintain USB communications. @@ -278,7 +278,7 @@ * \param[in,out] Stream Pointer to a FILE structure where the created stream should be placed. */ void AOA_Host_CreateBlockingStream(USB_ClassInfo_AOA_Host_t* const AOAInterfaceInfo, - FILE* const Stream); + FILE* const Stream) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2); /* Private Interface - For use in library only: */ #if !defined(__DOXYGEN__)