Open FFBoard
Open source force feedback firmware
vendor_host.h File Reference

Go to the source code of this file.

Functions

static bool tusbh_custom_is_mounted (uint8_t dev_addr, uint16_t vendor_id, uint16_t product_id)
 
bool tusbh_custom_read (uint8_t dev_addr, uint16_t vendor_id, uint16_t product_id, void *p_buffer, uint16_t length)
 
bool tusbh_custom_write (uint8_t dev_addr, uint16_t vendor_id, uint16_t product_id, void const *p_data, uint16_t length)
 
void cush_init (void)
 
bool cush_open_subtask (uint8_t dev_addr, tusb_desc_interface_t const *p_interface_desc, uint16_t *p_length)
 
void cush_isr (pipe_handle_t pipe_hdl, xfer_result_t event)
 
void cush_close (uint8_t dev_addr)
 

Variables

 C
 

Function Documentation

◆ cush_close()

void cush_close ( uint8_t  dev_addr)

Definition at line 125 of file vendor_host.c.

◆ cush_init()

void cush_init ( void  )

Definition at line 91 of file vendor_host.c.

◆ cush_isr()

void cush_isr ( pipe_handle_t  pipe_hdl,
xfer_result_t  event 
)

Definition at line 120 of file vendor_host.c.

◆ cush_open_subtask()

bool cush_open_subtask ( uint8_t  dev_addr,
tusb_desc_interface_t const *  p_interface_desc,
uint16_t *  p_length 
)

Definition at line 96 of file vendor_host.c.

◆ tusbh_custom_is_mounted()

static bool tusbh_custom_is_mounted ( uint8_t  dev_addr,
uint16_t  vendor_id,
uint16_t  product_id 
)
inlinestatic

Definition at line 44 of file vendor_host.h.

◆ tusbh_custom_read()

bool tusbh_custom_read ( uint8_t  dev_addr,
uint16_t  vendor_id,
uint16_t  product_id,
void *  p_buffer,
uint16_t  length 
)

Definition at line 60 of file vendor_host.c.

◆ tusbh_custom_write()

bool tusbh_custom_write ( uint8_t  dev_addr,
uint16_t  vendor_id,
uint16_t  product_id,
void const *  p_data,
uint16_t  length 
)

Definition at line 74 of file vendor_host.c.

Variable Documentation

◆ C

C
extern
Initial value:
{
#endif
typedef struct {
pipe_handle_t pipe_in;
pipe_handle_t pipe_out;
}custom_interface_info_t