![FTDI FT51A Application Note Download Page 150](http://html1.mh-extra.com/html/ftdi/ft51a/ft51a_application-note_2341158150.webp)
Application Note
AN_289 FT51A Programming Guide
Version 1.0
Document Reference No.: FT_000962 Clearance No.: FTDI# 483
149
Copyright © 2015 Future Technology Devices International Limited
Requires: ft51_usb_transfer.c, ft51_usb_endpoint_features.c
3.1.13.1
tmc_initialise
Initialise the library and setup callback functions.
3.1.13.2
tmc_class_req_capabilities
Returns a response to a USB class request for the TMC capabilities (GET_CAPABILITIES).
3.1.13.3
tmc_class_init_clear
Performs an initiate clear to clear any pending or unprocessed TMC messages or responses
(INITIATE_CLEAR).
3.1.13.4
tmc_class_check_clear
Returns the status of a previously sent INITIATE_CLEAR (CHECK_CLEAR_STATUS).
3.1.13.5
tmc_class_init_abort_bulk_out
Aborts a Bulk OUT transfer. This may be a Message Out or a Request Message In
(INITIATE_ABORT_BULK_OUT).
3.1.13.6
tmc_class_check_abort_bulk_out
Returns the status of a previously sent INITIATE_ABORT_BULK_OUT
(CHECK_ABORT_BULK_OUT_STATUS).
3.1.13.7
tmc_class_init_abort_bulk_in
Aborts a Bulk IN transfer. This may be a Message In transfer (INITIATE_ABORT_BULK_IN).
3.1.13.8
tmc_class_check_abort_bulk_in
Returns the status of a previously sent INITIATE_ABORT_BULK_IN
(CHECK_ABORT_BULK_IN_STATUS).
3.1.13.9
tmc_process
Process Message Out, Request Message In and Message In packets from the host.
Callbacks in the application are used to start processing commands in a Message Out, and to
format responses in a Request Message In.
The formatted response is sent after a Request Message In and must complete before returning.
This should be called periodically to handle the packets sent over the BULK endpoints of the TMC
device.