Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
APP: Major changes in an interface driver code.
Interface driver (structure) now contains all necessary functions to operate. This is important for drivers other than using libftdi, they are now possible. Existing functions based on libftdi were renamed to contain "ftdi" string. This change makes it possible to experiment with new async libusb1 interface, that would talk to FTDI chip directly and hopefully will increase performance. LibSWD driver bridge now use function pointers from interface structure, these are "bitbang", "transfer_bits" and "transfer_bytes". libswd_driver_t was extended with (void*)interface field to hold the routines.
- Loading branch information
Showing
3 changed files
with
59 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters