43 #ifndef _TUSB_CUSTOM_CLASS_H_
44 #define _TUSB_CUSTOM_CLASS_H_
62 STATIC_ INLINE_
bool tusbh_custom_is_mounted(uint8_t dev_addr, uint16_t vendor_id, uint16_t product_id)
70 tusb_error_t tusbh_custom_read(uint8_t dev_addr, uint16_t vendor_id, uint16_t product_id,
void * p_buffer, uint16_t length);
71 tusb_error_t tusbh_custom_write(uint8_t dev_addr, uint16_t vendor_id, uint16_t product_id,
void const * p_data, uint16_t length);
73 #ifdef _TINY_USB_SOURCE_FILE_
78 void cush_close(uint8_t dev_addr);
USB Standard Interface Descriptor (section 9.6.1 table 9-12)
#define ATTR_WARN_UNUSED_RESULT
The warn_unused_result attribute causes a warning to be emitted if a caller of the function with this...
#define ATTR_PURE
Many functions have no effects except the return value and their return value depends only on the par...
tusb_error_t
Error Code returned.
#define ATTR_ALWAYS_INLINE
Generally, functions are not inlined unless optimization is specified. For functions declared inline...