Created
August 8, 2018 01:02
-
-
Save paretech/a7c361e7b80fbdaef46a565013c9c721 to your computer and use it in GitHub Desktop.
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
# generated by 'clang2py' | |
# flags '-c -d -k defst -l build/libftd2xx.so.1.4.8 -i ftd2xx.h -o test3.py' | |
# -*- coding: utf-8 -*- | |
# | |
# TARGET arch is: [] | |
# WORD_SIZE is: 8 | |
# POINTER_SIZE is: 8 | |
# LONGDOUBLE_SIZE is: 16 | |
# | |
import ctypes | |
# if local wordsize is same as target, keep ctypes pointer function. | |
if ctypes.sizeof(ctypes.c_void_p) == 8: | |
POINTER_T = ctypes.POINTER | |
else: | |
# required to access _ctypes | |
import _ctypes | |
# Emulate a pointer class using the approriate c_int32/c_int64 type | |
# The new class should have : | |
# ['__module__', 'from_param', '_type_', '__dict__', '__weakref__', '__doc__'] | |
# but the class should be submitted to a unique instance for each base type | |
# to that if A == B, POINTER_T(A) == POINTER_T(B) | |
ctypes._pointer_t_type_cache = {} | |
def POINTER_T(pointee): | |
# a pointer should have the same length as LONG | |
fake_ptr_base_type = ctypes.c_uint64 | |
# specific case for c_void_p | |
if pointee is None: # VOID pointer type. c_void_p. | |
pointee = type(None) # ctypes.c_void_p # ctypes.c_ulong | |
clsname = 'c_void' | |
else: | |
clsname = pointee.__name__ | |
if clsname in ctypes._pointer_t_type_cache: | |
return ctypes._pointer_t_type_cache[clsname] | |
# make template | |
class _T(_ctypes._SimpleCData,): | |
_type_ = 'L' | |
_subtype_ = pointee | |
def _sub_addr_(self): | |
return self.value | |
def __repr__(self): | |
return '%s(%d)'%(clsname, self.value) | |
def contents(self): | |
raise TypeError('This is not a ctypes pointer.') | |
def __init__(self, **args): | |
raise TypeError('This is not a ctypes pointer. It is not instanciable.') | |
_class = type('LP_%d_%s'%(8, clsname), (_T,),{}) | |
ctypes._pointer_t_type_cache[clsname] = _class | |
return _class | |
c_int128 = ctypes.c_ubyte*16 | |
c_uint128 = c_int128 | |
void = None | |
if ctypes.sizeof(ctypes.c_longdouble) == 16: | |
c_long_double_t = ctypes.c_longdouble | |
else: | |
c_long_double_t = ctypes.c_ubyte*16 | |
_libraries = {} | |
_libraries['build/libftd2xx.so.1.4.8'] = ctypes.CDLL('build/libftd2xx.so.1.4.8') | |
DWORD = ctypes.c_uint32 | |
ULONG = ctypes.c_uint32 | |
USHORT = ctypes.c_uint16 | |
SHORT = ctypes.c_uint16 | |
UCHAR = ctypes.c_ubyte | |
WORD = ctypes.c_uint16 | |
WCHAR = ctypes.c_uint16 | |
BYTE = ctypes.c_ubyte | |
LPBYTE = POINTER_T(ctypes.c_ubyte) | |
BOOL = ctypes.c_uint32 | |
BOOLEAN = ctypes.c_ubyte | |
CHAR = ctypes.c_ubyte | |
LPBOOL = POINTER_T(ctypes.c_uint32) | |
PUCHAR = POINTER_T(ctypes.c_ubyte) | |
LPCSTR = POINTER_T(ctypes.c_char) | |
PCHAR = POINTER_T(ctypes.c_char) | |
PVOID = POINTER_T(None) | |
HANDLE = POINTER_T(None) | |
LONG = ctypes.c_uint32 | |
INT = ctypes.c_int32 | |
UINT = ctypes.c_uint32 | |
LPSTR = POINTER_T(ctypes.c_char) | |
LPTSTR = POINTER_T(ctypes.c_char) | |
LPCTSTR = POINTER_T(ctypes.c_char) | |
LPDWORD = POINTER_T(ctypes.c_uint32) | |
LPWORD = POINTER_T(ctypes.c_uint16) | |
PULONG = POINTER_T(ctypes.c_uint32) | |
LPLONG = POINTER_T(ctypes.c_uint32) | |
LPVOID = POINTER_T(None) | |
VOID = None | |
PUSHORT = POINTER_T(ctypes.c_uint16) | |
ULONGLONG = ctypes.c_uint64 | |
class struct__OVERLAPPED(ctypes.Structure): | |
pass | |
class union__OVERLAPPED_0(ctypes.Union): | |
pass | |
class struct__OVERLAPPED_0_0(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('Offset', ctypes.c_uint32), | |
('OffsetHigh', ctypes.c_uint32), | |
] | |
union__OVERLAPPED_0._pack_ = True # source:False | |
union__OVERLAPPED_0._fields_ = [ | |
('_0', struct__OVERLAPPED_0_0), | |
('Pointer', POINTER_T(None)), | |
] | |
struct__OVERLAPPED._pack_ = True # source:False | |
struct__OVERLAPPED._fields_ = [ | |
('Internal', ctypes.c_uint32), | |
('InternalHigh', ctypes.c_uint32), | |
('_2', union__OVERLAPPED_0), | |
('hEvent', POINTER_T(None)), | |
] | |
LPOVERLAPPED = POINTER_T(struct__OVERLAPPED) | |
OVERLAPPED = struct__OVERLAPPED | |
class struct__SECURITY_ATTRIBUTES(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('nLength', ctypes.c_uint32), | |
('PADDING_0', ctypes.c_ubyte * 4), | |
('lpSecurityDescriptor', POINTER_T(None)), | |
('bInheritHandle', ctypes.c_uint32), | |
('PADDING_1', ctypes.c_ubyte * 4), | |
] | |
SECURITY_ATTRIBUTES = struct__SECURITY_ATTRIBUTES | |
LPSECURITY_ATTRIBUTES = POINTER_T(struct__SECURITY_ATTRIBUTES) | |
class struct__EVENT_HANDLE(ctypes.Structure): | |
pass | |
class union_c__UA_pthread_mutex_t(ctypes.Union): | |
pass | |
class struct___pthread_mutex_s(ctypes.Structure): | |
pass | |
class struct___pthread_internal_list(ctypes.Structure): | |
pass | |
struct___pthread_internal_list._pack_ = True # source:False | |
struct___pthread_internal_list._fields_ = [ | |
('__prev', POINTER_T(struct___pthread_internal_list)), | |
('__next', POINTER_T(struct___pthread_internal_list)), | |
] | |
__pthread_list_t = struct___pthread_internal_list | |
struct___pthread_mutex_s._pack_ = True # source:False | |
struct___pthread_mutex_s._fields_ = [ | |
('__lock', ctypes.c_int32), | |
('__count', ctypes.c_uint32), | |
('__owner', ctypes.c_int32), | |
('__nusers', ctypes.c_uint32), | |
('__kind', ctypes.c_int32), | |
('__spins', ctypes.c_int16), | |
('__elision', ctypes.c_int16), | |
('__list', globals()['__pthread_list_t']), | |
] | |
union_c__UA_pthread_mutex_t._pack_ = True # source:False | |
union_c__UA_pthread_mutex_t._fields_ = [ | |
('__data', struct___pthread_mutex_s), | |
('__size', ctypes.c_char * 40), | |
('__align', ctypes.c_int64), | |
('PADDING_0', ctypes.c_ubyte * 32), | |
] | |
pthread_mutex_t = union_c__UA_pthread_mutex_t | |
class union_c__UA_pthread_cond_t(ctypes.Union): | |
pass | |
class struct___pthread_cond_s(ctypes.Structure): | |
pass | |
class union___pthread_cond_s_1(ctypes.Union): | |
pass | |
class struct___pthread_cond_s_1_0(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('__low', ctypes.c_uint32), | |
('__high', ctypes.c_uint32), | |
] | |
union___pthread_cond_s_1._pack_ = True # source:False | |
union___pthread_cond_s_1._fields_ = [ | |
('__g1_start', ctypes.c_uint64), | |
('__g1_start32', struct___pthread_cond_s_1_0), | |
] | |
class union___pthread_cond_s_0(ctypes.Union): | |
pass | |
class struct___pthread_cond_s_0_0(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('__low', ctypes.c_uint32), | |
('__high', ctypes.c_uint32), | |
] | |
union___pthread_cond_s_0._pack_ = True # source:False | |
union___pthread_cond_s_0._fields_ = [ | |
('__wseq', ctypes.c_uint64), | |
('__wseq32', struct___pthread_cond_s_0_0), | |
] | |
struct___pthread_cond_s._pack_ = True # source:False | |
struct___pthread_cond_s._fields_ = [ | |
('_0', union___pthread_cond_s_0), | |
('_1', union___pthread_cond_s_1), | |
('__g_refs', ctypes.c_uint32 * 2), | |
('__g_size', ctypes.c_uint32 * 2), | |
('__g1_orig_size', ctypes.c_uint32), | |
('__wrefs', ctypes.c_uint32), | |
('__g_signals', ctypes.c_uint32 * 2), | |
] | |
union_c__UA_pthread_cond_t._pack_ = True # source:False | |
union_c__UA_pthread_cond_t._fields_ = [ | |
('__data', struct___pthread_cond_s), | |
('__size', ctypes.c_char * 48), | |
('__align', ctypes.c_int64), | |
('PADDING_0', ctypes.c_ubyte * 40), | |
] | |
pthread_cond_t = union_c__UA_pthread_cond_t | |
struct__EVENT_HANDLE._pack_ = True # source:False | |
struct__EVENT_HANDLE._fields_ = [ | |
('eCondVar', pthread_cond_t), | |
('eMutex', pthread_mutex_t), | |
('iVar', ctypes.c_int32), | |
('PADDING_0', ctypes.c_ubyte * 4), | |
] | |
EVENT_HANDLE = struct__EVENT_HANDLE | |
class struct_timeval(ctypes.Structure): | |
pass | |
SYSTEMTIME = struct_timeval | |
FILETIME = struct_timeval | |
__cpu_mask = ctypes.c_uint64 | |
class struct_c__SA_cpu_set_t(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('__bits', ctypes.c_uint64 * 16), | |
] | |
cpu_set_t = struct_c__SA_cpu_set_t | |
__sched_cpucount = _libraries['build/libftd2xx.so.1.4.8'].__sched_cpucount | |
__sched_cpucount.restype = ctypes.c_int32 | |
# __sched_cpucount(__setsize, __setp) | |
__sched_cpucount.argtypes = [ctypes.c_int32, POINTER_T(struct_c__SA_cpu_set_t)] | |
__sched_cpucount.__doc__ = \ | |
"""c_int32 __sched_cpucount(c_int32 __setsize, LP_struct_c__SA_cpu_set_t __setp) | |
/usr/include/bits/cpu-set.h:117""" | |
__sched_cpualloc = _libraries['build/libftd2xx.so.1.4.8'].__sched_cpualloc | |
__sched_cpualloc.restype = POINTER_T(struct_c__SA_cpu_set_t) | |
# __sched_cpualloc(__count) | |
__sched_cpualloc.argtypes = [ctypes.c_int32] | |
__sched_cpualloc.__doc__ = \ | |
"""LP_struct_c__SA_cpu_set_t __sched_cpualloc(c_int32 __count) | |
/usr/include/bits/cpu-set.h:119""" | |
__sched_cpufree = _libraries['build/libftd2xx.so.1.4.8'].__sched_cpufree | |
__sched_cpufree.restype = None | |
# __sched_cpufree(__set) | |
__sched_cpufree.argtypes = [POINTER_T(struct_c__SA_cpu_set_t)] | |
__sched_cpufree.__doc__ = \ | |
"""None __sched_cpufree(LP_struct_c__SA_cpu_set_t __set) | |
/usr/include/bits/cpu-set.h:120""" | |
class struct___pthread_rwlock_arch_t(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('__readers', ctypes.c_uint32), | |
('__writers', ctypes.c_uint32), | |
('__wrphase_futex', ctypes.c_uint32), | |
('__writers_futex', ctypes.c_uint32), | |
('__pad3', ctypes.c_uint32), | |
('__pad4', ctypes.c_uint32), | |
('__cur_writer', ctypes.c_int32), | |
('__shared', ctypes.c_int32), | |
('__rwelision', ctypes.c_byte), | |
('__pad1', ctypes.c_ubyte * 7), | |
('__pad2', ctypes.c_uint64), | |
('__flags', ctypes.c_uint32), | |
('PADDING_0', ctypes.c_ubyte * 4), | |
] | |
pthread_t = ctypes.c_uint64 | |
class union_c__UA_pthread_mutexattr_t(ctypes.Union): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('__size', ctypes.c_char * 4), | |
('__align', ctypes.c_int32), | |
] | |
pthread_mutexattr_t = union_c__UA_pthread_mutexattr_t | |
class union_c__UA_pthread_condattr_t(ctypes.Union): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('__size', ctypes.c_char * 4), | |
('__align', ctypes.c_int32), | |
] | |
pthread_condattr_t = union_c__UA_pthread_condattr_t | |
pthread_key_t = ctypes.c_uint32 | |
pthread_once_t = ctypes.c_int32 | |
class union_pthread_attr_t(ctypes.Union): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('__size', ctypes.c_char * 56), | |
('__align', ctypes.c_int64), | |
('PADDING_0', ctypes.c_ubyte * 48), | |
] | |
pthread_attr_t = union_pthread_attr_t | |
class union_c__UA_pthread_rwlock_t(ctypes.Union): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('__data', struct___pthread_rwlock_arch_t), | |
('__size', ctypes.c_char * 56), | |
('__align', ctypes.c_int64), | |
('PADDING_0', ctypes.c_ubyte * 48), | |
] | |
pthread_rwlock_t = union_c__UA_pthread_rwlock_t | |
class union_c__UA_pthread_rwlockattr_t(ctypes.Union): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('__size', ctypes.c_char * 8), | |
('__align', ctypes.c_int64), | |
] | |
pthread_rwlockattr_t = union_c__UA_pthread_rwlockattr_t | |
pthread_spinlock_t = ctypes.c_int32 | |
class union_c__UA_pthread_barrier_t(ctypes.Union): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('__size', ctypes.c_char * 32), | |
('__align', ctypes.c_int64), | |
('PADDING_0', ctypes.c_ubyte * 24), | |
] | |
pthread_barrier_t = union_c__UA_pthread_barrier_t | |
class union_c__UA_pthread_barrierattr_t(ctypes.Union): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('__size', ctypes.c_char * 4), | |
('__align', ctypes.c_int32), | |
] | |
pthread_barrierattr_t = union_c__UA_pthread_barrierattr_t | |
class struct_sched_param(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('sched_priority', ctypes.c_int32), | |
] | |
__jmp_buf = ctypes.c_int64 * 8 | |
__u_char = ctypes.c_ubyte | |
__u_short = ctypes.c_uint16 | |
__u_int = ctypes.c_uint32 | |
__u_long = ctypes.c_uint64 | |
__int8_t = ctypes.c_byte | |
__uint8_t = ctypes.c_ubyte | |
__int16_t = ctypes.c_int16 | |
__uint16_t = ctypes.c_uint16 | |
__int32_t = ctypes.c_int32 | |
__uint32_t = ctypes.c_uint32 | |
__int64_t = ctypes.c_int64 | |
__uint64_t = ctypes.c_uint64 | |
__quad_t = ctypes.c_int64 | |
__u_quad_t = ctypes.c_uint64 | |
__intmax_t = ctypes.c_int64 | |
__uintmax_t = ctypes.c_uint64 | |
__dev_t = ctypes.c_uint64 | |
__uid_t = ctypes.c_uint32 | |
__gid_t = ctypes.c_uint32 | |
__ino_t = ctypes.c_uint64 | |
__ino64_t = ctypes.c_uint64 | |
__mode_t = ctypes.c_uint32 | |
__nlink_t = ctypes.c_uint64 | |
__off_t = ctypes.c_int64 | |
__off64_t = ctypes.c_int64 | |
__pid_t = ctypes.c_int32 | |
class struct_c__SA___fsid_t(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('__val', ctypes.c_int32 * 2), | |
] | |
__fsid_t = struct_c__SA___fsid_t | |
__clock_t = ctypes.c_int64 | |
__rlim_t = ctypes.c_uint64 | |
__rlim64_t = ctypes.c_uint64 | |
__id_t = ctypes.c_uint32 | |
__time_t = ctypes.c_int64 | |
__useconds_t = ctypes.c_uint32 | |
__suseconds_t = ctypes.c_int64 | |
__daddr_t = ctypes.c_int32 | |
__key_t = ctypes.c_int32 | |
__clockid_t = ctypes.c_int32 | |
__timer_t = POINTER_T(None) | |
__blksize_t = ctypes.c_int64 | |
__blkcnt_t = ctypes.c_int64 | |
__blkcnt64_t = ctypes.c_int64 | |
__fsblkcnt_t = ctypes.c_uint64 | |
__fsblkcnt64_t = ctypes.c_uint64 | |
__fsfilcnt_t = ctypes.c_uint64 | |
__fsfilcnt64_t = ctypes.c_uint64 | |
__fsword_t = ctypes.c_int64 | |
__ssize_t = ctypes.c_int64 | |
__syscall_slong_t = ctypes.c_int64 | |
__syscall_ulong_t = ctypes.c_uint64 | |
__loff_t = ctypes.c_int64 | |
__caddr_t = POINTER_T(ctypes.c_char) | |
__intptr_t = ctypes.c_int64 | |
__socklen_t = ctypes.c_uint32 | |
__sig_atomic_t = ctypes.c_int32 | |
class struct___locale_struct(ctypes.Structure): | |
pass | |
class struct___locale_data(ctypes.Structure): | |
pass | |
struct___locale_struct._pack_ = True # source:False | |
struct___locale_struct._fields_ = [ | |
('__locales', POINTER_T(struct___locale_data) * 13), | |
('__ctype_b', POINTER_T(ctypes.c_uint16)), | |
('__ctype_tolower', POINTER_T(ctypes.c_int32)), | |
('__ctype_toupper', POINTER_T(ctypes.c_int32)), | |
('__names', POINTER_T(ctypes.c_char) * 13), | |
] | |
__locale_t = POINTER_T(struct___locale_struct) | |
clock_t = ctypes.c_int64 | |
clockid_t = ctypes.c_int32 | |
locale_t = POINTER_T(struct___locale_struct) | |
class struct_itimerspec(ctypes.Structure): | |
pass | |
class struct_timespec(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('tv_sec', ctypes.c_int64), | |
('tv_nsec', ctypes.c_int64), | |
] | |
struct_itimerspec._pack_ = True # source:False | |
struct_itimerspec._fields_ = [ | |
('it_interval', struct_timespec), | |
('it_value', struct_timespec), | |
] | |
class struct_tm(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('tm_sec', ctypes.c_int32), | |
('tm_min', ctypes.c_int32), | |
('tm_hour', ctypes.c_int32), | |
('tm_mday', ctypes.c_int32), | |
('tm_mon', ctypes.c_int32), | |
('tm_year', ctypes.c_int32), | |
('tm_wday', ctypes.c_int32), | |
('tm_yday', ctypes.c_int32), | |
('tm_isdst', ctypes.c_int32), | |
('PADDING_0', ctypes.c_ubyte * 4), | |
('tm_gmtoff', ctypes.c_int64), | |
('tm_zone', POINTER_T(ctypes.c_char)), | |
] | |
time_t = ctypes.c_int64 | |
timer_t = POINTER_T(None) | |
# values for enumeration 'c__Ea_PTHREAD_CREATE_JOINABLE' | |
PTHREAD_CREATE_JOINABLE = 0 | |
PTHREAD_CREATE_DETACHED = 1 | |
c__Ea_PTHREAD_CREATE_JOINABLE = ctypes.c_int # enum | |
# values for enumeration 'c__Ea_PTHREAD_MUTEX_TIMED_NP' | |
PTHREAD_MUTEX_TIMED_NP = 0 | |
PTHREAD_MUTEX_RECURSIVE_NP = 1 | |
PTHREAD_MUTEX_ERRORCHECK_NP = 2 | |
PTHREAD_MUTEX_ADAPTIVE_NP = 3 | |
PTHREAD_MUTEX_NORMAL = 0 | |
PTHREAD_MUTEX_RECURSIVE = 1 | |
PTHREAD_MUTEX_ERRORCHECK = 2 | |
PTHREAD_MUTEX_DEFAULT = 0 | |
c__Ea_PTHREAD_MUTEX_TIMED_NP = ctypes.c_int # enum | |
# values for enumeration 'c__Ea_PTHREAD_MUTEX_STALLED' | |
PTHREAD_MUTEX_STALLED = 0 | |
PTHREAD_MUTEX_STALLED_NP = 0 | |
PTHREAD_MUTEX_ROBUST = 1 | |
PTHREAD_MUTEX_ROBUST_NP = 1 | |
c__Ea_PTHREAD_MUTEX_STALLED = ctypes.c_int # enum | |
# values for enumeration 'c__Ea_PTHREAD_PRIO_NONE' | |
PTHREAD_PRIO_NONE = 0 | |
PTHREAD_PRIO_INHERIT = 1 | |
PTHREAD_PRIO_PROTECT = 2 | |
c__Ea_PTHREAD_PRIO_NONE = ctypes.c_int # enum | |
# values for enumeration 'c__Ea_PTHREAD_RWLOCK_PREFER_READER_NP' | |
PTHREAD_RWLOCK_PREFER_READER_NP = 0 | |
PTHREAD_RWLOCK_PREFER_WRITER_NP = 1 | |
PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP = 2 | |
PTHREAD_RWLOCK_DEFAULT_NP = 0 | |
c__Ea_PTHREAD_RWLOCK_PREFER_READER_NP = ctypes.c_int # enum | |
# values for enumeration 'c__Ea_PTHREAD_INHERIT_SCHED' | |
PTHREAD_INHERIT_SCHED = 0 | |
PTHREAD_EXPLICIT_SCHED = 1 | |
c__Ea_PTHREAD_INHERIT_SCHED = ctypes.c_int # enum | |
# values for enumeration 'c__Ea_PTHREAD_SCOPE_SYSTEM' | |
PTHREAD_SCOPE_SYSTEM = 0 | |
PTHREAD_SCOPE_PROCESS = 1 | |
c__Ea_PTHREAD_SCOPE_SYSTEM = ctypes.c_int # enum | |
# values for enumeration 'c__Ea_PTHREAD_PROCESS_PRIVATE' | |
PTHREAD_PROCESS_PRIVATE = 0 | |
PTHREAD_PROCESS_SHARED = 1 | |
c__Ea_PTHREAD_PROCESS_PRIVATE = ctypes.c_int # enum | |
class struct__pthread_cleanup_buffer(ctypes.Structure): | |
pass | |
struct__pthread_cleanup_buffer._pack_ = True # source:False | |
struct__pthread_cleanup_buffer._fields_ = [ | |
('__routine', POINTER_T(ctypes.CFUNCTYPE(None, POINTER_T(None)))), | |
('__arg', POINTER_T(None)), | |
('__canceltype', ctypes.c_int32), | |
('PADDING_0', ctypes.c_ubyte * 4), | |
('__prev', POINTER_T(struct__pthread_cleanup_buffer)), | |
] | |
# values for enumeration 'c__Ea_PTHREAD_CANCEL_ENABLE' | |
PTHREAD_CANCEL_ENABLE = 0 | |
PTHREAD_CANCEL_DISABLE = 1 | |
c__Ea_PTHREAD_CANCEL_ENABLE = ctypes.c_int # enum | |
# values for enumeration 'c__Ea_PTHREAD_CANCEL_DEFERRED' | |
PTHREAD_CANCEL_DEFERRED = 0 | |
PTHREAD_CANCEL_ASYNCHRONOUS = 1 | |
c__Ea_PTHREAD_CANCEL_DEFERRED = ctypes.c_int # enum | |
pthread_create = _libraries['build/libftd2xx.so.1.4.8'].pthread_create | |
pthread_create.restype = ctypes.c_int32 | |
# pthread_create(__newthread, __attr, __start_routine, __arg) | |
pthread_create.argtypes = [POINTER_T(ctypes.c_uint64), POINTER_T(union_pthread_attr_t), POINTER_T(ctypes.CFUNCTYPE(POINTER_T(None), POINTER_T(None))), POINTER_T(None)] | |
pthread_create.__doc__ = \ | |
"""c_int32 pthread_create(LP_c_uint64 __newthread, LP_union_pthread_attr_t __attr, LP_FP_ __start_routine, LP_None __arg) | |
/usr/include/pthread.h:234""" | |
pthread_exit = _libraries['build/libftd2xx.so.1.4.8'].pthread_exit | |
pthread_exit.restype = None | |
# pthread_exit(__retval) | |
pthread_exit.argtypes = [POINTER_T(None)] | |
pthread_exit.__doc__ = \ | |
"""None pthread_exit(LP_None __retval) | |
/usr/include/pthread.h:243""" | |
pthread_join = _libraries['build/libftd2xx.so.1.4.8'].pthread_join | |
pthread_join.restype = ctypes.c_int32 | |
# pthread_join(__th, __thread_return) | |
pthread_join.argtypes = [pthread_t, POINTER_T(POINTER_T(None))] | |
pthread_join.__doc__ = \ | |
"""c_int32 pthread_join(pthread_t __th, LP_LP_None __thread_return) | |
/usr/include/pthread.h:251""" | |
pthread_detach = _libraries['build/libftd2xx.so.1.4.8'].pthread_detach | |
pthread_detach.restype = ctypes.c_int32 | |
# pthread_detach(__th) | |
pthread_detach.argtypes = [pthread_t] | |
pthread_detach.__doc__ = \ | |
"""c_int32 pthread_detach(pthread_t __th) | |
/usr/include/pthread.h:272""" | |
pthread_self = _libraries['build/libftd2xx.so.1.4.8'].pthread_self | |
pthread_self.restype = pthread_t | |
# pthread_self() | |
pthread_self.argtypes = [] | |
pthread_self.__doc__ = \ | |
"""pthread_t pthread_self() | |
/usr/include/pthread.h:276""" | |
pthread_equal = _libraries['build/libftd2xx.so.1.4.8'].pthread_equal | |
pthread_equal.restype = ctypes.c_int32 | |
# pthread_equal(__thread1, __thread2) | |
pthread_equal.argtypes = [pthread_t, pthread_t] | |
pthread_equal.__doc__ = \ | |
"""c_int32 pthread_equal(pthread_t __thread1, pthread_t __thread2) | |
/usr/include/pthread.h:279""" | |
pthread_attr_init = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_init | |
pthread_attr_init.restype = ctypes.c_int32 | |
# pthread_attr_init(__attr) | |
pthread_attr_init.argtypes = [POINTER_T(union_pthread_attr_t)] | |
pthread_attr_init.__doc__ = \ | |
"""c_int32 pthread_attr_init(LP_union_pthread_attr_t __attr) | |
/usr/include/pthread.h:288""" | |
pthread_attr_destroy = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_destroy | |
pthread_attr_destroy.restype = ctypes.c_int32 | |
# pthread_attr_destroy(__attr) | |
pthread_attr_destroy.argtypes = [POINTER_T(union_pthread_attr_t)] | |
pthread_attr_destroy.__doc__ = \ | |
"""c_int32 pthread_attr_destroy(LP_union_pthread_attr_t __attr) | |
/usr/include/pthread.h:291""" | |
pthread_attr_getdetachstate = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_getdetachstate | |
pthread_attr_getdetachstate.restype = ctypes.c_int32 | |
# pthread_attr_getdetachstate(__attr, __detachstate) | |
pthread_attr_getdetachstate.argtypes = [POINTER_T(union_pthread_attr_t), POINTER_T(ctypes.c_int32)] | |
pthread_attr_getdetachstate.__doc__ = \ | |
"""c_int32 pthread_attr_getdetachstate(LP_union_pthread_attr_t __attr, LP_c_int32 __detachstate) | |
/usr/include/pthread.h:295""" | |
pthread_attr_setdetachstate = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_setdetachstate | |
pthread_attr_setdetachstate.restype = ctypes.c_int32 | |
# pthread_attr_setdetachstate(__attr, __detachstate) | |
pthread_attr_setdetachstate.argtypes = [POINTER_T(union_pthread_attr_t), ctypes.c_int32] | |
pthread_attr_setdetachstate.__doc__ = \ | |
"""c_int32 pthread_attr_setdetachstate(LP_union_pthread_attr_t __attr, c_int32 __detachstate) | |
/usr/include/pthread.h:300""" | |
pthread_attr_getguardsize = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_getguardsize | |
pthread_attr_getguardsize.restype = ctypes.c_int32 | |
# pthread_attr_getguardsize(__attr, __guardsize) | |
pthread_attr_getguardsize.argtypes = [POINTER_T(union_pthread_attr_t), POINTER_T(ctypes.c_int32)] | |
pthread_attr_getguardsize.__doc__ = \ | |
"""c_int32 pthread_attr_getguardsize(LP_union_pthread_attr_t __attr, LP_c_int32 __guardsize) | |
/usr/include/pthread.h:306""" | |
pthread_attr_setguardsize = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_setguardsize | |
pthread_attr_setguardsize.restype = ctypes.c_int32 | |
# pthread_attr_setguardsize(__attr, __guardsize) | |
pthread_attr_setguardsize.argtypes = [POINTER_T(union_pthread_attr_t), ctypes.c_int32] | |
pthread_attr_setguardsize.__doc__ = \ | |
"""c_int32 pthread_attr_setguardsize(LP_union_pthread_attr_t __attr, c_int32 __guardsize) | |
/usr/include/pthread.h:311""" | |
pthread_attr_getschedparam = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_getschedparam | |
pthread_attr_getschedparam.restype = ctypes.c_int32 | |
# pthread_attr_getschedparam(__attr, __param) | |
pthread_attr_getschedparam.argtypes = [POINTER_T(union_pthread_attr_t), POINTER_T(struct_sched_param)] | |
pthread_attr_getschedparam.__doc__ = \ | |
"""c_int32 pthread_attr_getschedparam(LP_union_pthread_attr_t __attr, LP_struct_sched_param __param) | |
/usr/include/pthread.h:317""" | |
pthread_attr_setschedparam = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_setschedparam | |
pthread_attr_setschedparam.restype = ctypes.c_int32 | |
# pthread_attr_setschedparam(__attr, __param) | |
pthread_attr_setschedparam.argtypes = [POINTER_T(union_pthread_attr_t), POINTER_T(struct_sched_param)] | |
pthread_attr_setschedparam.__doc__ = \ | |
"""c_int32 pthread_attr_setschedparam(LP_union_pthread_attr_t __attr, LP_struct_sched_param __param) | |
/usr/include/pthread.h:322""" | |
pthread_attr_getschedpolicy = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_getschedpolicy | |
pthread_attr_getschedpolicy.restype = ctypes.c_int32 | |
# pthread_attr_getschedpolicy(__attr, __policy) | |
pthread_attr_getschedpolicy.argtypes = [POINTER_T(union_pthread_attr_t), POINTER_T(ctypes.c_int32)] | |
pthread_attr_getschedpolicy.__doc__ = \ | |
"""c_int32 pthread_attr_getschedpolicy(LP_union_pthread_attr_t __attr, LP_c_int32 __policy) | |
/usr/include/pthread.h:327""" | |
pthread_attr_setschedpolicy = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_setschedpolicy | |
pthread_attr_setschedpolicy.restype = ctypes.c_int32 | |
# pthread_attr_setschedpolicy(__attr, __policy) | |
pthread_attr_setschedpolicy.argtypes = [POINTER_T(union_pthread_attr_t), ctypes.c_int32] | |
pthread_attr_setschedpolicy.__doc__ = \ | |
"""c_int32 pthread_attr_setschedpolicy(LP_union_pthread_attr_t __attr, c_int32 __policy) | |
/usr/include/pthread.h:332""" | |
pthread_attr_getinheritsched = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_getinheritsched | |
pthread_attr_getinheritsched.restype = ctypes.c_int32 | |
# pthread_attr_getinheritsched(__attr, __inherit) | |
pthread_attr_getinheritsched.argtypes = [POINTER_T(union_pthread_attr_t), POINTER_T(ctypes.c_int32)] | |
pthread_attr_getinheritsched.__doc__ = \ | |
"""c_int32 pthread_attr_getinheritsched(LP_union_pthread_attr_t __attr, LP_c_int32 __inherit) | |
/usr/include/pthread.h:336""" | |
pthread_attr_setinheritsched = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_setinheritsched | |
pthread_attr_setinheritsched.restype = ctypes.c_int32 | |
# pthread_attr_setinheritsched(__attr, __inherit) | |
pthread_attr_setinheritsched.argtypes = [POINTER_T(union_pthread_attr_t), ctypes.c_int32] | |
pthread_attr_setinheritsched.__doc__ = \ | |
"""c_int32 pthread_attr_setinheritsched(LP_union_pthread_attr_t __attr, c_int32 __inherit) | |
/usr/include/pthread.h:341""" | |
pthread_attr_getscope = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_getscope | |
pthread_attr_getscope.restype = ctypes.c_int32 | |
# pthread_attr_getscope(__attr, __scope) | |
pthread_attr_getscope.argtypes = [POINTER_T(union_pthread_attr_t), POINTER_T(ctypes.c_int32)] | |
pthread_attr_getscope.__doc__ = \ | |
"""c_int32 pthread_attr_getscope(LP_union_pthread_attr_t __attr, LP_c_int32 __scope) | |
/usr/include/pthread.h:347""" | |
pthread_attr_setscope = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_setscope | |
pthread_attr_setscope.restype = ctypes.c_int32 | |
# pthread_attr_setscope(__attr, __scope) | |
pthread_attr_setscope.argtypes = [POINTER_T(union_pthread_attr_t), ctypes.c_int32] | |
pthread_attr_setscope.__doc__ = \ | |
"""c_int32 pthread_attr_setscope(LP_union_pthread_attr_t __attr, c_int32 __scope) | |
/usr/include/pthread.h:352""" | |
pthread_attr_getstackaddr = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_getstackaddr | |
pthread_attr_getstackaddr.restype = ctypes.c_int32 | |
# pthread_attr_getstackaddr(__attr, __stackaddr) | |
pthread_attr_getstackaddr.argtypes = [POINTER_T(union_pthread_attr_t), POINTER_T(POINTER_T(None))] | |
pthread_attr_getstackaddr.__doc__ = \ | |
"""c_int32 pthread_attr_getstackaddr(LP_union_pthread_attr_t __attr, LP_LP_None __stackaddr) | |
/usr/include/pthread.h:356""" | |
pthread_attr_setstackaddr = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_setstackaddr | |
pthread_attr_setstackaddr.restype = ctypes.c_int32 | |
# pthread_attr_setstackaddr(__attr, __stackaddr) | |
pthread_attr_setstackaddr.argtypes = [POINTER_T(union_pthread_attr_t), POINTER_T(None)] | |
pthread_attr_setstackaddr.__doc__ = \ | |
"""c_int32 pthread_attr_setstackaddr(LP_union_pthread_attr_t __attr, LP_None __stackaddr) | |
/usr/include/pthread.h:364""" | |
pthread_attr_getstacksize = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_getstacksize | |
pthread_attr_getstacksize.restype = ctypes.c_int32 | |
# pthread_attr_getstacksize(__attr, __stacksize) | |
pthread_attr_getstacksize.argtypes = [POINTER_T(union_pthread_attr_t), POINTER_T(ctypes.c_int32)] | |
pthread_attr_getstacksize.__doc__ = \ | |
"""c_int32 pthread_attr_getstacksize(LP_union_pthread_attr_t __attr, LP_c_int32 __stacksize) | |
/usr/include/pthread.h:369""" | |
pthread_attr_setstacksize = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_setstacksize | |
pthread_attr_setstacksize.restype = ctypes.c_int32 | |
# pthread_attr_setstacksize(__attr, __stacksize) | |
pthread_attr_setstacksize.argtypes = [POINTER_T(union_pthread_attr_t), ctypes.c_int32] | |
pthread_attr_setstacksize.__doc__ = \ | |
"""c_int32 pthread_attr_setstacksize(LP_union_pthread_attr_t __attr, c_int32 __stacksize) | |
/usr/include/pthread.h:376""" | |
pthread_attr_getstack = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_getstack | |
pthread_attr_getstack.restype = ctypes.c_int32 | |
# pthread_attr_getstack(__attr, __stackaddr, __stacksize) | |
pthread_attr_getstack.argtypes = [POINTER_T(union_pthread_attr_t), POINTER_T(POINTER_T(None)), POINTER_T(ctypes.c_int32)] | |
pthread_attr_getstack.__doc__ = \ | |
"""c_int32 pthread_attr_getstack(LP_union_pthread_attr_t __attr, LP_LP_None __stackaddr, LP_c_int32 __stacksize) | |
/usr/include/pthread.h:382""" | |
pthread_attr_setstack = _libraries['build/libftd2xx.so.1.4.8'].pthread_attr_setstack | |
pthread_attr_setstack.restype = ctypes.c_int32 | |
# pthread_attr_setstack(__attr, __stackaddr, __stacksize) | |
pthread_attr_setstack.argtypes = [POINTER_T(union_pthread_attr_t), POINTER_T(None), ctypes.c_int32] | |
pthread_attr_setstack.__doc__ = \ | |
"""c_int32 pthread_attr_setstack(LP_union_pthread_attr_t __attr, LP_None __stackaddr, c_int32 __stacksize) | |
/usr/include/pthread.h:390""" | |
pthread_setschedparam = _libraries['build/libftd2xx.so.1.4.8'].pthread_setschedparam | |
pthread_setschedparam.restype = ctypes.c_int32 | |
# pthread_setschedparam(__target_thread, __policy, __param) | |
pthread_setschedparam.argtypes = [pthread_t, ctypes.c_int32, POINTER_T(struct_sched_param)] | |
pthread_setschedparam.__doc__ = \ | |
"""c_int32 pthread_setschedparam(pthread_t __target_thread, c_int32 __policy, LP_struct_sched_param __param) | |
/usr/include/pthread.h:430""" | |
pthread_getschedparam = _libraries['build/libftd2xx.so.1.4.8'].pthread_getschedparam | |
pthread_getschedparam.restype = ctypes.c_int32 | |
# pthread_getschedparam(__target_thread, __policy, __param) | |
pthread_getschedparam.argtypes = [pthread_t, POINTER_T(ctypes.c_int32), POINTER_T(struct_sched_param)] | |
pthread_getschedparam.__doc__ = \ | |
"""c_int32 pthread_getschedparam(pthread_t __target_thread, LP_c_int32 __policy, LP_struct_sched_param __param) | |
/usr/include/pthread.h:435""" | |
pthread_setschedprio = _libraries['build/libftd2xx.so.1.4.8'].pthread_setschedprio | |
pthread_setschedprio.restype = ctypes.c_int32 | |
# pthread_setschedprio(__target_thread, __prio) | |
pthread_setschedprio.argtypes = [pthread_t, ctypes.c_int32] | |
pthread_setschedprio.__doc__ = \ | |
"""c_int32 pthread_setschedprio(pthread_t __target_thread, c_int32 __prio) | |
/usr/include/pthread.h:441""" | |
pthread_once = _libraries['build/libftd2xx.so.1.4.8'].pthread_once | |
pthread_once.restype = ctypes.c_int32 | |
# pthread_once(__once_control, __init_routine) | |
pthread_once.argtypes = [POINTER_T(ctypes.c_int32), POINTER_T(ctypes.CFUNCTYPE(None))] | |
pthread_once.__doc__ = \ | |
"""c_int32 pthread_once(LP_c_int32 __once_control, LP_FP_ __init_routine) | |
/usr/include/pthread.h:495""" | |
pthread_setcancelstate = _libraries['build/libftd2xx.so.1.4.8'].pthread_setcancelstate | |
pthread_setcancelstate.restype = ctypes.c_int32 | |
# pthread_setcancelstate(__state, __oldstate) | |
pthread_setcancelstate.argtypes = [ctypes.c_int32, POINTER_T(ctypes.c_int32)] | |
pthread_setcancelstate.__doc__ = \ | |
"""c_int32 pthread_setcancelstate(c_int32 __state, LP_c_int32 __oldstate) | |
/usr/include/pthread.h:507""" | |
pthread_setcanceltype = _libraries['build/libftd2xx.so.1.4.8'].pthread_setcanceltype | |
pthread_setcanceltype.restype = ctypes.c_int32 | |
# pthread_setcanceltype(__type, __oldtype) | |
pthread_setcanceltype.argtypes = [ctypes.c_int32, POINTER_T(ctypes.c_int32)] | |
pthread_setcanceltype.__doc__ = \ | |
"""c_int32 pthread_setcanceltype(c_int32 __type, LP_c_int32 __oldtype) | |
/usr/include/pthread.h:511""" | |
pthread_cancel = _libraries['build/libftd2xx.so.1.4.8'].pthread_cancel | |
pthread_cancel.restype = ctypes.c_int32 | |
# pthread_cancel(__th) | |
pthread_cancel.argtypes = [pthread_t] | |
pthread_cancel.__doc__ = \ | |
"""c_int32 pthread_cancel(pthread_t __th) | |
/usr/include/pthread.h:514""" | |
pthread_testcancel = _libraries['build/libftd2xx.so.1.4.8'].pthread_testcancel | |
pthread_testcancel.restype = None | |
# pthread_testcancel() | |
pthread_testcancel.argtypes = [] | |
pthread_testcancel.__doc__ = \ | |
"""None pthread_testcancel() | |
/usr/include/pthread.h:519""" | |
class struct_c__SA___pthread_unwind_buf_t(ctypes.Structure): | |
pass | |
class struct_c__SA___pthread_unwind_buf_t_0(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('__cancel_jmp_buf', ctypes.c_int64 * 8), | |
('__mask_was_saved', ctypes.c_int32), | |
('PADDING_0', ctypes.c_ubyte * 4), | |
] | |
struct_c__SA___pthread_unwind_buf_t._pack_ = True # source:False | |
struct_c__SA___pthread_unwind_buf_t._fields_ = [ | |
('__cancel_jmp_buf', struct_c__SA___pthread_unwind_buf_t_0 * 1), | |
('__pad', POINTER_T(None) * 4), | |
] | |
__pthread_unwind_buf_t = struct_c__SA___pthread_unwind_buf_t | |
class struct___pthread_cleanup_frame(ctypes.Structure): | |
pass | |
struct___pthread_cleanup_frame._pack_ = True # source:False | |
struct___pthread_cleanup_frame._fields_ = [ | |
('__cancel_routine', POINTER_T(ctypes.CFUNCTYPE(None, POINTER_T(None)))), | |
('__cancel_arg', POINTER_T(None)), | |
('__do_it', ctypes.c_int32), | |
('__cancel_type', ctypes.c_int32), | |
] | |
__pthread_register_cancel = _libraries['build/libftd2xx.so.1.4.8'].__pthread_register_cancel | |
__pthread_register_cancel.restype = None | |
# __pthread_register_cancel(__buf) | |
__pthread_register_cancel.argtypes = [POINTER_T(struct_c__SA___pthread_unwind_buf_t)] | |
__pthread_register_cancel.__doc__ = \ | |
"""None __pthread_register_cancel(LP_struct_c__SA___pthread_unwind_buf_t __buf) | |
/usr/include/pthread.h:681""" | |
__pthread_unregister_cancel = _libraries['build/libftd2xx.so.1.4.8'].__pthread_unregister_cancel | |
__pthread_unregister_cancel.restype = None | |
# __pthread_unregister_cancel(__buf) | |
__pthread_unregister_cancel.argtypes = [POINTER_T(struct_c__SA___pthread_unwind_buf_t)] | |
__pthread_unregister_cancel.__doc__ = \ | |
"""None __pthread_unregister_cancel(LP_struct_c__SA___pthread_unwind_buf_t __buf) | |
/usr/include/pthread.h:693""" | |
__pthread_unwind_next = _libraries['build/libftd2xx.so.1.4.8'].__pthread_unwind_next | |
__pthread_unwind_next.restype = None | |
# __pthread_unwind_next(__buf) | |
__pthread_unwind_next.argtypes = [POINTER_T(struct_c__SA___pthread_unwind_buf_t)] | |
__pthread_unwind_next.__doc__ = \ | |
"""None __pthread_unwind_next(LP_struct_c__SA___pthread_unwind_buf_t __buf) | |
/usr/include/pthread.h:734""" | |
class struct___jmp_buf_tag(ctypes.Structure): | |
pass | |
__sigsetjmp = _libraries['build/libftd2xx.so.1.4.8'].__sigsetjmp | |
__sigsetjmp.restype = ctypes.c_int32 | |
# __sigsetjmp(__env, __savemask) | |
__sigsetjmp.argtypes = [POINTER_T(struct___jmp_buf_tag), ctypes.c_int32] | |
__sigsetjmp.__doc__ = \ | |
"""c_int32 __sigsetjmp(LP_struct___jmp_buf_tag __env, c_int32 __savemask) | |
/usr/include/pthread.h:744""" | |
pthread_mutex_init = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutex_init | |
pthread_mutex_init.restype = ctypes.c_int32 | |
# pthread_mutex_init(__mutex, __mutexattr) | |
pthread_mutex_init.argtypes = [POINTER_T(union_c__UA_pthread_mutex_t), POINTER_T(union_c__UA_pthread_mutexattr_t)] | |
pthread_mutex_init.__doc__ = \ | |
"""c_int32 pthread_mutex_init(LP_union_c__UA_pthread_mutex_t __mutex, LP_union_c__UA_pthread_mutexattr_t __mutexattr) | |
/usr/include/pthread.h:750""" | |
pthread_mutex_destroy = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutex_destroy | |
pthread_mutex_destroy.restype = ctypes.c_int32 | |
# pthread_mutex_destroy(__mutex) | |
pthread_mutex_destroy.argtypes = [POINTER_T(union_c__UA_pthread_mutex_t)] | |
pthread_mutex_destroy.__doc__ = \ | |
"""c_int32 pthread_mutex_destroy(LP_union_c__UA_pthread_mutex_t __mutex) | |
/usr/include/pthread.h:755""" | |
pthread_mutex_trylock = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutex_trylock | |
pthread_mutex_trylock.restype = ctypes.c_int32 | |
# pthread_mutex_trylock(__mutex) | |
pthread_mutex_trylock.argtypes = [POINTER_T(union_c__UA_pthread_mutex_t)] | |
pthread_mutex_trylock.__doc__ = \ | |
"""c_int32 pthread_mutex_trylock(LP_union_c__UA_pthread_mutex_t __mutex) | |
/usr/include/pthread.h:759""" | |
pthread_mutex_lock = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutex_lock | |
pthread_mutex_lock.restype = ctypes.c_int32 | |
# pthread_mutex_lock(__mutex) | |
pthread_mutex_lock.argtypes = [POINTER_T(union_c__UA_pthread_mutex_t)] | |
pthread_mutex_lock.__doc__ = \ | |
"""c_int32 pthread_mutex_lock(LP_union_c__UA_pthread_mutex_t __mutex) | |
/usr/include/pthread.h:763""" | |
pthread_mutex_timedlock = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutex_timedlock | |
pthread_mutex_timedlock.restype = ctypes.c_int32 | |
# pthread_mutex_timedlock(__mutex, __abstime) | |
pthread_mutex_timedlock.argtypes = [POINTER_T(union_c__UA_pthread_mutex_t), POINTER_T(struct_timespec)] | |
pthread_mutex_timedlock.__doc__ = \ | |
"""c_int32 pthread_mutex_timedlock(LP_union_c__UA_pthread_mutex_t __mutex, LP_struct_timespec __abstime) | |
/usr/include/pthread.h:768""" | |
pthread_mutex_unlock = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutex_unlock | |
pthread_mutex_unlock.restype = ctypes.c_int32 | |
# pthread_mutex_unlock(__mutex) | |
pthread_mutex_unlock.argtypes = [POINTER_T(union_c__UA_pthread_mutex_t)] | |
pthread_mutex_unlock.__doc__ = \ | |
"""c_int32 pthread_mutex_unlock(LP_union_c__UA_pthread_mutex_t __mutex) | |
/usr/include/pthread.h:774""" | |
pthread_mutex_getprioceiling = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutex_getprioceiling | |
pthread_mutex_getprioceiling.restype = ctypes.c_int32 | |
# pthread_mutex_getprioceiling(__mutex, __prioceiling) | |
pthread_mutex_getprioceiling.argtypes = [POINTER_T(union_c__UA_pthread_mutex_t), POINTER_T(ctypes.c_int32)] | |
pthread_mutex_getprioceiling.__doc__ = \ | |
"""c_int32 pthread_mutex_getprioceiling(LP_union_c__UA_pthread_mutex_t __mutex, LP_c_int32 __prioceiling) | |
/usr/include/pthread.h:779""" | |
pthread_mutex_setprioceiling = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutex_setprioceiling | |
pthread_mutex_setprioceiling.restype = ctypes.c_int32 | |
# pthread_mutex_setprioceiling(__mutex, __prioceiling, __old_ceiling) | |
pthread_mutex_setprioceiling.argtypes = [POINTER_T(union_c__UA_pthread_mutex_t), ctypes.c_int32, POINTER_T(ctypes.c_int32)] | |
pthread_mutex_setprioceiling.__doc__ = \ | |
"""c_int32 pthread_mutex_setprioceiling(LP_union_c__UA_pthread_mutex_t __mutex, c_int32 __prioceiling, LP_c_int32 __old_ceiling) | |
/usr/include/pthread.h:786""" | |
pthread_mutex_consistent = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutex_consistent | |
pthread_mutex_consistent.restype = ctypes.c_int32 | |
# pthread_mutex_consistent(__mutex) | |
pthread_mutex_consistent.argtypes = [POINTER_T(union_c__UA_pthread_mutex_t)] | |
pthread_mutex_consistent.__doc__ = \ | |
"""c_int32 pthread_mutex_consistent(LP_union_c__UA_pthread_mutex_t __mutex) | |
/usr/include/pthread.h:794""" | |
pthread_mutexattr_init = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutexattr_init | |
pthread_mutexattr_init.restype = ctypes.c_int32 | |
# pthread_mutexattr_init(__attr) | |
pthread_mutexattr_init.argtypes = [POINTER_T(union_c__UA_pthread_mutexattr_t)] | |
pthread_mutexattr_init.__doc__ = \ | |
"""c_int32 pthread_mutexattr_init(LP_union_c__UA_pthread_mutexattr_t __attr) | |
/usr/include/pthread.h:807""" | |
pthread_mutexattr_destroy = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutexattr_destroy | |
pthread_mutexattr_destroy.restype = ctypes.c_int32 | |
# pthread_mutexattr_destroy(__attr) | |
pthread_mutexattr_destroy.argtypes = [POINTER_T(union_c__UA_pthread_mutexattr_t)] | |
pthread_mutexattr_destroy.__doc__ = \ | |
"""c_int32 pthread_mutexattr_destroy(LP_union_c__UA_pthread_mutexattr_t __attr) | |
/usr/include/pthread.h:811""" | |
pthread_mutexattr_getpshared = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutexattr_getpshared | |
pthread_mutexattr_getpshared.restype = ctypes.c_int32 | |
# pthread_mutexattr_getpshared(__attr, __pshared) | |
pthread_mutexattr_getpshared.argtypes = [POINTER_T(union_c__UA_pthread_mutexattr_t), POINTER_T(ctypes.c_int32)] | |
pthread_mutexattr_getpshared.__doc__ = \ | |
"""c_int32 pthread_mutexattr_getpshared(LP_union_c__UA_pthread_mutexattr_t __attr, LP_c_int32 __pshared) | |
/usr/include/pthread.h:815""" | |
pthread_mutexattr_setpshared = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutexattr_setpshared | |
pthread_mutexattr_setpshared.restype = ctypes.c_int32 | |
# pthread_mutexattr_setpshared(__attr, __pshared) | |
pthread_mutexattr_setpshared.argtypes = [POINTER_T(union_c__UA_pthread_mutexattr_t), ctypes.c_int32] | |
pthread_mutexattr_setpshared.__doc__ = \ | |
"""c_int32 pthread_mutexattr_setpshared(LP_union_c__UA_pthread_mutexattr_t __attr, c_int32 __pshared) | |
/usr/include/pthread.h:821""" | |
pthread_mutexattr_gettype = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutexattr_gettype | |
pthread_mutexattr_gettype.restype = ctypes.c_int32 | |
# pthread_mutexattr_gettype(__attr, __kind) | |
pthread_mutexattr_gettype.argtypes = [POINTER_T(union_c__UA_pthread_mutexattr_t), POINTER_T(ctypes.c_int32)] | |
pthread_mutexattr_gettype.__doc__ = \ | |
"""c_int32 pthread_mutexattr_gettype(LP_union_c__UA_pthread_mutexattr_t __attr, LP_c_int32 __kind) | |
/usr/include/pthread.h:827""" | |
pthread_mutexattr_settype = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutexattr_settype | |
pthread_mutexattr_settype.restype = ctypes.c_int32 | |
# pthread_mutexattr_settype(__attr, __kind) | |
pthread_mutexattr_settype.argtypes = [POINTER_T(union_c__UA_pthread_mutexattr_t), ctypes.c_int32] | |
pthread_mutexattr_settype.__doc__ = \ | |
"""c_int32 pthread_mutexattr_settype(LP_union_c__UA_pthread_mutexattr_t __attr, c_int32 __kind) | |
/usr/include/pthread.h:834""" | |
pthread_mutexattr_getprotocol = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutexattr_getprotocol | |
pthread_mutexattr_getprotocol.restype = ctypes.c_int32 | |
# pthread_mutexattr_getprotocol(__attr, __protocol) | |
pthread_mutexattr_getprotocol.argtypes = [POINTER_T(union_c__UA_pthread_mutexattr_t), POINTER_T(ctypes.c_int32)] | |
pthread_mutexattr_getprotocol.__doc__ = \ | |
"""c_int32 pthread_mutexattr_getprotocol(LP_union_c__UA_pthread_mutexattr_t __attr, LP_c_int32 __protocol) | |
/usr/include/pthread.h:839""" | |
pthread_mutexattr_setprotocol = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutexattr_setprotocol | |
pthread_mutexattr_setprotocol.restype = ctypes.c_int32 | |
# pthread_mutexattr_setprotocol(__attr, __protocol) | |
pthread_mutexattr_setprotocol.argtypes = [POINTER_T(union_c__UA_pthread_mutexattr_t), ctypes.c_int32] | |
pthread_mutexattr_setprotocol.__doc__ = \ | |
"""c_int32 pthread_mutexattr_setprotocol(LP_union_c__UA_pthread_mutexattr_t __attr, c_int32 __protocol) | |
/usr/include/pthread.h:846""" | |
pthread_mutexattr_getprioceiling = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutexattr_getprioceiling | |
pthread_mutexattr_getprioceiling.restype = ctypes.c_int32 | |
# pthread_mutexattr_getprioceiling(__attr, __prioceiling) | |
pthread_mutexattr_getprioceiling.argtypes = [POINTER_T(union_c__UA_pthread_mutexattr_t), POINTER_T(ctypes.c_int32)] | |
pthread_mutexattr_getprioceiling.__doc__ = \ | |
"""c_int32 pthread_mutexattr_getprioceiling(LP_union_c__UA_pthread_mutexattr_t __attr, LP_c_int32 __prioceiling) | |
/usr/include/pthread.h:851""" | |
pthread_mutexattr_setprioceiling = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutexattr_setprioceiling | |
pthread_mutexattr_setprioceiling.restype = ctypes.c_int32 | |
# pthread_mutexattr_setprioceiling(__attr, __prioceiling) | |
pthread_mutexattr_setprioceiling.argtypes = [POINTER_T(union_c__UA_pthread_mutexattr_t), ctypes.c_int32] | |
pthread_mutexattr_setprioceiling.__doc__ = \ | |
"""c_int32 pthread_mutexattr_setprioceiling(LP_union_c__UA_pthread_mutexattr_t __attr, c_int32 __prioceiling) | |
/usr/include/pthread.h:857""" | |
pthread_mutexattr_getrobust = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutexattr_getrobust | |
pthread_mutexattr_getrobust.restype = ctypes.c_int32 | |
# pthread_mutexattr_getrobust(__attr, __robustness) | |
pthread_mutexattr_getrobust.argtypes = [POINTER_T(union_c__UA_pthread_mutexattr_t), POINTER_T(ctypes.c_int32)] | |
pthread_mutexattr_getrobust.__doc__ = \ | |
"""c_int32 pthread_mutexattr_getrobust(LP_union_c__UA_pthread_mutexattr_t __attr, LP_c_int32 __robustness) | |
/usr/include/pthread.h:863""" | |
pthread_mutexattr_setrobust = _libraries['build/libftd2xx.so.1.4.8'].pthread_mutexattr_setrobust | |
pthread_mutexattr_setrobust.restype = ctypes.c_int32 | |
# pthread_mutexattr_setrobust(__attr, __robustness) | |
pthread_mutexattr_setrobust.argtypes = [POINTER_T(union_c__UA_pthread_mutexattr_t), ctypes.c_int32] | |
pthread_mutexattr_setrobust.__doc__ = \ | |
"""c_int32 pthread_mutexattr_setrobust(LP_union_c__UA_pthread_mutexattr_t __attr, c_int32 __robustness) | |
/usr/include/pthread.h:873""" | |
pthread_rwlock_init = _libraries['build/libftd2xx.so.1.4.8'].pthread_rwlock_init | |
pthread_rwlock_init.restype = ctypes.c_int32 | |
# pthread_rwlock_init(__rwlock, __attr) | |
pthread_rwlock_init.argtypes = [POINTER_T(union_c__UA_pthread_rwlock_t), POINTER_T(union_c__UA_pthread_rwlockattr_t)] | |
pthread_rwlock_init.__doc__ = \ | |
"""c_int32 pthread_rwlock_init(LP_union_c__UA_pthread_rwlock_t __rwlock, LP_union_c__UA_pthread_rwlockattr_t __attr) | |
/usr/include/pthread.h:889""" | |
pthread_rwlock_destroy = _libraries['build/libftd2xx.so.1.4.8'].pthread_rwlock_destroy | |
pthread_rwlock_destroy.restype = ctypes.c_int32 | |
# pthread_rwlock_destroy(__rwlock) | |
pthread_rwlock_destroy.argtypes = [POINTER_T(union_c__UA_pthread_rwlock_t)] | |
pthread_rwlock_destroy.__doc__ = \ | |
"""c_int32 pthread_rwlock_destroy(LP_union_c__UA_pthread_rwlock_t __rwlock) | |
/usr/include/pthread.h:894""" | |
pthread_rwlock_rdlock = _libraries['build/libftd2xx.so.1.4.8'].pthread_rwlock_rdlock | |
pthread_rwlock_rdlock.restype = ctypes.c_int32 | |
# pthread_rwlock_rdlock(__rwlock) | |
pthread_rwlock_rdlock.argtypes = [POINTER_T(union_c__UA_pthread_rwlock_t)] | |
pthread_rwlock_rdlock.__doc__ = \ | |
"""c_int32 pthread_rwlock_rdlock(LP_union_c__UA_pthread_rwlock_t __rwlock) | |
/usr/include/pthread.h:898""" | |
pthread_rwlock_tryrdlock = _libraries['build/libftd2xx.so.1.4.8'].pthread_rwlock_tryrdlock | |
pthread_rwlock_tryrdlock.restype = ctypes.c_int32 | |
# pthread_rwlock_tryrdlock(__rwlock) | |
pthread_rwlock_tryrdlock.argtypes = [POINTER_T(union_c__UA_pthread_rwlock_t)] | |
pthread_rwlock_tryrdlock.__doc__ = \ | |
"""c_int32 pthread_rwlock_tryrdlock(LP_union_c__UA_pthread_rwlock_t __rwlock) | |
/usr/include/pthread.h:902""" | |
pthread_rwlock_timedrdlock = _libraries['build/libftd2xx.so.1.4.8'].pthread_rwlock_timedrdlock | |
pthread_rwlock_timedrdlock.restype = ctypes.c_int32 | |
# pthread_rwlock_timedrdlock(__rwlock, __abstime) | |
pthread_rwlock_timedrdlock.argtypes = [POINTER_T(union_c__UA_pthread_rwlock_t), POINTER_T(struct_timespec)] | |
pthread_rwlock_timedrdlock.__doc__ = \ | |
"""c_int32 pthread_rwlock_timedrdlock(LP_union_c__UA_pthread_rwlock_t __rwlock, LP_struct_timespec __abstime) | |
/usr/include/pthread.h:907""" | |
pthread_rwlock_wrlock = _libraries['build/libftd2xx.so.1.4.8'].pthread_rwlock_wrlock | |
pthread_rwlock_wrlock.restype = ctypes.c_int32 | |
# pthread_rwlock_wrlock(__rwlock) | |
pthread_rwlock_wrlock.argtypes = [POINTER_T(union_c__UA_pthread_rwlock_t)] | |
pthread_rwlock_wrlock.__doc__ = \ | |
"""c_int32 pthread_rwlock_wrlock(LP_union_c__UA_pthread_rwlock_t __rwlock) | |
/usr/include/pthread.h:913""" | |
pthread_rwlock_trywrlock = _libraries['build/libftd2xx.so.1.4.8'].pthread_rwlock_trywrlock | |
pthread_rwlock_trywrlock.restype = ctypes.c_int32 | |
# pthread_rwlock_trywrlock(__rwlock) | |
pthread_rwlock_trywrlock.argtypes = [POINTER_T(union_c__UA_pthread_rwlock_t)] | |
pthread_rwlock_trywrlock.__doc__ = \ | |
"""c_int32 pthread_rwlock_trywrlock(LP_union_c__UA_pthread_rwlock_t __rwlock) | |
/usr/include/pthread.h:917""" | |
pthread_rwlock_timedwrlock = _libraries['build/libftd2xx.so.1.4.8'].pthread_rwlock_timedwrlock | |
pthread_rwlock_timedwrlock.restype = ctypes.c_int32 | |
# pthread_rwlock_timedwrlock(__rwlock, __abstime) | |
pthread_rwlock_timedwrlock.argtypes = [POINTER_T(union_c__UA_pthread_rwlock_t), POINTER_T(struct_timespec)] | |
pthread_rwlock_timedwrlock.__doc__ = \ | |
"""c_int32 pthread_rwlock_timedwrlock(LP_union_c__UA_pthread_rwlock_t __rwlock, LP_struct_timespec __abstime) | |
/usr/include/pthread.h:922""" | |
pthread_rwlock_unlock = _libraries['build/libftd2xx.so.1.4.8'].pthread_rwlock_unlock | |
pthread_rwlock_unlock.restype = ctypes.c_int32 | |
# pthread_rwlock_unlock(__rwlock) | |
pthread_rwlock_unlock.argtypes = [POINTER_T(union_c__UA_pthread_rwlock_t)] | |
pthread_rwlock_unlock.__doc__ = \ | |
"""c_int32 pthread_rwlock_unlock(LP_union_c__UA_pthread_rwlock_t __rwlock) | |
/usr/include/pthread.h:928""" | |
pthread_rwlockattr_init = _libraries['build/libftd2xx.so.1.4.8'].pthread_rwlockattr_init | |
pthread_rwlockattr_init.restype = ctypes.c_int32 | |
# pthread_rwlockattr_init(__attr) | |
pthread_rwlockattr_init.argtypes = [POINTER_T(union_c__UA_pthread_rwlockattr_t)] | |
pthread_rwlockattr_init.__doc__ = \ | |
"""c_int32 pthread_rwlockattr_init(LP_union_c__UA_pthread_rwlockattr_t __attr) | |
/usr/include/pthread.h:935""" | |
pthread_rwlockattr_destroy = _libraries['build/libftd2xx.so.1.4.8'].pthread_rwlockattr_destroy | |
pthread_rwlockattr_destroy.restype = ctypes.c_int32 | |
# pthread_rwlockattr_destroy(__attr) | |
pthread_rwlockattr_destroy.argtypes = [POINTER_T(union_c__UA_pthread_rwlockattr_t)] | |
pthread_rwlockattr_destroy.__doc__ = \ | |
"""c_int32 pthread_rwlockattr_destroy(LP_union_c__UA_pthread_rwlockattr_t __attr) | |
/usr/include/pthread.h:939""" | |
pthread_rwlockattr_getpshared = _libraries['build/libftd2xx.so.1.4.8'].pthread_rwlockattr_getpshared | |
pthread_rwlockattr_getpshared.restype = ctypes.c_int32 | |
# pthread_rwlockattr_getpshared(__attr, __pshared) | |
pthread_rwlockattr_getpshared.argtypes = [POINTER_T(union_c__UA_pthread_rwlockattr_t), POINTER_T(ctypes.c_int32)] | |
pthread_rwlockattr_getpshared.__doc__ = \ | |
"""c_int32 pthread_rwlockattr_getpshared(LP_union_c__UA_pthread_rwlockattr_t __attr, LP_c_int32 __pshared) | |
/usr/include/pthread.h:943""" | |
pthread_rwlockattr_setpshared = _libraries['build/libftd2xx.so.1.4.8'].pthread_rwlockattr_setpshared | |
pthread_rwlockattr_setpshared.restype = ctypes.c_int32 | |
# pthread_rwlockattr_setpshared(__attr, __pshared) | |
pthread_rwlockattr_setpshared.argtypes = [POINTER_T(union_c__UA_pthread_rwlockattr_t), ctypes.c_int32] | |
pthread_rwlockattr_setpshared.__doc__ = \ | |
"""c_int32 pthread_rwlockattr_setpshared(LP_union_c__UA_pthread_rwlockattr_t __attr, c_int32 __pshared) | |
/usr/include/pthread.h:949""" | |
pthread_rwlockattr_getkind_np = _libraries['build/libftd2xx.so.1.4.8'].pthread_rwlockattr_getkind_np | |
pthread_rwlockattr_getkind_np.restype = ctypes.c_int32 | |
# pthread_rwlockattr_getkind_np(__attr, __pref) | |
pthread_rwlockattr_getkind_np.argtypes = [POINTER_T(union_c__UA_pthread_rwlockattr_t), POINTER_T(ctypes.c_int32)] | |
pthread_rwlockattr_getkind_np.__doc__ = \ | |
"""c_int32 pthread_rwlockattr_getkind_np(LP_union_c__UA_pthread_rwlockattr_t __attr, LP_c_int32 __pref) | |
/usr/include/pthread.h:954""" | |
pthread_rwlockattr_setkind_np = _libraries['build/libftd2xx.so.1.4.8'].pthread_rwlockattr_setkind_np | |
pthread_rwlockattr_setkind_np.restype = ctypes.c_int32 | |
# pthread_rwlockattr_setkind_np(__attr, __pref) | |
pthread_rwlockattr_setkind_np.argtypes = [POINTER_T(union_c__UA_pthread_rwlockattr_t), ctypes.c_int32] | |
pthread_rwlockattr_setkind_np.__doc__ = \ | |
"""c_int32 pthread_rwlockattr_setkind_np(LP_union_c__UA_pthread_rwlockattr_t __attr, c_int32 __pref) | |
/usr/include/pthread.h:960""" | |
pthread_cond_init = _libraries['build/libftd2xx.so.1.4.8'].pthread_cond_init | |
pthread_cond_init.restype = ctypes.c_int32 | |
# pthread_cond_init(__cond, __cond_attr) | |
pthread_cond_init.argtypes = [POINTER_T(union_c__UA_pthread_cond_t), POINTER_T(union_c__UA_pthread_condattr_t)] | |
pthread_cond_init.__doc__ = \ | |
"""c_int32 pthread_cond_init(LP_union_c__UA_pthread_cond_t __cond, LP_union_c__UA_pthread_condattr_t __cond_attr) | |
/usr/include/pthread.h:969""" | |
pthread_cond_destroy = _libraries['build/libftd2xx.so.1.4.8'].pthread_cond_destroy | |
pthread_cond_destroy.restype = ctypes.c_int32 | |
# pthread_cond_destroy(__cond) | |
pthread_cond_destroy.argtypes = [POINTER_T(union_c__UA_pthread_cond_t)] | |
pthread_cond_destroy.__doc__ = \ | |
"""c_int32 pthread_cond_destroy(LP_union_c__UA_pthread_cond_t __cond) | |
/usr/include/pthread.h:974""" | |
pthread_cond_signal = _libraries['build/libftd2xx.so.1.4.8'].pthread_cond_signal | |
pthread_cond_signal.restype = ctypes.c_int32 | |
# pthread_cond_signal(__cond) | |
pthread_cond_signal.argtypes = [POINTER_T(union_c__UA_pthread_cond_t)] | |
pthread_cond_signal.__doc__ = \ | |
"""c_int32 pthread_cond_signal(LP_union_c__UA_pthread_cond_t __cond) | |
/usr/include/pthread.h:978""" | |
pthread_cond_broadcast = _libraries['build/libftd2xx.so.1.4.8'].pthread_cond_broadcast | |
pthread_cond_broadcast.restype = ctypes.c_int32 | |
# pthread_cond_broadcast(__cond) | |
pthread_cond_broadcast.argtypes = [POINTER_T(union_c__UA_pthread_cond_t)] | |
pthread_cond_broadcast.__doc__ = \ | |
"""c_int32 pthread_cond_broadcast(LP_union_c__UA_pthread_cond_t __cond) | |
/usr/include/pthread.h:982""" | |
pthread_cond_wait = _libraries['build/libftd2xx.so.1.4.8'].pthread_cond_wait | |
pthread_cond_wait.restype = ctypes.c_int32 | |
# pthread_cond_wait(__cond, __mutex) | |
pthread_cond_wait.argtypes = [POINTER_T(union_c__UA_pthread_cond_t), POINTER_T(union_c__UA_pthread_mutex_t)] | |
pthread_cond_wait.__doc__ = \ | |
"""c_int32 pthread_cond_wait(LP_union_c__UA_pthread_cond_t __cond, LP_union_c__UA_pthread_mutex_t __mutex) | |
/usr/include/pthread.h:990""" | |
pthread_cond_timedwait = _libraries['build/libftd2xx.so.1.4.8'].pthread_cond_timedwait | |
pthread_cond_timedwait.restype = ctypes.c_int32 | |
# pthread_cond_timedwait(__cond, __mutex, __abstime) | |
pthread_cond_timedwait.argtypes = [POINTER_T(union_c__UA_pthread_cond_t), POINTER_T(union_c__UA_pthread_mutex_t), POINTER_T(struct_timespec)] | |
pthread_cond_timedwait.__doc__ = \ | |
"""c_int32 pthread_cond_timedwait(LP_union_c__UA_pthread_cond_t __cond, LP_union_c__UA_pthread_mutex_t __mutex, LP_struct_timespec __abstime) | |
/usr/include/pthread.h:1001""" | |
pthread_condattr_init = _libraries['build/libftd2xx.so.1.4.8'].pthread_condattr_init | |
pthread_condattr_init.restype = ctypes.c_int32 | |
# pthread_condattr_init(__attr) | |
pthread_condattr_init.argtypes = [POINTER_T(union_c__UA_pthread_condattr_t)] | |
pthread_condattr_init.__doc__ = \ | |
"""c_int32 pthread_condattr_init(LP_union_c__UA_pthread_condattr_t __attr) | |
/usr/include/pthread.h:1009""" | |
pthread_condattr_destroy = _libraries['build/libftd2xx.so.1.4.8'].pthread_condattr_destroy | |
pthread_condattr_destroy.restype = ctypes.c_int32 | |
# pthread_condattr_destroy(__attr) | |
pthread_condattr_destroy.argtypes = [POINTER_T(union_c__UA_pthread_condattr_t)] | |
pthread_condattr_destroy.__doc__ = \ | |
"""c_int32 pthread_condattr_destroy(LP_union_c__UA_pthread_condattr_t __attr) | |
/usr/include/pthread.h:1013""" | |
pthread_condattr_getpshared = _libraries['build/libftd2xx.so.1.4.8'].pthread_condattr_getpshared | |
pthread_condattr_getpshared.restype = ctypes.c_int32 | |
# pthread_condattr_getpshared(__attr, __pshared) | |
pthread_condattr_getpshared.argtypes = [POINTER_T(union_c__UA_pthread_condattr_t), POINTER_T(ctypes.c_int32)] | |
pthread_condattr_getpshared.__doc__ = \ | |
"""c_int32 pthread_condattr_getpshared(LP_union_c__UA_pthread_condattr_t __attr, LP_c_int32 __pshared) | |
/usr/include/pthread.h:1017""" | |
pthread_condattr_setpshared = _libraries['build/libftd2xx.so.1.4.8'].pthread_condattr_setpshared | |
pthread_condattr_setpshared.restype = ctypes.c_int32 | |
# pthread_condattr_setpshared(__attr, __pshared) | |
pthread_condattr_setpshared.argtypes = [POINTER_T(union_c__UA_pthread_condattr_t), ctypes.c_int32] | |
pthread_condattr_setpshared.__doc__ = \ | |
"""c_int32 pthread_condattr_setpshared(LP_union_c__UA_pthread_condattr_t __attr, c_int32 __pshared) | |
/usr/include/pthread.h:1023""" | |
pthread_condattr_getclock = _libraries['build/libftd2xx.so.1.4.8'].pthread_condattr_getclock | |
pthread_condattr_getclock.restype = ctypes.c_int32 | |
# pthread_condattr_getclock(__attr, __clock_id) | |
pthread_condattr_getclock.argtypes = [POINTER_T(union_c__UA_pthread_condattr_t), POINTER_T(ctypes.c_int32)] | |
pthread_condattr_getclock.__doc__ = \ | |
"""c_int32 pthread_condattr_getclock(LP_union_c__UA_pthread_condattr_t __attr, LP_c_int32 __clock_id) | |
/usr/include/pthread.h:1028""" | |
pthread_condattr_setclock = _libraries['build/libftd2xx.so.1.4.8'].pthread_condattr_setclock | |
pthread_condattr_setclock.restype = ctypes.c_int32 | |
# pthread_condattr_setclock(__attr, __clock_id) | |
pthread_condattr_setclock.argtypes = [POINTER_T(union_c__UA_pthread_condattr_t), __clockid_t] | |
pthread_condattr_setclock.__doc__ = \ | |
"""c_int32 pthread_condattr_setclock(LP_union_c__UA_pthread_condattr_t __attr, __clockid_t __clock_id) | |
/usr/include/pthread.h:1034""" | |
pthread_spin_init = _libraries['build/libftd2xx.so.1.4.8'].pthread_spin_init | |
pthread_spin_init.restype = ctypes.c_int32 | |
# pthread_spin_init(__lock, __pshared) | |
pthread_spin_init.argtypes = [POINTER_T(ctypes.c_int32), ctypes.c_int32] | |
pthread_spin_init.__doc__ = \ | |
"""c_int32 pthread_spin_init(LP_c_int32 __lock, c_int32 __pshared) | |
/usr/include/pthread.h:1045""" | |
pthread_spin_destroy = _libraries['build/libftd2xx.so.1.4.8'].pthread_spin_destroy | |
pthread_spin_destroy.restype = ctypes.c_int32 | |
# pthread_spin_destroy(__lock) | |
pthread_spin_destroy.argtypes = [POINTER_T(ctypes.c_int32)] | |
pthread_spin_destroy.__doc__ = \ | |
"""c_int32 pthread_spin_destroy(LP_c_int32 __lock) | |
/usr/include/pthread.h:1049""" | |
pthread_spin_lock = _libraries['build/libftd2xx.so.1.4.8'].pthread_spin_lock | |
pthread_spin_lock.restype = ctypes.c_int32 | |
# pthread_spin_lock(__lock) | |
pthread_spin_lock.argtypes = [POINTER_T(ctypes.c_int32)] | |
pthread_spin_lock.__doc__ = \ | |
"""c_int32 pthread_spin_lock(LP_c_int32 __lock) | |
/usr/include/pthread.h:1053""" | |
pthread_spin_trylock = _libraries['build/libftd2xx.so.1.4.8'].pthread_spin_trylock | |
pthread_spin_trylock.restype = ctypes.c_int32 | |
# pthread_spin_trylock(__lock) | |
pthread_spin_trylock.argtypes = [POINTER_T(ctypes.c_int32)] | |
pthread_spin_trylock.__doc__ = \ | |
"""c_int32 pthread_spin_trylock(LP_c_int32 __lock) | |
/usr/include/pthread.h:1057""" | |
pthread_spin_unlock = _libraries['build/libftd2xx.so.1.4.8'].pthread_spin_unlock | |
pthread_spin_unlock.restype = ctypes.c_int32 | |
# pthread_spin_unlock(__lock) | |
pthread_spin_unlock.argtypes = [POINTER_T(ctypes.c_int32)] | |
pthread_spin_unlock.__doc__ = \ | |
"""c_int32 pthread_spin_unlock(LP_c_int32 __lock) | |
/usr/include/pthread.h:1061""" | |
pthread_barrier_init = _libraries['build/libftd2xx.so.1.4.8'].pthread_barrier_init | |
pthread_barrier_init.restype = ctypes.c_int32 | |
# pthread_barrier_init(__barrier, __attr, __count) | |
pthread_barrier_init.argtypes = [POINTER_T(union_c__UA_pthread_barrier_t), POINTER_T(union_c__UA_pthread_barrierattr_t), ctypes.c_uint32] | |
pthread_barrier_init.__doc__ = \ | |
"""c_int32 pthread_barrier_init(LP_union_c__UA_pthread_barrier_t __barrier, LP_union_c__UA_pthread_barrierattr_t __attr, c_uint32 __count) | |
/usr/include/pthread.h:1069""" | |
pthread_barrier_destroy = _libraries['build/libftd2xx.so.1.4.8'].pthread_barrier_destroy | |
pthread_barrier_destroy.restype = ctypes.c_int32 | |
# pthread_barrier_destroy(__barrier) | |
pthread_barrier_destroy.argtypes = [POINTER_T(union_c__UA_pthread_barrier_t)] | |
pthread_barrier_destroy.__doc__ = \ | |
"""c_int32 pthread_barrier_destroy(LP_union_c__UA_pthread_barrier_t __barrier) | |
/usr/include/pthread.h:1075""" | |
pthread_barrier_wait = _libraries['build/libftd2xx.so.1.4.8'].pthread_barrier_wait | |
pthread_barrier_wait.restype = ctypes.c_int32 | |
# pthread_barrier_wait(__barrier) | |
pthread_barrier_wait.argtypes = [POINTER_T(union_c__UA_pthread_barrier_t)] | |
pthread_barrier_wait.__doc__ = \ | |
"""c_int32 pthread_barrier_wait(LP_union_c__UA_pthread_barrier_t __barrier) | |
/usr/include/pthread.h:1079""" | |
pthread_barrierattr_init = _libraries['build/libftd2xx.so.1.4.8'].pthread_barrierattr_init | |
pthread_barrierattr_init.restype = ctypes.c_int32 | |
# pthread_barrierattr_init(__attr) | |
pthread_barrierattr_init.argtypes = [POINTER_T(union_c__UA_pthread_barrierattr_t)] | |
pthread_barrierattr_init.__doc__ = \ | |
"""c_int32 pthread_barrierattr_init(LP_union_c__UA_pthread_barrierattr_t __attr) | |
/usr/include/pthread.h:1084""" | |
pthread_barrierattr_destroy = _libraries['build/libftd2xx.so.1.4.8'].pthread_barrierattr_destroy | |
pthread_barrierattr_destroy.restype = ctypes.c_int32 | |
# pthread_barrierattr_destroy(__attr) | |
pthread_barrierattr_destroy.argtypes = [POINTER_T(union_c__UA_pthread_barrierattr_t)] | |
pthread_barrierattr_destroy.__doc__ = \ | |
"""c_int32 pthread_barrierattr_destroy(LP_union_c__UA_pthread_barrierattr_t __attr) | |
/usr/include/pthread.h:1088""" | |
pthread_barrierattr_getpshared = _libraries['build/libftd2xx.so.1.4.8'].pthread_barrierattr_getpshared | |
pthread_barrierattr_getpshared.restype = ctypes.c_int32 | |
# pthread_barrierattr_getpshared(__attr, __pshared) | |
pthread_barrierattr_getpshared.argtypes = [POINTER_T(union_c__UA_pthread_barrierattr_t), POINTER_T(ctypes.c_int32)] | |
pthread_barrierattr_getpshared.__doc__ = \ | |
"""c_int32 pthread_barrierattr_getpshared(LP_union_c__UA_pthread_barrierattr_t __attr, LP_c_int32 __pshared) | |
/usr/include/pthread.h:1092""" | |
pthread_barrierattr_setpshared = _libraries['build/libftd2xx.so.1.4.8'].pthread_barrierattr_setpshared | |
pthread_barrierattr_setpshared.restype = ctypes.c_int32 | |
# pthread_barrierattr_setpshared(__attr, __pshared) | |
pthread_barrierattr_setpshared.argtypes = [POINTER_T(union_c__UA_pthread_barrierattr_t), ctypes.c_int32] | |
pthread_barrierattr_setpshared.__doc__ = \ | |
"""c_int32 pthread_barrierattr_setpshared(LP_union_c__UA_pthread_barrierattr_t __attr, c_int32 __pshared) | |
/usr/include/pthread.h:1098""" | |
pthread_key_create = _libraries['build/libftd2xx.so.1.4.8'].pthread_key_create | |
pthread_key_create.restype = ctypes.c_int32 | |
# pthread_key_create(__key, __destr_function) | |
pthread_key_create.argtypes = [POINTER_T(ctypes.c_uint32), POINTER_T(ctypes.CFUNCTYPE(None, POINTER_T(None)))] | |
pthread_key_create.__doc__ = \ | |
"""c_int32 pthread_key_create(LP_c_uint32 __key, LP_FP_ __destr_function) | |
/usr/include/pthread.h:1112""" | |
pthread_key_delete = _libraries['build/libftd2xx.so.1.4.8'].pthread_key_delete | |
pthread_key_delete.restype = ctypes.c_int32 | |
# pthread_key_delete(__key) | |
pthread_key_delete.argtypes = [pthread_key_t] | |
pthread_key_delete.__doc__ = \ | |
"""c_int32 pthread_key_delete(pthread_key_t __key) | |
/usr/include/pthread.h:1117""" | |
pthread_getspecific = _libraries['build/libftd2xx.so.1.4.8'].pthread_getspecific | |
pthread_getspecific.restype = POINTER_T(None) | |
# pthread_getspecific(__key) | |
pthread_getspecific.argtypes = [pthread_key_t] | |
pthread_getspecific.__doc__ = \ | |
"""LP_None pthread_getspecific(pthread_key_t __key) | |
/usr/include/pthread.h:1120""" | |
pthread_setspecific = _libraries['build/libftd2xx.so.1.4.8'].pthread_setspecific | |
pthread_setspecific.restype = ctypes.c_int32 | |
# pthread_setspecific(__key, __pointer) | |
pthread_setspecific.argtypes = [pthread_key_t, POINTER_T(None)] | |
pthread_setspecific.__doc__ = \ | |
"""c_int32 pthread_setspecific(pthread_key_t __key, LP_None __pointer) | |
/usr/include/pthread.h:1123""" | |
pthread_getcpuclockid = _libraries['build/libftd2xx.so.1.4.8'].pthread_getcpuclockid | |
pthread_getcpuclockid.restype = ctypes.c_int32 | |
# pthread_getcpuclockid(__thread_id, __clock_id) | |
pthread_getcpuclockid.argtypes = [pthread_t, POINTER_T(ctypes.c_int32)] | |
pthread_getcpuclockid.__doc__ = \ | |
"""c_int32 pthread_getcpuclockid(pthread_t __thread_id, LP_c_int32 __clock_id) | |
/usr/include/pthread.h:1129""" | |
pid_t = ctypes.c_int32 | |
sched_setparam = _libraries['build/libftd2xx.so.1.4.8'].sched_setparam | |
sched_setparam.restype = ctypes.c_int32 | |
# sched_setparam(__pid, __param) | |
sched_setparam.argtypes = [__pid_t, POINTER_T(struct_sched_param)] | |
sched_setparam.__doc__ = \ | |
"""c_int32 sched_setparam(__pid_t __pid, LP_struct_sched_param __param) | |
/usr/include/sched.h:54""" | |
sched_getparam = _libraries['build/libftd2xx.so.1.4.8'].sched_getparam | |
sched_getparam.restype = ctypes.c_int32 | |
# sched_getparam(__pid, __param) | |
sched_getparam.argtypes = [__pid_t, POINTER_T(struct_sched_param)] | |
sched_getparam.__doc__ = \ | |
"""c_int32 sched_getparam(__pid_t __pid, LP_struct_sched_param __param) | |
/usr/include/sched.h:58""" | |
sched_setscheduler = _libraries['build/libftd2xx.so.1.4.8'].sched_setscheduler | |
sched_setscheduler.restype = ctypes.c_int32 | |
# sched_setscheduler(__pid, __policy, __param) | |
sched_setscheduler.argtypes = [__pid_t, ctypes.c_int32, POINTER_T(struct_sched_param)] | |
sched_setscheduler.__doc__ = \ | |
"""c_int32 sched_setscheduler(__pid_t __pid, c_int32 __policy, LP_struct_sched_param __param) | |
/usr/include/sched.h:61""" | |
sched_getscheduler = _libraries['build/libftd2xx.so.1.4.8'].sched_getscheduler | |
sched_getscheduler.restype = ctypes.c_int32 | |
# sched_getscheduler(__pid) | |
sched_getscheduler.argtypes = [__pid_t] | |
sched_getscheduler.__doc__ = \ | |
"""c_int32 sched_getscheduler(__pid_t __pid) | |
/usr/include/sched.h:65""" | |
sched_yield = _libraries['build/libftd2xx.so.1.4.8'].sched_yield | |
sched_yield.restype = ctypes.c_int32 | |
# sched_yield() | |
sched_yield.argtypes = [] | |
sched_yield.__doc__ = \ | |
"""c_int32 sched_yield() | |
/usr/include/sched.h:68""" | |
sched_get_priority_max = _libraries['build/libftd2xx.so.1.4.8'].sched_get_priority_max | |
sched_get_priority_max.restype = ctypes.c_int32 | |
# sched_get_priority_max(__algorithm) | |
sched_get_priority_max.argtypes = [ctypes.c_int32] | |
sched_get_priority_max.__doc__ = \ | |
"""c_int32 sched_get_priority_max(c_int32 __algorithm) | |
/usr/include/sched.h:71""" | |
sched_get_priority_min = _libraries['build/libftd2xx.so.1.4.8'].sched_get_priority_min | |
sched_get_priority_min.restype = ctypes.c_int32 | |
# sched_get_priority_min(__algorithm) | |
sched_get_priority_min.argtypes = [ctypes.c_int32] | |
sched_get_priority_min.__doc__ = \ | |
"""c_int32 sched_get_priority_min(c_int32 __algorithm) | |
/usr/include/sched.h:74""" | |
sched_rr_get_interval = _libraries['build/libftd2xx.so.1.4.8'].sched_rr_get_interval | |
sched_rr_get_interval.restype = ctypes.c_int32 | |
# sched_rr_get_interval(__pid, __t) | |
sched_rr_get_interval.argtypes = [__pid_t, POINTER_T(struct_timespec)] | |
sched_rr_get_interval.__doc__ = \ | |
"""c_int32 sched_rr_get_interval(__pid_t __pid, LP_struct_timespec __t) | |
/usr/include/sched.h:77""" | |
class struct_sigevent(ctypes.Structure): | |
pass | |
clock = _libraries['build/libftd2xx.so.1.4.8'].clock | |
clock.restype = clock_t | |
# clock() | |
clock.argtypes = [] | |
clock.__doc__ = \ | |
"""clock_t clock() | |
/usr/include/time.h:72""" | |
time = _libraries['build/libftd2xx.so.1.4.8'].time | |
time.restype = time_t | |
# time(__timer) | |
time.argtypes = [POINTER_T(ctypes.c_int64)] | |
time.__doc__ = \ | |
"""time_t time(LP_c_int64 __timer) | |
/usr/include/time.h:75""" | |
difftime = _libraries['build/libftd2xx.so.1.4.8'].difftime | |
difftime.restype = ctypes.c_double | |
# difftime(__time1, __time0) | |
difftime.argtypes = [time_t, time_t] | |
difftime.__doc__ = \ | |
"""c_double difftime(time_t __time1, time_t __time0) | |
/usr/include/time.h:78""" | |
mktime = _libraries['build/libftd2xx.so.1.4.8'].mktime | |
mktime.restype = time_t | |
# mktime(__tp) | |
mktime.argtypes = [POINTER_T(struct_tm)] | |
mktime.__doc__ = \ | |
"""time_t mktime(LP_struct_tm __tp) | |
/usr/include/time.h:82""" | |
strftime = _libraries['build/libftd2xx.so.1.4.8'].strftime | |
strftime.restype = ctypes.c_int32 | |
# strftime(__s, __maxsize, __format, __tp) | |
strftime.argtypes = [POINTER_T(ctypes.c_char), ctypes.c_int32, POINTER_T(ctypes.c_char), POINTER_T(struct_tm)] | |
strftime.__doc__ = \ | |
"""c_int32 strftime(LP_c_char __s, c_int32 __maxsize, LP_c_char __format, LP_struct_tm __tp) | |
/usr/include/time.h:88""" | |
strftime_l = _libraries['build/libftd2xx.so.1.4.8'].strftime_l | |
strftime_l.restype = ctypes.c_int32 | |
# strftime_l(__s, __maxsize, __format, __tp, __loc) | |
strftime_l.argtypes = [POINTER_T(ctypes.c_char), ctypes.c_int32, POINTER_T(ctypes.c_char), POINTER_T(struct_tm), locale_t] | |
strftime_l.__doc__ = \ | |
"""c_int32 strftime_l(LP_c_char __s, c_int32 __maxsize, LP_c_char __format, LP_struct_tm __tp, locale_t __loc) | |
/usr/include/time.h:104""" | |
gmtime = _libraries['build/libftd2xx.so.1.4.8'].gmtime | |
gmtime.restype = POINTER_T(struct_tm) | |
# gmtime(__timer) | |
gmtime.argtypes = [POINTER_T(ctypes.c_int64)] | |
gmtime.__doc__ = \ | |
"""LP_struct_tm gmtime(LP_c_int64 __timer) | |
/usr/include/time.h:119""" | |
localtime = _libraries['build/libftd2xx.so.1.4.8'].localtime | |
localtime.restype = POINTER_T(struct_tm) | |
# localtime(__timer) | |
localtime.argtypes = [POINTER_T(ctypes.c_int64)] | |
localtime.__doc__ = \ | |
"""LP_struct_tm localtime(LP_c_int64 __timer) | |
/usr/include/time.h:123""" | |
gmtime_r = _libraries['build/libftd2xx.so.1.4.8'].gmtime_r | |
gmtime_r.restype = POINTER_T(struct_tm) | |
# gmtime_r(__timer, __tp) | |
gmtime_r.argtypes = [POINTER_T(ctypes.c_int64), POINTER_T(struct_tm)] | |
gmtime_r.__doc__ = \ | |
"""LP_struct_tm gmtime_r(LP_c_int64 __timer, LP_struct_tm __tp) | |
/usr/include/time.h:128""" | |
localtime_r = _libraries['build/libftd2xx.so.1.4.8'].localtime_r | |
localtime_r.restype = POINTER_T(struct_tm) | |
# localtime_r(__timer, __tp) | |
localtime_r.argtypes = [POINTER_T(ctypes.c_int64), POINTER_T(struct_tm)] | |
localtime_r.__doc__ = \ | |
"""LP_struct_tm localtime_r(LP_c_int64 __timer, LP_struct_tm __tp) | |
/usr/include/time.h:133""" | |
asctime = _libraries['build/libftd2xx.so.1.4.8'].asctime | |
asctime.restype = POINTER_T(ctypes.c_char) | |
# asctime(__tp) | |
asctime.argtypes = [POINTER_T(struct_tm)] | |
asctime.__doc__ = \ | |
"""LP_c_char asctime(LP_struct_tm __tp) | |
/usr/include/time.h:139""" | |
ctime = _libraries['build/libftd2xx.so.1.4.8'].ctime | |
ctime.restype = POINTER_T(ctypes.c_char) | |
# ctime(__timer) | |
ctime.argtypes = [POINTER_T(ctypes.c_int64)] | |
ctime.__doc__ = \ | |
"""LP_c_char ctime(LP_c_int64 __timer) | |
/usr/include/time.h:142""" | |
asctime_r = _libraries['build/libftd2xx.so.1.4.8'].asctime_r | |
asctime_r.restype = POINTER_T(ctypes.c_char) | |
# asctime_r(__tp, __buf) | |
asctime_r.argtypes = [POINTER_T(struct_tm), POINTER_T(ctypes.c_char)] | |
asctime_r.__doc__ = \ | |
"""LP_c_char asctime_r(LP_struct_tm __tp, LP_c_char __buf) | |
/usr/include/time.h:149""" | |
ctime_r = _libraries['build/libftd2xx.so.1.4.8'].ctime_r | |
ctime_r.restype = POINTER_T(ctypes.c_char) | |
# ctime_r(__timer, __buf) | |
ctime_r.argtypes = [POINTER_T(ctypes.c_int64), POINTER_T(ctypes.c_char)] | |
ctime_r.__doc__ = \ | |
"""LP_c_char ctime_r(LP_c_int64 __timer, LP_c_char __buf) | |
/usr/include/time.h:153""" | |
__tzname = (POINTER_T(ctypes.c_char) * 2).in_dll(_libraries['build/libftd2xx.so.1.4.8'], '__tzname') | |
__daylight = (ctypes.c_int32).in_dll(_libraries['build/libftd2xx.so.1.4.8'], '__daylight') | |
__timezone = (ctypes.c_int64).in_dll(_libraries['build/libftd2xx.so.1.4.8'], '__timezone') | |
tzname = (POINTER_T(ctypes.c_char) * 2).in_dll(_libraries['build/libftd2xx.so.1.4.8'], 'tzname') | |
tzset = _libraries['build/libftd2xx.so.1.4.8'].tzset | |
tzset.restype = None | |
# tzset() | |
tzset.argtypes = [] | |
tzset.__doc__ = \ | |
"""None tzset() | |
/usr/include/time.h:170""" | |
daylight = (ctypes.c_int32).in_dll(_libraries['build/libftd2xx.so.1.4.8'], 'daylight') | |
timezone = (ctypes.c_int64).in_dll(_libraries['build/libftd2xx.so.1.4.8'], 'timezone') | |
stime = _libraries['build/libftd2xx.so.1.4.8'].stime | |
stime.restype = ctypes.c_int32 | |
# stime(__when) | |
stime.argtypes = [POINTER_T(ctypes.c_int64)] | |
stime.__doc__ = \ | |
"""c_int32 stime(LP_c_int64 __when) | |
/usr/include/time.h:181""" | |
timegm = _libraries['build/libftd2xx.so.1.4.8'].timegm | |
timegm.restype = time_t | |
# timegm(__tp) | |
timegm.argtypes = [POINTER_T(struct_tm)] | |
timegm.__doc__ = \ | |
"""time_t timegm(LP_struct_tm __tp) | |
/usr/include/time.h:196""" | |
timelocal = _libraries['build/libftd2xx.so.1.4.8'].timelocal | |
timelocal.restype = time_t | |
# timelocal(__tp) | |
timelocal.argtypes = [POINTER_T(struct_tm)] | |
timelocal.__doc__ = \ | |
"""time_t timelocal(LP_struct_tm __tp) | |
/usr/include/time.h:199""" | |
dysize = _libraries['build/libftd2xx.so.1.4.8'].dysize | |
dysize.restype = ctypes.c_int32 | |
# dysize(__year) | |
dysize.argtypes = [ctypes.c_int32] | |
dysize.__doc__ = \ | |
"""c_int32 dysize(c_int32 __year) | |
/usr/include/time.h:202""" | |
nanosleep = _libraries['build/libftd2xx.so.1.4.8'].nanosleep | |
nanosleep.restype = ctypes.c_int32 | |
# nanosleep(__requested_time, __remaining) | |
nanosleep.argtypes = [POINTER_T(struct_timespec), POINTER_T(struct_timespec)] | |
nanosleep.__doc__ = \ | |
"""c_int32 nanosleep(LP_struct_timespec __requested_time, LP_struct_timespec __remaining) | |
/usr/include/time.h:211""" | |
clock_getres = _libraries['build/libftd2xx.so.1.4.8'].clock_getres | |
clock_getres.restype = ctypes.c_int32 | |
# clock_getres(__clock_id, __res) | |
clock_getres.argtypes = [clockid_t, POINTER_T(struct_timespec)] | |
clock_getres.__doc__ = \ | |
"""c_int32 clock_getres(clockid_t __clock_id, LP_struct_timespec __res) | |
/usr/include/time.h:216""" | |
clock_gettime = _libraries['build/libftd2xx.so.1.4.8'].clock_gettime | |
clock_gettime.restype = ctypes.c_int32 | |
# clock_gettime(__clock_id, __tp) | |
clock_gettime.argtypes = [clockid_t, POINTER_T(struct_timespec)] | |
clock_gettime.__doc__ = \ | |
"""c_int32 clock_gettime(clockid_t __clock_id, LP_struct_timespec __tp) | |
/usr/include/time.h:219""" | |
clock_settime = _libraries['build/libftd2xx.so.1.4.8'].clock_settime | |
clock_settime.restype = ctypes.c_int32 | |
# clock_settime(__clock_id, __tp) | |
clock_settime.argtypes = [clockid_t, POINTER_T(struct_timespec)] | |
clock_settime.__doc__ = \ | |
"""c_int32 clock_settime(clockid_t __clock_id, LP_struct_timespec __tp) | |
/usr/include/time.h:222""" | |
clock_nanosleep = _libraries['build/libftd2xx.so.1.4.8'].clock_nanosleep | |
clock_nanosleep.restype = ctypes.c_int32 | |
# clock_nanosleep(__clock_id, __flags, __req, __rem) | |
clock_nanosleep.argtypes = [clockid_t, ctypes.c_int32, POINTER_T(struct_timespec), POINTER_T(struct_timespec)] | |
clock_nanosleep.__doc__ = \ | |
"""c_int32 clock_nanosleep(clockid_t __clock_id, c_int32 __flags, LP_struct_timespec __req, LP_struct_timespec __rem) | |
/usr/include/time.h:230""" | |
clock_getcpuclockid = _libraries['build/libftd2xx.so.1.4.8'].clock_getcpuclockid | |
clock_getcpuclockid.restype = ctypes.c_int32 | |
# clock_getcpuclockid(__pid, __clock_id) | |
clock_getcpuclockid.argtypes = [pid_t, POINTER_T(ctypes.c_int32)] | |
clock_getcpuclockid.__doc__ = \ | |
"""c_int32 clock_getcpuclockid(pid_t __pid, LP_c_int32 __clock_id) | |
/usr/include/time.h:235""" | |
timer_create = _libraries['build/libftd2xx.so.1.4.8'].timer_create | |
timer_create.restype = ctypes.c_int32 | |
# timer_create(__clock_id, __evp, __timerid) | |
timer_create.argtypes = [clockid_t, POINTER_T(struct_sigevent), POINTER_T(POINTER_T(None))] | |
timer_create.__doc__ = \ | |
"""c_int32 timer_create(clockid_t __clock_id, LP_struct_sigevent __evp, LP_LP_None __timerid) | |
/usr/include/time.h:240""" | |
timer_delete = _libraries['build/libftd2xx.so.1.4.8'].timer_delete | |
timer_delete.restype = ctypes.c_int32 | |
# timer_delete(__timerid) | |
timer_delete.argtypes = [timer_t] | |
timer_delete.__doc__ = \ | |
"""c_int32 timer_delete(timer_t __timerid) | |
/usr/include/time.h:245""" | |
timer_settime = _libraries['build/libftd2xx.so.1.4.8'].timer_settime | |
timer_settime.restype = ctypes.c_int32 | |
# timer_settime(__timerid, __flags, __value, __ovalue) | |
timer_settime.argtypes = [timer_t, ctypes.c_int32, POINTER_T(struct_itimerspec), POINTER_T(struct_itimerspec)] | |
timer_settime.__doc__ = \ | |
"""c_int32 timer_settime(timer_t __timerid, c_int32 __flags, LP_struct_itimerspec __value, LP_struct_itimerspec __ovalue) | |
/usr/include/time.h:248""" | |
timer_gettime = _libraries['build/libftd2xx.so.1.4.8'].timer_gettime | |
timer_gettime.restype = ctypes.c_int32 | |
# timer_gettime(__timerid, __value) | |
timer_gettime.argtypes = [timer_t, POINTER_T(struct_itimerspec)] | |
timer_gettime.__doc__ = \ | |
"""c_int32 timer_gettime(timer_t __timerid, LP_struct_itimerspec __value) | |
/usr/include/time.h:253""" | |
timer_getoverrun = _libraries['build/libftd2xx.so.1.4.8'].timer_getoverrun | |
timer_getoverrun.restype = ctypes.c_int32 | |
# timer_getoverrun(__timerid) | |
timer_getoverrun.argtypes = [timer_t] | |
timer_getoverrun.__doc__ = \ | |
"""c_int32 timer_getoverrun(timer_t __timerid) | |
/usr/include/time.h:257""" | |
timespec_get = _libraries['build/libftd2xx.so.1.4.8'].timespec_get | |
timespec_get.restype = ctypes.c_int32 | |
# timespec_get(__ts, __base) | |
timespec_get.argtypes = [POINTER_T(struct_timespec), ctypes.c_int32] | |
timespec_get.__doc__ = \ | |
"""c_int32 timespec_get(LP_struct_timespec __ts, c_int32 __base) | |
/usr/include/time.h:263""" | |
FT_HANDLE = POINTER_T(None) | |
FT_STATUS = ctypes.c_uint32 | |
# values for enumeration 'c__Ea_FT_OK' | |
FT_OK = 0 | |
FT_INVALID_HANDLE = 1 | |
FT_DEVICE_NOT_FOUND = 2 | |
FT_DEVICE_NOT_OPENED = 3 | |
FT_IO_ERROR = 4 | |
FT_INSUFFICIENT_RESOURCES = 5 | |
FT_INVALID_PARAMETER = 6 | |
FT_INVALID_BAUD_RATE = 7 | |
FT_DEVICE_NOT_OPENED_FOR_ERASE = 8 | |
FT_DEVICE_NOT_OPENED_FOR_WRITE = 9 | |
FT_FAILED_TO_WRITE_DEVICE = 10 | |
FT_EEPROM_READ_FAILED = 11 | |
FT_EEPROM_WRITE_FAILED = 12 | |
FT_EEPROM_ERASE_FAILED = 13 | |
FT_EEPROM_NOT_PRESENT = 14 | |
FT_EEPROM_NOT_PROGRAMMED = 15 | |
FT_INVALID_ARGS = 16 | |
FT_NOT_SUPPORTED = 17 | |
FT_OTHER_ERROR = 18 | |
FT_DEVICE_LIST_NOT_READY = 19 | |
c__Ea_FT_OK = ctypes.c_int # enum | |
PFT_EVENT_HANDLER = POINTER_T(ctypes.CFUNCTYPE(None, ctypes.c_uint32, ctypes.c_uint32)) | |
FT_DEVICE = ctypes.c_uint32 | |
# values for enumeration 'c__Ea_FT_DEVICE_BM' | |
FT_DEVICE_BM = 0 | |
FT_DEVICE_AM = 1 | |
FT_DEVICE_100AX = 2 | |
FT_DEVICE_UNKNOWN = 3 | |
FT_DEVICE_2232C = 4 | |
FT_DEVICE_232R = 5 | |
FT_DEVICE_2232H = 6 | |
FT_DEVICE_4232H = 7 | |
FT_DEVICE_232H = 8 | |
FT_DEVICE_X_SERIES = 9 | |
FT_DEVICE_4222H_0 = 10 | |
FT_DEVICE_4222H_1_2 = 11 | |
FT_DEVICE_4222H_3 = 12 | |
FT_DEVICE_4222_PROG = 13 | |
c__Ea_FT_DEVICE_BM = ctypes.c_int # enum | |
FT_Open = _libraries['build/libftd2xx.so.1.4.8'].FT_Open | |
FT_Open.restype = FT_STATUS | |
# FT_Open(deviceNumber, pHandle) | |
FT_Open.argtypes = [ctypes.c_int32, POINTER_T(POINTER_T(None))] | |
FT_Open.__doc__ = \ | |
"""FT_STATUS FT_Open(c_int32 deviceNumber, LP_LP_None pHandle) | |
ftd2xx.h:331""" | |
FT_OpenEx = _libraries['build/libftd2xx.so.1.4.8'].FT_OpenEx | |
FT_OpenEx.restype = FT_STATUS | |
# FT_OpenEx(pArg1, Flags, pHandle) | |
FT_OpenEx.argtypes = [PVOID, DWORD, POINTER_T(POINTER_T(None))] | |
FT_OpenEx.__doc__ = \ | |
"""FT_STATUS FT_OpenEx(PVOID pArg1, DWORD Flags, LP_LP_None pHandle) | |
ftd2xx.h:337""" | |
FT_ListDevices = _libraries['build/libftd2xx.so.1.4.8'].FT_ListDevices | |
FT_ListDevices.restype = FT_STATUS | |
# FT_ListDevices(pArg1, pArg2, Flags) | |
FT_ListDevices.argtypes = [PVOID, PVOID, DWORD] | |
FT_ListDevices.__doc__ = \ | |
"""FT_STATUS FT_ListDevices(PVOID pArg1, PVOID pArg2, DWORD Flags) | |
ftd2xx.h:344""" | |
FT_Close = _libraries['build/libftd2xx.so.1.4.8'].FT_Close | |
FT_Close.restype = FT_STATUS | |
# FT_Close(ftHandle) | |
FT_Close.argtypes = [FT_HANDLE] | |
FT_Close.__doc__ = \ | |
"""FT_STATUS FT_Close(FT_HANDLE ftHandle) | |
ftd2xx.h:351""" | |
FT_Read = _libraries['build/libftd2xx.so.1.4.8'].FT_Read | |
FT_Read.restype = FT_STATUS | |
# FT_Read(ftHandle, lpBuffer, dwBytesToRead, lpBytesReturned) | |
FT_Read.argtypes = [FT_HANDLE, LPVOID, DWORD, LPDWORD] | |
FT_Read.__doc__ = \ | |
"""FT_STATUS FT_Read(FT_HANDLE ftHandle, LPVOID lpBuffer, DWORD dwBytesToRead, LPDWORD lpBytesReturned) | |
ftd2xx.h:356""" | |
FT_Write = _libraries['build/libftd2xx.so.1.4.8'].FT_Write | |
FT_Write.restype = FT_STATUS | |
# FT_Write(ftHandle, lpBuffer, dwBytesToWrite, lpBytesWritten) | |
FT_Write.argtypes = [FT_HANDLE, LPVOID, DWORD, LPDWORD] | |
FT_Write.__doc__ = \ | |
"""FT_STATUS FT_Write(FT_HANDLE ftHandle, LPVOID lpBuffer, DWORD dwBytesToWrite, LPDWORD lpBytesWritten) | |
ftd2xx.h:364""" | |
FT_IoCtl = _libraries['build/libftd2xx.so.1.4.8'].FT_IoCtl | |
FT_IoCtl.restype = FT_STATUS | |
# FT_IoCtl(ftHandle, dwIoControlCode, lpInBuf, nInBufSize, lpOutBuf, nOutBufSize, lpBytesReturned, lpOverlapped) | |
FT_IoCtl.argtypes = [FT_HANDLE, DWORD, LPVOID, DWORD, LPVOID, DWORD, LPDWORD, LPOVERLAPPED] | |
FT_IoCtl.__doc__ = \ | |
"""FT_STATUS FT_IoCtl(FT_HANDLE ftHandle, DWORD dwIoControlCode, LPVOID lpInBuf, DWORD nInBufSize, LPVOID lpOutBuf, DWORD nOutBufSize, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped) | |
ftd2xx.h:372""" | |
FT_SetBaudRate = _libraries['build/libftd2xx.so.1.4.8'].FT_SetBaudRate | |
FT_SetBaudRate.restype = FT_STATUS | |
# FT_SetBaudRate(ftHandle, BaudRate) | |
FT_SetBaudRate.argtypes = [FT_HANDLE, ULONG] | |
FT_SetBaudRate.__doc__ = \ | |
"""FT_STATUS FT_SetBaudRate(FT_HANDLE ftHandle, ULONG BaudRate) | |
ftd2xx.h:384""" | |
FT_SetDivisor = _libraries['build/libftd2xx.so.1.4.8'].FT_SetDivisor | |
FT_SetDivisor.restype = FT_STATUS | |
# FT_SetDivisor(ftHandle, Divisor) | |
FT_SetDivisor.argtypes = [FT_HANDLE, USHORT] | |
FT_SetDivisor.__doc__ = \ | |
"""FT_STATUS FT_SetDivisor(FT_HANDLE ftHandle, USHORT Divisor) | |
ftd2xx.h:390""" | |
FT_SetDataCharacteristics = _libraries['build/libftd2xx.so.1.4.8'].FT_SetDataCharacteristics | |
FT_SetDataCharacteristics.restype = FT_STATUS | |
# FT_SetDataCharacteristics(ftHandle, WordLength, StopBits, Parity) | |
FT_SetDataCharacteristics.argtypes = [FT_HANDLE, UCHAR, UCHAR, UCHAR] | |
FT_SetDataCharacteristics.__doc__ = \ | |
"""FT_STATUS FT_SetDataCharacteristics(FT_HANDLE ftHandle, UCHAR WordLength, UCHAR StopBits, UCHAR Parity) | |
ftd2xx.h:396""" | |
FT_SetFlowControl = _libraries['build/libftd2xx.so.1.4.8'].FT_SetFlowControl | |
FT_SetFlowControl.restype = FT_STATUS | |
# FT_SetFlowControl(ftHandle, FlowControl, XonChar, XoffChar) | |
FT_SetFlowControl.argtypes = [FT_HANDLE, USHORT, UCHAR, UCHAR] | |
FT_SetFlowControl.__doc__ = \ | |
"""FT_STATUS FT_SetFlowControl(FT_HANDLE ftHandle, USHORT FlowControl, UCHAR XonChar, UCHAR XoffChar) | |
ftd2xx.h:404""" | |
FT_ResetDevice = _libraries['build/libftd2xx.so.1.4.8'].FT_ResetDevice | |
FT_ResetDevice.restype = FT_STATUS | |
# FT_ResetDevice(ftHandle) | |
FT_ResetDevice.argtypes = [FT_HANDLE] | |
FT_ResetDevice.__doc__ = \ | |
"""FT_STATUS FT_ResetDevice(FT_HANDLE ftHandle) | |
ftd2xx.h:412""" | |
FT_SetDtr = _libraries['build/libftd2xx.so.1.4.8'].FT_SetDtr | |
FT_SetDtr.restype = FT_STATUS | |
# FT_SetDtr(ftHandle) | |
FT_SetDtr.argtypes = [FT_HANDLE] | |
FT_SetDtr.__doc__ = \ | |
"""FT_STATUS FT_SetDtr(FT_HANDLE ftHandle) | |
ftd2xx.h:417""" | |
FT_ClrDtr = _libraries['build/libftd2xx.so.1.4.8'].FT_ClrDtr | |
FT_ClrDtr.restype = FT_STATUS | |
# FT_ClrDtr(ftHandle) | |
FT_ClrDtr.argtypes = [FT_HANDLE] | |
FT_ClrDtr.__doc__ = \ | |
"""FT_STATUS FT_ClrDtr(FT_HANDLE ftHandle) | |
ftd2xx.h:422""" | |
FT_SetRts = _libraries['build/libftd2xx.so.1.4.8'].FT_SetRts | |
FT_SetRts.restype = FT_STATUS | |
# FT_SetRts(ftHandle) | |
FT_SetRts.argtypes = [FT_HANDLE] | |
FT_SetRts.__doc__ = \ | |
"""FT_STATUS FT_SetRts(FT_HANDLE ftHandle) | |
ftd2xx.h:427""" | |
FT_ClrRts = _libraries['build/libftd2xx.so.1.4.8'].FT_ClrRts | |
FT_ClrRts.restype = FT_STATUS | |
# FT_ClrRts(ftHandle) | |
FT_ClrRts.argtypes = [FT_HANDLE] | |
FT_ClrRts.__doc__ = \ | |
"""FT_STATUS FT_ClrRts(FT_HANDLE ftHandle) | |
ftd2xx.h:432""" | |
FT_GetModemStatus = _libraries['build/libftd2xx.so.1.4.8'].FT_GetModemStatus | |
FT_GetModemStatus.restype = FT_STATUS | |
# FT_GetModemStatus(ftHandle, pModemStatus) | |
FT_GetModemStatus.argtypes = [FT_HANDLE, POINTER_T(ctypes.c_uint32)] | |
FT_GetModemStatus.__doc__ = \ | |
"""FT_STATUS FT_GetModemStatus(FT_HANDLE ftHandle, LP_c_uint32 pModemStatus) | |
ftd2xx.h:437""" | |
FT_SetChars = _libraries['build/libftd2xx.so.1.4.8'].FT_SetChars | |
FT_SetChars.restype = FT_STATUS | |
# FT_SetChars(ftHandle, EventChar, EventCharEnabled, ErrorChar, ErrorCharEnabled) | |
FT_SetChars.argtypes = [FT_HANDLE, UCHAR, UCHAR, UCHAR, UCHAR] | |
FT_SetChars.__doc__ = \ | |
"""FT_STATUS FT_SetChars(FT_HANDLE ftHandle, UCHAR EventChar, UCHAR EventCharEnabled, UCHAR ErrorChar, UCHAR ErrorCharEnabled) | |
ftd2xx.h:443""" | |
FT_Purge = _libraries['build/libftd2xx.so.1.4.8'].FT_Purge | |
FT_Purge.restype = FT_STATUS | |
# FT_Purge(ftHandle, Mask) | |
FT_Purge.argtypes = [FT_HANDLE, ULONG] | |
FT_Purge.__doc__ = \ | |
"""FT_STATUS FT_Purge(FT_HANDLE ftHandle, ULONG Mask) | |
ftd2xx.h:452""" | |
FT_SetTimeouts = _libraries['build/libftd2xx.so.1.4.8'].FT_SetTimeouts | |
FT_SetTimeouts.restype = FT_STATUS | |
# FT_SetTimeouts(ftHandle, ReadTimeout, WriteTimeout) | |
FT_SetTimeouts.argtypes = [FT_HANDLE, ULONG, ULONG] | |
FT_SetTimeouts.__doc__ = \ | |
"""FT_STATUS FT_SetTimeouts(FT_HANDLE ftHandle, ULONG ReadTimeout, ULONG WriteTimeout) | |
ftd2xx.h:458""" | |
FT_GetQueueStatus = _libraries['build/libftd2xx.so.1.4.8'].FT_GetQueueStatus | |
FT_GetQueueStatus.restype = FT_STATUS | |
# FT_GetQueueStatus(ftHandle, dwRxBytes) | |
FT_GetQueueStatus.argtypes = [FT_HANDLE, POINTER_T(ctypes.c_uint32)] | |
FT_GetQueueStatus.__doc__ = \ | |
"""FT_STATUS FT_GetQueueStatus(FT_HANDLE ftHandle, LP_c_uint32 dwRxBytes) | |
ftd2xx.h:465""" | |
FT_SetEventNotification = _libraries['build/libftd2xx.so.1.4.8'].FT_SetEventNotification | |
FT_SetEventNotification.restype = FT_STATUS | |
# FT_SetEventNotification(ftHandle, Mask, Param) | |
FT_SetEventNotification.argtypes = [FT_HANDLE, DWORD, PVOID] | |
FT_SetEventNotification.__doc__ = \ | |
"""FT_STATUS FT_SetEventNotification(FT_HANDLE ftHandle, DWORD Mask, PVOID Param) | |
ftd2xx.h:471""" | |
FT_GetStatus = _libraries['build/libftd2xx.so.1.4.8'].FT_GetStatus | |
FT_GetStatus.restype = FT_STATUS | |
# FT_GetStatus(ftHandle, dwRxBytes, dwTxBytes, dwEventDWord) | |
FT_GetStatus.argtypes = [FT_HANDLE, POINTER_T(ctypes.c_uint32), POINTER_T(ctypes.c_uint32), POINTER_T(ctypes.c_uint32)] | |
FT_GetStatus.__doc__ = \ | |
"""FT_STATUS FT_GetStatus(FT_HANDLE ftHandle, LP_c_uint32 dwRxBytes, LP_c_uint32 dwTxBytes, LP_c_uint32 dwEventDWord) | |
ftd2xx.h:478""" | |
FT_SetBreakOn = _libraries['build/libftd2xx.so.1.4.8'].FT_SetBreakOn | |
FT_SetBreakOn.restype = FT_STATUS | |
# FT_SetBreakOn(ftHandle) | |
FT_SetBreakOn.argtypes = [FT_HANDLE] | |
FT_SetBreakOn.__doc__ = \ | |
"""FT_STATUS FT_SetBreakOn(FT_HANDLE ftHandle) | |
ftd2xx.h:486""" | |
FT_SetBreakOff = _libraries['build/libftd2xx.so.1.4.8'].FT_SetBreakOff | |
FT_SetBreakOff.restype = FT_STATUS | |
# FT_SetBreakOff(ftHandle) | |
FT_SetBreakOff.argtypes = [FT_HANDLE] | |
FT_SetBreakOff.__doc__ = \ | |
"""FT_STATUS FT_SetBreakOff(FT_HANDLE ftHandle) | |
ftd2xx.h:491""" | |
FT_SetWaitMask = _libraries['build/libftd2xx.so.1.4.8'].FT_SetWaitMask | |
FT_SetWaitMask.restype = FT_STATUS | |
# FT_SetWaitMask(ftHandle, Mask) | |
FT_SetWaitMask.argtypes = [FT_HANDLE, DWORD] | |
FT_SetWaitMask.__doc__ = \ | |
"""FT_STATUS FT_SetWaitMask(FT_HANDLE ftHandle, DWORD Mask) | |
ftd2xx.h:496""" | |
FT_WaitOnMask = _libraries['build/libftd2xx.so.1.4.8'].FT_WaitOnMask | |
FT_WaitOnMask.restype = FT_STATUS | |
# FT_WaitOnMask(ftHandle, Mask) | |
FT_WaitOnMask.argtypes = [FT_HANDLE, POINTER_T(ctypes.c_uint32)] | |
FT_WaitOnMask.__doc__ = \ | |
"""FT_STATUS FT_WaitOnMask(FT_HANDLE ftHandle, LP_c_uint32 Mask) | |
ftd2xx.h:502""" | |
FT_GetEventStatus = _libraries['build/libftd2xx.so.1.4.8'].FT_GetEventStatus | |
FT_GetEventStatus.restype = FT_STATUS | |
# FT_GetEventStatus(ftHandle, dwEventDWord) | |
FT_GetEventStatus.argtypes = [FT_HANDLE, POINTER_T(ctypes.c_uint32)] | |
FT_GetEventStatus.__doc__ = \ | |
"""FT_STATUS FT_GetEventStatus(FT_HANDLE ftHandle, LP_c_uint32 dwEventDWord) | |
ftd2xx.h:508""" | |
FT_ReadEE = _libraries['build/libftd2xx.so.1.4.8'].FT_ReadEE | |
FT_ReadEE.restype = FT_STATUS | |
# FT_ReadEE(ftHandle, dwWordOffset, lpwValue) | |
FT_ReadEE.argtypes = [FT_HANDLE, DWORD, LPWORD] | |
FT_ReadEE.__doc__ = \ | |
"""FT_STATUS FT_ReadEE(FT_HANDLE ftHandle, DWORD dwWordOffset, LPWORD lpwValue) | |
ftd2xx.h:514""" | |
FT_WriteEE = _libraries['build/libftd2xx.so.1.4.8'].FT_WriteEE | |
FT_WriteEE.restype = FT_STATUS | |
# FT_WriteEE(ftHandle, dwWordOffset, wValue) | |
FT_WriteEE.argtypes = [FT_HANDLE, DWORD, WORD] | |
FT_WriteEE.__doc__ = \ | |
"""FT_STATUS FT_WriteEE(FT_HANDLE ftHandle, DWORD dwWordOffset, WORD wValue) | |
ftd2xx.h:521""" | |
FT_EraseEE = _libraries['build/libftd2xx.so.1.4.8'].FT_EraseEE | |
FT_EraseEE.restype = FT_STATUS | |
# FT_EraseEE(ftHandle) | |
FT_EraseEE.argtypes = [FT_HANDLE] | |
FT_EraseEE.__doc__ = \ | |
"""FT_STATUS FT_EraseEE(FT_HANDLE ftHandle) | |
ftd2xx.h:528""" | |
class struct_ft_program_data(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('Signature1', ctypes.c_uint32), | |
('Signature2', ctypes.c_uint32), | |
('Version', ctypes.c_uint32), | |
('VendorId', ctypes.c_uint16), | |
('ProductId', ctypes.c_uint16), | |
('Manufacturer', POINTER_T(ctypes.c_char)), | |
('ManufacturerId', POINTER_T(ctypes.c_char)), | |
('Description', POINTER_T(ctypes.c_char)), | |
('SerialNumber', POINTER_T(ctypes.c_char)), | |
('MaxPower', ctypes.c_uint16), | |
('PnP', ctypes.c_uint16), | |
('SelfPowered', ctypes.c_uint16), | |
('RemoteWakeup', ctypes.c_uint16), | |
('Rev4', ctypes.c_ubyte), | |
('IsoIn', ctypes.c_ubyte), | |
('IsoOut', ctypes.c_ubyte), | |
('PullDownEnable', ctypes.c_ubyte), | |
('SerNumEnable', ctypes.c_ubyte), | |
('USBVersionEnable', ctypes.c_ubyte), | |
('USBVersion', ctypes.c_uint16), | |
('Rev5', ctypes.c_ubyte), | |
('IsoInA', ctypes.c_ubyte), | |
('IsoInB', ctypes.c_ubyte), | |
('IsoOutA', ctypes.c_ubyte), | |
('IsoOutB', ctypes.c_ubyte), | |
('PullDownEnable5', ctypes.c_ubyte), | |
('SerNumEnable5', ctypes.c_ubyte), | |
('USBVersionEnable5', ctypes.c_ubyte), | |
('USBVersion5', ctypes.c_uint16), | |
('AIsHighCurrent', ctypes.c_ubyte), | |
('BIsHighCurrent', ctypes.c_ubyte), | |
('IFAIsFifo', ctypes.c_ubyte), | |
('IFAIsFifoTar', ctypes.c_ubyte), | |
('IFAIsFastSer', ctypes.c_ubyte), | |
('AIsVCP', ctypes.c_ubyte), | |
('IFBIsFifo', ctypes.c_ubyte), | |
('IFBIsFifoTar', ctypes.c_ubyte), | |
('IFBIsFastSer', ctypes.c_ubyte), | |
('BIsVCP', ctypes.c_ubyte), | |
('UseExtOsc', ctypes.c_ubyte), | |
('HighDriveIOs', ctypes.c_ubyte), | |
('EndpointSize', ctypes.c_ubyte), | |
('PullDownEnableR', ctypes.c_ubyte), | |
('SerNumEnableR', ctypes.c_ubyte), | |
('InvertTXD', ctypes.c_ubyte), | |
('InvertRXD', ctypes.c_ubyte), | |
('InvertRTS', ctypes.c_ubyte), | |
('InvertCTS', ctypes.c_ubyte), | |
('InvertDTR', ctypes.c_ubyte), | |
('InvertDSR', ctypes.c_ubyte), | |
('InvertDCD', ctypes.c_ubyte), | |
('InvertRI', ctypes.c_ubyte), | |
('Cbus0', ctypes.c_ubyte), | |
('Cbus1', ctypes.c_ubyte), | |
('Cbus2', ctypes.c_ubyte), | |
('Cbus3', ctypes.c_ubyte), | |
('Cbus4', ctypes.c_ubyte), | |
('RIsD2XX', ctypes.c_ubyte), | |
('PullDownEnable7', ctypes.c_ubyte), | |
('SerNumEnable7', ctypes.c_ubyte), | |
('ALSlowSlew', ctypes.c_ubyte), | |
('ALSchmittInput', ctypes.c_ubyte), | |
('ALDriveCurrent', ctypes.c_ubyte), | |
('AHSlowSlew', ctypes.c_ubyte), | |
('AHSchmittInput', ctypes.c_ubyte), | |
('AHDriveCurrent', ctypes.c_ubyte), | |
('BLSlowSlew', ctypes.c_ubyte), | |
('BLSchmittInput', ctypes.c_ubyte), | |
('BLDriveCurrent', ctypes.c_ubyte), | |
('BHSlowSlew', ctypes.c_ubyte), | |
('BHSchmittInput', ctypes.c_ubyte), | |
('BHDriveCurrent', ctypes.c_ubyte), | |
('IFAIsFifo7', ctypes.c_ubyte), | |
('IFAIsFifoTar7', ctypes.c_ubyte), | |
('IFAIsFastSer7', ctypes.c_ubyte), | |
('AIsVCP7', ctypes.c_ubyte), | |
('IFBIsFifo7', ctypes.c_ubyte), | |
('IFBIsFifoTar7', ctypes.c_ubyte), | |
('IFBIsFastSer7', ctypes.c_ubyte), | |
('BIsVCP7', ctypes.c_ubyte), | |
('PowerSaveEnable', ctypes.c_ubyte), | |
('PullDownEnable8', ctypes.c_ubyte), | |
('SerNumEnable8', ctypes.c_ubyte), | |
('ASlowSlew', ctypes.c_ubyte), | |
('ASchmittInput', ctypes.c_ubyte), | |
('ADriveCurrent', ctypes.c_ubyte), | |
('BSlowSlew', ctypes.c_ubyte), | |
('BSchmittInput', ctypes.c_ubyte), | |
('BDriveCurrent', ctypes.c_ubyte), | |
('CSlowSlew', ctypes.c_ubyte), | |
('CSchmittInput', ctypes.c_ubyte), | |
('CDriveCurrent', ctypes.c_ubyte), | |
('DSlowSlew', ctypes.c_ubyte), | |
('DSchmittInput', ctypes.c_ubyte), | |
('DDriveCurrent', ctypes.c_ubyte), | |
('ARIIsTXDEN', ctypes.c_ubyte), | |
('BRIIsTXDEN', ctypes.c_ubyte), | |
('CRIIsTXDEN', ctypes.c_ubyte), | |
('DRIIsTXDEN', ctypes.c_ubyte), | |
('AIsVCP8', ctypes.c_ubyte), | |
('BIsVCP8', ctypes.c_ubyte), | |
('CIsVCP8', ctypes.c_ubyte), | |
('DIsVCP8', ctypes.c_ubyte), | |
('PullDownEnableH', ctypes.c_ubyte), | |
('SerNumEnableH', ctypes.c_ubyte), | |
('ACSlowSlewH', ctypes.c_ubyte), | |
('ACSchmittInputH', ctypes.c_ubyte), | |
('ACDriveCurrentH', ctypes.c_ubyte), | |
('ADSlowSlewH', ctypes.c_ubyte), | |
('ADSchmittInputH', ctypes.c_ubyte), | |
('ADDriveCurrentH', ctypes.c_ubyte), | |
('Cbus0H', ctypes.c_ubyte), | |
('Cbus1H', ctypes.c_ubyte), | |
('Cbus2H', ctypes.c_ubyte), | |
('Cbus3H', ctypes.c_ubyte), | |
('Cbus4H', ctypes.c_ubyte), | |
('Cbus5H', ctypes.c_ubyte), | |
('Cbus6H', ctypes.c_ubyte), | |
('Cbus7H', ctypes.c_ubyte), | |
('Cbus8H', ctypes.c_ubyte), | |
('Cbus9H', ctypes.c_ubyte), | |
('IsFifoH', ctypes.c_ubyte), | |
('IsFifoTarH', ctypes.c_ubyte), | |
('IsFastSerH', ctypes.c_ubyte), | |
('IsFT1248H', ctypes.c_ubyte), | |
('FT1248CpolH', ctypes.c_ubyte), | |
('FT1248LsbH', ctypes.c_ubyte), | |
('FT1248FlowControlH', ctypes.c_ubyte), | |
('IsVCPH', ctypes.c_ubyte), | |
('PowerSaveEnableH', ctypes.c_ubyte), | |
('PADDING_0', ctypes.c_ubyte), | |
] | |
FT_PROGRAM_DATA = struct_ft_program_data | |
PFT_PROGRAM_DATA = POINTER_T(struct_ft_program_data) | |
FT_EE_Program = _libraries['build/libftd2xx.so.1.4.8'].FT_EE_Program | |
FT_EE_Program.restype = FT_STATUS | |
# FT_EE_Program(ftHandle, pData) | |
FT_EE_Program.argtypes = [FT_HANDLE, PFT_PROGRAM_DATA] | |
FT_EE_Program.__doc__ = \ | |
"""FT_STATUS FT_EE_Program(FT_HANDLE ftHandle, PFT_PROGRAM_DATA pData) | |
ftd2xx.h:697""" | |
FT_EE_ProgramEx = _libraries['build/libftd2xx.so.1.4.8'].FT_EE_ProgramEx | |
FT_EE_ProgramEx.restype = FT_STATUS | |
# FT_EE_ProgramEx(ftHandle, pData, Manufacturer, ManufacturerId, Description, SerialNumber) | |
FT_EE_ProgramEx.argtypes = [FT_HANDLE, PFT_PROGRAM_DATA, POINTER_T(ctypes.c_char), POINTER_T(ctypes.c_char), POINTER_T(ctypes.c_char), POINTER_T(ctypes.c_char)] | |
FT_EE_ProgramEx.__doc__ = \ | |
"""FT_STATUS FT_EE_ProgramEx(FT_HANDLE ftHandle, PFT_PROGRAM_DATA pData, LP_c_char Manufacturer, LP_c_char ManufacturerId, LP_c_char Description, LP_c_char SerialNumber) | |
ftd2xx.h:703""" | |
FT_EE_Read = _libraries['build/libftd2xx.so.1.4.8'].FT_EE_Read | |
FT_EE_Read.restype = FT_STATUS | |
# FT_EE_Read(ftHandle, pData) | |
FT_EE_Read.argtypes = [FT_HANDLE, PFT_PROGRAM_DATA] | |
FT_EE_Read.__doc__ = \ | |
"""FT_STATUS FT_EE_Read(FT_HANDLE ftHandle, PFT_PROGRAM_DATA pData) | |
ftd2xx.h:713""" | |
FT_EE_ReadEx = _libraries['build/libftd2xx.so.1.4.8'].FT_EE_ReadEx | |
FT_EE_ReadEx.restype = FT_STATUS | |
# FT_EE_ReadEx(ftHandle, pData, Manufacturer, ManufacturerId, Description, SerialNumber) | |
FT_EE_ReadEx.argtypes = [FT_HANDLE, PFT_PROGRAM_DATA, POINTER_T(ctypes.c_char), POINTER_T(ctypes.c_char), POINTER_T(ctypes.c_char), POINTER_T(ctypes.c_char)] | |
FT_EE_ReadEx.__doc__ = \ | |
"""FT_STATUS FT_EE_ReadEx(FT_HANDLE ftHandle, PFT_PROGRAM_DATA pData, LP_c_char Manufacturer, LP_c_char ManufacturerId, LP_c_char Description, LP_c_char SerialNumber) | |
ftd2xx.h:719""" | |
FT_EE_UASize = _libraries['build/libftd2xx.so.1.4.8'].FT_EE_UASize | |
FT_EE_UASize.restype = FT_STATUS | |
# FT_EE_UASize(ftHandle, lpdwSize) | |
FT_EE_UASize.argtypes = [FT_HANDLE, LPDWORD] | |
FT_EE_UASize.__doc__ = \ | |
"""FT_STATUS FT_EE_UASize(FT_HANDLE ftHandle, LPDWORD lpdwSize) | |
ftd2xx.h:729""" | |
FT_EE_UAWrite = _libraries['build/libftd2xx.so.1.4.8'].FT_EE_UAWrite | |
FT_EE_UAWrite.restype = FT_STATUS | |
# FT_EE_UAWrite(ftHandle, pucData, dwDataLen) | |
FT_EE_UAWrite.argtypes = [FT_HANDLE, PUCHAR, DWORD] | |
FT_EE_UAWrite.__doc__ = \ | |
"""FT_STATUS FT_EE_UAWrite(FT_HANDLE ftHandle, PUCHAR pucData, DWORD dwDataLen) | |
ftd2xx.h:735""" | |
FT_EE_UARead = _libraries['build/libftd2xx.so.1.4.8'].FT_EE_UARead | |
FT_EE_UARead.restype = FT_STATUS | |
# FT_EE_UARead(ftHandle, pucData, dwDataLen, lpdwBytesRead) | |
FT_EE_UARead.argtypes = [FT_HANDLE, PUCHAR, DWORD, LPDWORD] | |
FT_EE_UARead.__doc__ = \ | |
"""FT_STATUS FT_EE_UARead(FT_HANDLE ftHandle, PUCHAR pucData, DWORD dwDataLen, LPDWORD lpdwBytesRead) | |
ftd2xx.h:742""" | |
class struct_ft_eeprom_header(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('deviceType', ctypes.c_uint32), | |
('VendorId', ctypes.c_uint16), | |
('ProductId', ctypes.c_uint16), | |
('SerNumEnable', ctypes.c_ubyte), | |
('PADDING_0', ctypes.c_ubyte), | |
('MaxPower', ctypes.c_uint16), | |
('SelfPowered', ctypes.c_ubyte), | |
('RemoteWakeup', ctypes.c_ubyte), | |
('PullDownEnable', ctypes.c_ubyte), | |
('PADDING_1', ctypes.c_ubyte), | |
] | |
FT_EEPROM_HEADER = struct_ft_eeprom_header | |
PFT_EEPROM_HEADER = POINTER_T(struct_ft_eeprom_header) | |
class struct_ft_eeprom_232b(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('common', FT_EEPROM_HEADER), | |
] | |
FT_EEPROM_232B = struct_ft_eeprom_232b | |
PFT_EEPROM_232B = POINTER_T(struct_ft_eeprom_232b) | |
class struct_ft_eeprom_2232(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('common', FT_EEPROM_HEADER), | |
('AIsHighCurrent', ctypes.c_ubyte), | |
('BIsHighCurrent', ctypes.c_ubyte), | |
('AIsFifo', ctypes.c_ubyte), | |
('AIsFifoTar', ctypes.c_ubyte), | |
('AIsFastSer', ctypes.c_ubyte), | |
('BIsFifo', ctypes.c_ubyte), | |
('BIsFifoTar', ctypes.c_ubyte), | |
('BIsFastSer', ctypes.c_ubyte), | |
('ADriverType', ctypes.c_ubyte), | |
('BDriverType', ctypes.c_ubyte), | |
('PADDING_0', ctypes.c_ubyte * 2), | |
] | |
FT_EEPROM_2232 = struct_ft_eeprom_2232 | |
PFT_EEPROM_2232 = POINTER_T(struct_ft_eeprom_2232) | |
class struct_ft_eeprom_232r(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('common', FT_EEPROM_HEADER), | |
('IsHighCurrent', ctypes.c_ubyte), | |
('UseExtOsc', ctypes.c_ubyte), | |
('InvertTXD', ctypes.c_ubyte), | |
('InvertRXD', ctypes.c_ubyte), | |
('InvertRTS', ctypes.c_ubyte), | |
('InvertCTS', ctypes.c_ubyte), | |
('InvertDTR', ctypes.c_ubyte), | |
('InvertDSR', ctypes.c_ubyte), | |
('InvertDCD', ctypes.c_ubyte), | |
('InvertRI', ctypes.c_ubyte), | |
('Cbus0', ctypes.c_ubyte), | |
('Cbus1', ctypes.c_ubyte), | |
('Cbus2', ctypes.c_ubyte), | |
('Cbus3', ctypes.c_ubyte), | |
('Cbus4', ctypes.c_ubyte), | |
('DriverType', ctypes.c_ubyte), | |
] | |
FT_EEPROM_232R = struct_ft_eeprom_232r | |
PFT_EEPROM_232R = POINTER_T(struct_ft_eeprom_232r) | |
class struct_ft_eeprom_2232h(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('common', FT_EEPROM_HEADER), | |
('ALSlowSlew', ctypes.c_ubyte), | |
('ALSchmittInput', ctypes.c_ubyte), | |
('ALDriveCurrent', ctypes.c_ubyte), | |
('AHSlowSlew', ctypes.c_ubyte), | |
('AHSchmittInput', ctypes.c_ubyte), | |
('AHDriveCurrent', ctypes.c_ubyte), | |
('BLSlowSlew', ctypes.c_ubyte), | |
('BLSchmittInput', ctypes.c_ubyte), | |
('BLDriveCurrent', ctypes.c_ubyte), | |
('BHSlowSlew', ctypes.c_ubyte), | |
('BHSchmittInput', ctypes.c_ubyte), | |
('BHDriveCurrent', ctypes.c_ubyte), | |
('AIsFifo', ctypes.c_ubyte), | |
('AIsFifoTar', ctypes.c_ubyte), | |
('AIsFastSer', ctypes.c_ubyte), | |
('BIsFifo', ctypes.c_ubyte), | |
('BIsFifoTar', ctypes.c_ubyte), | |
('BIsFastSer', ctypes.c_ubyte), | |
('PowerSaveEnable', ctypes.c_ubyte), | |
('ADriverType', ctypes.c_ubyte), | |
('BDriverType', ctypes.c_ubyte), | |
('PADDING_0', ctypes.c_ubyte * 3), | |
] | |
FT_EEPROM_2232H = struct_ft_eeprom_2232h | |
PFT_EEPROM_2232H = POINTER_T(struct_ft_eeprom_2232h) | |
class struct_ft_eeprom_4232h(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('common', FT_EEPROM_HEADER), | |
('ASlowSlew', ctypes.c_ubyte), | |
('ASchmittInput', ctypes.c_ubyte), | |
('ADriveCurrent', ctypes.c_ubyte), | |
('BSlowSlew', ctypes.c_ubyte), | |
('BSchmittInput', ctypes.c_ubyte), | |
('BDriveCurrent', ctypes.c_ubyte), | |
('CSlowSlew', ctypes.c_ubyte), | |
('CSchmittInput', ctypes.c_ubyte), | |
('CDriveCurrent', ctypes.c_ubyte), | |
('DSlowSlew', ctypes.c_ubyte), | |
('DSchmittInput', ctypes.c_ubyte), | |
('DDriveCurrent', ctypes.c_ubyte), | |
('ARIIsTXDEN', ctypes.c_ubyte), | |
('BRIIsTXDEN', ctypes.c_ubyte), | |
('CRIIsTXDEN', ctypes.c_ubyte), | |
('DRIIsTXDEN', ctypes.c_ubyte), | |
('ADriverType', ctypes.c_ubyte), | |
('BDriverType', ctypes.c_ubyte), | |
('CDriverType', ctypes.c_ubyte), | |
('DDriverType', ctypes.c_ubyte), | |
] | |
FT_EEPROM_4232H = struct_ft_eeprom_4232h | |
PFT_EEPROM_4232H = POINTER_T(struct_ft_eeprom_4232h) | |
class struct_ft_eeprom_232h(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('common', FT_EEPROM_HEADER), | |
('ACSlowSlew', ctypes.c_ubyte), | |
('ACSchmittInput', ctypes.c_ubyte), | |
('ACDriveCurrent', ctypes.c_ubyte), | |
('ADSlowSlew', ctypes.c_ubyte), | |
('ADSchmittInput', ctypes.c_ubyte), | |
('ADDriveCurrent', ctypes.c_ubyte), | |
('Cbus0', ctypes.c_ubyte), | |
('Cbus1', ctypes.c_ubyte), | |
('Cbus2', ctypes.c_ubyte), | |
('Cbus3', ctypes.c_ubyte), | |
('Cbus4', ctypes.c_ubyte), | |
('Cbus5', ctypes.c_ubyte), | |
('Cbus6', ctypes.c_ubyte), | |
('Cbus7', ctypes.c_ubyte), | |
('Cbus8', ctypes.c_ubyte), | |
('Cbus9', ctypes.c_ubyte), | |
('FT1248Cpol', ctypes.c_ubyte), | |
('FT1248Lsb', ctypes.c_ubyte), | |
('FT1248FlowControl', ctypes.c_ubyte), | |
('IsFifo', ctypes.c_ubyte), | |
('IsFifoTar', ctypes.c_ubyte), | |
('IsFastSer', ctypes.c_ubyte), | |
('IsFT1248', ctypes.c_ubyte), | |
('PowerSaveEnable', ctypes.c_ubyte), | |
('DriverType', ctypes.c_ubyte), | |
('PADDING_0', ctypes.c_ubyte * 3), | |
] | |
FT_EEPROM_232H = struct_ft_eeprom_232h | |
PFT_EEPROM_232H = POINTER_T(struct_ft_eeprom_232h) | |
class struct_ft_eeprom_x_series(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('common', FT_EEPROM_HEADER), | |
('ACSlowSlew', ctypes.c_ubyte), | |
('ACSchmittInput', ctypes.c_ubyte), | |
('ACDriveCurrent', ctypes.c_ubyte), | |
('ADSlowSlew', ctypes.c_ubyte), | |
('ADSchmittInput', ctypes.c_ubyte), | |
('ADDriveCurrent', ctypes.c_ubyte), | |
('Cbus0', ctypes.c_ubyte), | |
('Cbus1', ctypes.c_ubyte), | |
('Cbus2', ctypes.c_ubyte), | |
('Cbus3', ctypes.c_ubyte), | |
('Cbus4', ctypes.c_ubyte), | |
('Cbus5', ctypes.c_ubyte), | |
('Cbus6', ctypes.c_ubyte), | |
('InvertTXD', ctypes.c_ubyte), | |
('InvertRXD', ctypes.c_ubyte), | |
('InvertRTS', ctypes.c_ubyte), | |
('InvertCTS', ctypes.c_ubyte), | |
('InvertDTR', ctypes.c_ubyte), | |
('InvertDSR', ctypes.c_ubyte), | |
('InvertDCD', ctypes.c_ubyte), | |
('InvertRI', ctypes.c_ubyte), | |
('BCDEnable', ctypes.c_ubyte), | |
('BCDForceCbusPWREN', ctypes.c_ubyte), | |
('BCDDisableSleep', ctypes.c_ubyte), | |
('I2CSlaveAddress', ctypes.c_uint16), | |
('PADDING_0', ctypes.c_ubyte * 2), | |
('I2CDeviceId', ctypes.c_uint32), | |
('I2CDisableSchmitt', ctypes.c_ubyte), | |
('FT1248Cpol', ctypes.c_ubyte), | |
('FT1248Lsb', ctypes.c_ubyte), | |
('FT1248FlowControl', ctypes.c_ubyte), | |
('RS485EchoSuppress', ctypes.c_ubyte), | |
('PowerSaveEnable', ctypes.c_ubyte), | |
('DriverType', ctypes.c_ubyte), | |
('PADDING_1', ctypes.c_ubyte), | |
] | |
FT_EEPROM_X_SERIES = struct_ft_eeprom_x_series | |
PFT_EEPROM_X_SERIES = POINTER_T(struct_ft_eeprom_x_series) | |
FT_EEPROM_Read = _libraries['build/libftd2xx.so.1.4.8'].FT_EEPROM_Read | |
FT_EEPROM_Read.restype = FT_STATUS | |
# FT_EEPROM_Read(ftHandle, eepromData, eepromDataSize, Manufacturer, ManufacturerId, Description, SerialNumber) | |
FT_EEPROM_Read.argtypes = [FT_HANDLE, POINTER_T(None), DWORD, POINTER_T(ctypes.c_char), POINTER_T(ctypes.c_char), POINTER_T(ctypes.c_char), POINTER_T(ctypes.c_char)] | |
FT_EEPROM_Read.__doc__ = \ | |
"""FT_STATUS FT_EEPROM_Read(FT_HANDLE ftHandle, LP_None eepromData, DWORD eepromDataSize, LP_c_char Manufacturer, LP_c_char ManufacturerId, LP_c_char Description, LP_c_char SerialNumber) | |
ftd2xx.h:965""" | |
FT_EEPROM_Program = _libraries['build/libftd2xx.so.1.4.8'].FT_EEPROM_Program | |
FT_EEPROM_Program.restype = FT_STATUS | |
# FT_EEPROM_Program(ftHandle, eepromData, eepromDataSize, Manufacturer, ManufacturerId, Description, SerialNumber) | |
FT_EEPROM_Program.argtypes = [FT_HANDLE, POINTER_T(None), DWORD, POINTER_T(ctypes.c_char), POINTER_T(ctypes.c_char), POINTER_T(ctypes.c_char), POINTER_T(ctypes.c_char)] | |
FT_EEPROM_Program.__doc__ = \ | |
"""FT_STATUS FT_EEPROM_Program(FT_HANDLE ftHandle, LP_None eepromData, DWORD eepromDataSize, LP_c_char Manufacturer, LP_c_char ManufacturerId, LP_c_char Description, LP_c_char SerialNumber) | |
ftd2xx.h:977""" | |
FT_SetLatencyTimer = _libraries['build/libftd2xx.so.1.4.8'].FT_SetLatencyTimer | |
FT_SetLatencyTimer.restype = FT_STATUS | |
# FT_SetLatencyTimer(ftHandle, ucLatency) | |
FT_SetLatencyTimer.argtypes = [FT_HANDLE, UCHAR] | |
FT_SetLatencyTimer.__doc__ = \ | |
"""FT_STATUS FT_SetLatencyTimer(FT_HANDLE ftHandle, UCHAR ucLatency) | |
ftd2xx.h:989""" | |
FT_GetLatencyTimer = _libraries['build/libftd2xx.so.1.4.8'].FT_GetLatencyTimer | |
FT_GetLatencyTimer.restype = FT_STATUS | |
# FT_GetLatencyTimer(ftHandle, pucLatency) | |
FT_GetLatencyTimer.argtypes = [FT_HANDLE, PUCHAR] | |
FT_GetLatencyTimer.__doc__ = \ | |
"""FT_STATUS FT_GetLatencyTimer(FT_HANDLE ftHandle, PUCHAR pucLatency) | |
ftd2xx.h:995""" | |
FT_SetBitMode = _libraries['build/libftd2xx.so.1.4.8'].FT_SetBitMode | |
FT_SetBitMode.restype = FT_STATUS | |
# FT_SetBitMode(ftHandle, ucMask, ucEnable) | |
FT_SetBitMode.argtypes = [FT_HANDLE, UCHAR, UCHAR] | |
FT_SetBitMode.__doc__ = \ | |
"""FT_STATUS FT_SetBitMode(FT_HANDLE ftHandle, UCHAR ucMask, UCHAR ucEnable) | |
ftd2xx.h:1001""" | |
FT_GetBitMode = _libraries['build/libftd2xx.so.1.4.8'].FT_GetBitMode | |
FT_GetBitMode.restype = FT_STATUS | |
# FT_GetBitMode(ftHandle, pucMode) | |
FT_GetBitMode.argtypes = [FT_HANDLE, PUCHAR] | |
FT_GetBitMode.__doc__ = \ | |
"""FT_STATUS FT_GetBitMode(FT_HANDLE ftHandle, PUCHAR pucMode) | |
ftd2xx.h:1008""" | |
FT_SetUSBParameters = _libraries['build/libftd2xx.so.1.4.8'].FT_SetUSBParameters | |
FT_SetUSBParameters.restype = FT_STATUS | |
# FT_SetUSBParameters(ftHandle, ulInTransferSize, ulOutTransferSize) | |
FT_SetUSBParameters.argtypes = [FT_HANDLE, ULONG, ULONG] | |
FT_SetUSBParameters.__doc__ = \ | |
"""FT_STATUS FT_SetUSBParameters(FT_HANDLE ftHandle, ULONG ulInTransferSize, ULONG ulOutTransferSize) | |
ftd2xx.h:1014""" | |
FT_SetDeadmanTimeout = _libraries['build/libftd2xx.so.1.4.8'].FT_SetDeadmanTimeout | |
FT_SetDeadmanTimeout.restype = FT_STATUS | |
# FT_SetDeadmanTimeout(ftHandle, ulDeadmanTimeout) | |
FT_SetDeadmanTimeout.argtypes = [FT_HANDLE, ULONG] | |
FT_SetDeadmanTimeout.__doc__ = \ | |
"""FT_STATUS FT_SetDeadmanTimeout(FT_HANDLE ftHandle, ULONG ulDeadmanTimeout) | |
ftd2xx.h:1021""" | |
FT_SetVIDPID = _libraries['build/libftd2xx.so.1.4.8'].FT_SetVIDPID | |
FT_SetVIDPID.restype = FT_STATUS | |
# FT_SetVIDPID(dwVID, dwPID) | |
FT_SetVIDPID.argtypes = [DWORD, DWORD] | |
FT_SetVIDPID.__doc__ = \ | |
"""FT_STATUS FT_SetVIDPID(DWORD dwVID, DWORD dwPID) | |
ftd2xx.h:1031""" | |
FT_GetVIDPID = _libraries['build/libftd2xx.so.1.4.8'].FT_GetVIDPID | |
FT_GetVIDPID.restype = FT_STATUS | |
# FT_GetVIDPID(pdwVID, pdwPID) | |
FT_GetVIDPID.argtypes = [POINTER_T(ctypes.c_uint32), POINTER_T(ctypes.c_uint32)] | |
FT_GetVIDPID.__doc__ = \ | |
"""FT_STATUS FT_GetVIDPID(LP_c_uint32 pdwVID, LP_c_uint32 pdwPID) | |
ftd2xx.h:1037""" | |
FT_GetDeviceLocId = _libraries['build/libftd2xx.so.1.4.8'].FT_GetDeviceLocId | |
FT_GetDeviceLocId.restype = FT_STATUS | |
# FT_GetDeviceLocId(ftHandle, lpdwLocId) | |
FT_GetDeviceLocId.argtypes = [FT_HANDLE, LPDWORD] | |
FT_GetDeviceLocId.__doc__ = \ | |
"""FT_STATUS FT_GetDeviceLocId(FT_HANDLE ftHandle, LPDWORD lpdwLocId) | |
ftd2xx.h:1043""" | |
FT_GetDeviceInfo = _libraries['build/libftd2xx.so.1.4.8'].FT_GetDeviceInfo | |
FT_GetDeviceInfo.restype = FT_STATUS | |
# FT_GetDeviceInfo(ftHandle, lpftDevice, lpdwID, SerialNumber, Description, Dummy) | |
FT_GetDeviceInfo.argtypes = [FT_HANDLE, POINTER_T(ctypes.c_uint32), LPDWORD, PCHAR, PCHAR, LPVOID] | |
FT_GetDeviceInfo.__doc__ = \ | |
"""FT_STATUS FT_GetDeviceInfo(FT_HANDLE ftHandle, LP_c_uint32 lpftDevice, LPDWORD lpdwID, PCHAR SerialNumber, PCHAR Description, LPVOID Dummy) | |
ftd2xx.h:1050""" | |
FT_StopInTask = _libraries['build/libftd2xx.so.1.4.8'].FT_StopInTask | |
FT_StopInTask.restype = FT_STATUS | |
# FT_StopInTask(ftHandle) | |
FT_StopInTask.argtypes = [FT_HANDLE] | |
FT_StopInTask.__doc__ = \ | |
"""FT_STATUS FT_StopInTask(FT_HANDLE ftHandle) | |
ftd2xx.h:1060""" | |
FT_RestartInTask = _libraries['build/libftd2xx.so.1.4.8'].FT_RestartInTask | |
FT_RestartInTask.restype = FT_STATUS | |
# FT_RestartInTask(ftHandle) | |
FT_RestartInTask.argtypes = [FT_HANDLE] | |
FT_RestartInTask.__doc__ = \ | |
"""FT_STATUS FT_RestartInTask(FT_HANDLE ftHandle) | |
ftd2xx.h:1065""" | |
FT_SetResetPipeRetryCount = _libraries['build/libftd2xx.so.1.4.8'].FT_SetResetPipeRetryCount | |
FT_SetResetPipeRetryCount.restype = FT_STATUS | |
# FT_SetResetPipeRetryCount(ftHandle, dwCount) | |
FT_SetResetPipeRetryCount.argtypes = [FT_HANDLE, DWORD] | |
FT_SetResetPipeRetryCount.__doc__ = \ | |
"""FT_STATUS FT_SetResetPipeRetryCount(FT_HANDLE ftHandle, DWORD dwCount) | |
ftd2xx.h:1070""" | |
FT_ResetPort = _libraries['build/libftd2xx.so.1.4.8'].FT_ResetPort | |
FT_ResetPort.restype = FT_STATUS | |
# FT_ResetPort(ftHandle) | |
FT_ResetPort.argtypes = [FT_HANDLE] | |
FT_ResetPort.__doc__ = \ | |
"""FT_STATUS FT_ResetPort(FT_HANDLE ftHandle) | |
ftd2xx.h:1076""" | |
FT_CyclePort = _libraries['build/libftd2xx.so.1.4.8'].FT_CyclePort | |
FT_CyclePort.restype = FT_STATUS | |
# FT_CyclePort(ftHandle) | |
FT_CyclePort.argtypes = [FT_HANDLE] | |
FT_CyclePort.__doc__ = \ | |
"""FT_STATUS FT_CyclePort(FT_HANDLE ftHandle) | |
ftd2xx.h:1081""" | |
FT_W32_CreateFile = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_CreateFile | |
FT_W32_CreateFile.restype = FT_HANDLE | |
# FT_W32_CreateFile(lpszName, dwAccess, dwShareMode, lpSecurityAttributes, dwCreate, dwAttrsAndFlags, hTemplate) | |
FT_W32_CreateFile.argtypes = [LPCTSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE] | |
FT_W32_CreateFile.__doc__ = \ | |
"""FT_HANDLE FT_W32_CreateFile(LPCTSTR lpszName, DWORD dwAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreate, DWORD dwAttrsAndFlags, HANDLE hTemplate) | |
ftd2xx.h:1091""" | |
FT_W32_CloseHandle = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_CloseHandle | |
FT_W32_CloseHandle.restype = BOOL | |
# FT_W32_CloseHandle(ftHandle) | |
FT_W32_CloseHandle.argtypes = [FT_HANDLE] | |
FT_W32_CloseHandle.__doc__ = \ | |
"""BOOL FT_W32_CloseHandle(FT_HANDLE ftHandle) | |
ftd2xx.h:1102""" | |
FT_W32_ReadFile = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_ReadFile | |
FT_W32_ReadFile.restype = BOOL | |
# FT_W32_ReadFile(ftHandle, lpBuffer, nBufferSize, lpBytesReturned, lpOverlapped) | |
FT_W32_ReadFile.argtypes = [FT_HANDLE, LPVOID, DWORD, LPDWORD, LPOVERLAPPED] | |
FT_W32_ReadFile.__doc__ = \ | |
"""BOOL FT_W32_ReadFile(FT_HANDLE ftHandle, LPVOID lpBuffer, DWORD nBufferSize, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped) | |
ftd2xx.h:1107""" | |
FT_W32_WriteFile = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_WriteFile | |
FT_W32_WriteFile.restype = BOOL | |
# FT_W32_WriteFile(ftHandle, lpBuffer, nBufferSize, lpBytesWritten, lpOverlapped) | |
FT_W32_WriteFile.argtypes = [FT_HANDLE, LPVOID, DWORD, LPDWORD, LPOVERLAPPED] | |
FT_W32_WriteFile.__doc__ = \ | |
"""BOOL FT_W32_WriteFile(FT_HANDLE ftHandle, LPVOID lpBuffer, DWORD nBufferSize, LPDWORD lpBytesWritten, LPOVERLAPPED lpOverlapped) | |
ftd2xx.h:1116""" | |
FT_W32_GetLastError = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_GetLastError | |
FT_W32_GetLastError.restype = DWORD | |
# FT_W32_GetLastError(ftHandle) | |
FT_W32_GetLastError.argtypes = [FT_HANDLE] | |
FT_W32_GetLastError.__doc__ = \ | |
"""DWORD FT_W32_GetLastError(FT_HANDLE ftHandle) | |
ftd2xx.h:1125""" | |
FT_W32_GetOverlappedResult = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_GetOverlappedResult | |
FT_W32_GetOverlappedResult.restype = BOOL | |
# FT_W32_GetOverlappedResult(ftHandle, lpOverlapped, lpdwBytesTransferred, bWait) | |
FT_W32_GetOverlappedResult.argtypes = [FT_HANDLE, LPOVERLAPPED, LPDWORD, BOOL] | |
FT_W32_GetOverlappedResult.__doc__ = \ | |
"""BOOL FT_W32_GetOverlappedResult(FT_HANDLE ftHandle, LPOVERLAPPED lpOverlapped, LPDWORD lpdwBytesTransferred, BOOL bWait) | |
ftd2xx.h:1130""" | |
FT_W32_CancelIo = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_CancelIo | |
FT_W32_CancelIo.restype = BOOL | |
# FT_W32_CancelIo(ftHandle) | |
FT_W32_CancelIo.argtypes = [FT_HANDLE] | |
FT_W32_CancelIo.__doc__ = \ | |
"""BOOL FT_W32_CancelIo(FT_HANDLE ftHandle) | |
ftd2xx.h:1138""" | |
class struct__FTCOMSTAT(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('fCtsHold', ctypes.c_uint32, 1), | |
('fDsrHold', ctypes.c_uint32, 1), | |
('fRlsdHold', ctypes.c_uint32, 1), | |
('fXoffHold', ctypes.c_uint32, 1), | |
('fXoffSent', ctypes.c_uint32, 1), | |
('fEof', ctypes.c_uint32, 1), | |
('fTxim', ctypes.c_uint32, 1), | |
('fReserved', ctypes.c_uint32, 25), | |
('cbInQue', ctypes.c_uint32), | |
('cbOutQue', ctypes.c_uint32), | |
] | |
FTCOMSTAT = struct__FTCOMSTAT | |
LPFTCOMSTAT = POINTER_T(struct__FTCOMSTAT) | |
class struct__FTDCB(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('DCBlength', ctypes.c_uint32), | |
('BaudRate', ctypes.c_uint32), | |
('fBinary', ctypes.c_uint32, 1), | |
('fParity', ctypes.c_uint32, 1), | |
('fOutxCtsFlow', ctypes.c_uint32, 1), | |
('fOutxDsrFlow', ctypes.c_uint32, 1), | |
('fDtrControl', ctypes.c_uint32, 2), | |
('fDsrSensitivity', ctypes.c_uint32, 1), | |
('fTXContinueOnXoff', ctypes.c_uint32, 1), | |
('fOutX', ctypes.c_uint32, 1), | |
('fInX', ctypes.c_uint32, 1), | |
('fErrorChar', ctypes.c_uint32, 1), | |
('fNull', ctypes.c_uint32, 1), | |
('fRtsControl', ctypes.c_uint32, 2), | |
('fAbortOnError', ctypes.c_uint32, 1), | |
('fDummy2', ctypes.c_uint32, 17), | |
('wReserved', ctypes.c_uint16), | |
('XonLim', ctypes.c_uint16), | |
('XoffLim', ctypes.c_uint16), | |
('ByteSize', ctypes.c_ubyte), | |
('Parity', ctypes.c_ubyte), | |
('StopBits', ctypes.c_ubyte), | |
('XonChar', ctypes.c_char), | |
('XoffChar', ctypes.c_char), | |
('ErrorChar', ctypes.c_char), | |
('EofChar', ctypes.c_char), | |
('EvtChar', ctypes.c_char), | |
('wReserved1', ctypes.c_uint16), | |
] | |
FTDCB = struct__FTDCB | |
LPFTDCB = POINTER_T(struct__FTDCB) | |
class struct__FTTIMEOUTS(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('ReadIntervalTimeout', ctypes.c_uint32), | |
('ReadTotalTimeoutMultiplier', ctypes.c_uint32), | |
('ReadTotalTimeoutConstant', ctypes.c_uint32), | |
('WriteTotalTimeoutMultiplier', ctypes.c_uint32), | |
('WriteTotalTimeoutConstant', ctypes.c_uint32), | |
] | |
FTTIMEOUTS = struct__FTTIMEOUTS | |
LPFTTIMEOUTS = POINTER_T(struct__FTTIMEOUTS) | |
FT_W32_ClearCommBreak = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_ClearCommBreak | |
FT_W32_ClearCommBreak.restype = BOOL | |
# FT_W32_ClearCommBreak(ftHandle) | |
FT_W32_ClearCommBreak.argtypes = [FT_HANDLE] | |
FT_W32_ClearCommBreak.__doc__ = \ | |
"""BOOL FT_W32_ClearCommBreak(FT_HANDLE ftHandle) | |
ftd2xx.h:1200""" | |
FT_W32_ClearCommError = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_ClearCommError | |
FT_W32_ClearCommError.restype = BOOL | |
# FT_W32_ClearCommError(ftHandle, lpdwErrors, lpftComstat) | |
FT_W32_ClearCommError.argtypes = [FT_HANDLE, LPDWORD, LPFTCOMSTAT] | |
FT_W32_ClearCommError.__doc__ = \ | |
"""BOOL FT_W32_ClearCommError(FT_HANDLE ftHandle, LPDWORD lpdwErrors, LPFTCOMSTAT lpftComstat) | |
ftd2xx.h:1205""" | |
FT_W32_EscapeCommFunction = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_EscapeCommFunction | |
FT_W32_EscapeCommFunction.restype = BOOL | |
# FT_W32_EscapeCommFunction(ftHandle, dwFunc) | |
FT_W32_EscapeCommFunction.argtypes = [FT_HANDLE, DWORD] | |
FT_W32_EscapeCommFunction.__doc__ = \ | |
"""BOOL FT_W32_EscapeCommFunction(FT_HANDLE ftHandle, DWORD dwFunc) | |
ftd2xx.h:1212""" | |
FT_W32_GetCommModemStatus = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_GetCommModemStatus | |
FT_W32_GetCommModemStatus.restype = BOOL | |
# FT_W32_GetCommModemStatus(ftHandle, lpdwModemStatus) | |
FT_W32_GetCommModemStatus.argtypes = [FT_HANDLE, LPDWORD] | |
FT_W32_GetCommModemStatus.__doc__ = \ | |
"""BOOL FT_W32_GetCommModemStatus(FT_HANDLE ftHandle, LPDWORD lpdwModemStatus) | |
ftd2xx.h:1218""" | |
FT_W32_GetCommState = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_GetCommState | |
FT_W32_GetCommState.restype = BOOL | |
# FT_W32_GetCommState(ftHandle, lpftDcb) | |
FT_W32_GetCommState.argtypes = [FT_HANDLE, LPFTDCB] | |
FT_W32_GetCommState.__doc__ = \ | |
"""BOOL FT_W32_GetCommState(FT_HANDLE ftHandle, LPFTDCB lpftDcb) | |
ftd2xx.h:1224""" | |
FT_W32_GetCommTimeouts = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_GetCommTimeouts | |
FT_W32_GetCommTimeouts.restype = BOOL | |
# FT_W32_GetCommTimeouts(ftHandle, pTimeouts) | |
FT_W32_GetCommTimeouts.argtypes = [FT_HANDLE, POINTER_T(struct__FTTIMEOUTS)] | |
FT_W32_GetCommTimeouts.__doc__ = \ | |
"""BOOL FT_W32_GetCommTimeouts(FT_HANDLE ftHandle, LP_struct__FTTIMEOUTS pTimeouts) | |
ftd2xx.h:1230""" | |
FT_W32_PurgeComm = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_PurgeComm | |
FT_W32_PurgeComm.restype = BOOL | |
# FT_W32_PurgeComm(ftHandle, dwMask) | |
FT_W32_PurgeComm.argtypes = [FT_HANDLE, DWORD] | |
FT_W32_PurgeComm.__doc__ = \ | |
"""BOOL FT_W32_PurgeComm(FT_HANDLE ftHandle, DWORD dwMask) | |
ftd2xx.h:1236""" | |
FT_W32_SetCommBreak = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_SetCommBreak | |
FT_W32_SetCommBreak.restype = BOOL | |
# FT_W32_SetCommBreak(ftHandle) | |
FT_W32_SetCommBreak.argtypes = [FT_HANDLE] | |
FT_W32_SetCommBreak.__doc__ = \ | |
"""BOOL FT_W32_SetCommBreak(FT_HANDLE ftHandle) | |
ftd2xx.h:1242""" | |
FT_W32_SetCommMask = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_SetCommMask | |
FT_W32_SetCommMask.restype = BOOL | |
# FT_W32_SetCommMask(ftHandle, ulEventMask) | |
FT_W32_SetCommMask.argtypes = [FT_HANDLE, ULONG] | |
FT_W32_SetCommMask.__doc__ = \ | |
"""BOOL FT_W32_SetCommMask(FT_HANDLE ftHandle, ULONG ulEventMask) | |
ftd2xx.h:1247""" | |
FT_W32_SetCommState = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_SetCommState | |
FT_W32_SetCommState.restype = BOOL | |
# FT_W32_SetCommState(ftHandle, lpftDcb) | |
FT_W32_SetCommState.argtypes = [FT_HANDLE, LPFTDCB] | |
FT_W32_SetCommState.__doc__ = \ | |
"""BOOL FT_W32_SetCommState(FT_HANDLE ftHandle, LPFTDCB lpftDcb) | |
ftd2xx.h:1259""" | |
FT_W32_SetCommTimeouts = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_SetCommTimeouts | |
FT_W32_SetCommTimeouts.restype = BOOL | |
# FT_W32_SetCommTimeouts(ftHandle, pTimeouts) | |
FT_W32_SetCommTimeouts.argtypes = [FT_HANDLE, POINTER_T(struct__FTTIMEOUTS)] | |
FT_W32_SetCommTimeouts.__doc__ = \ | |
"""BOOL FT_W32_SetCommTimeouts(FT_HANDLE ftHandle, LP_struct__FTTIMEOUTS pTimeouts) | |
ftd2xx.h:1265""" | |
FT_W32_SetupComm = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_SetupComm | |
FT_W32_SetupComm.restype = BOOL | |
# FT_W32_SetupComm(ftHandle, dwReadBufferSize, dwWriteBufferSize) | |
FT_W32_SetupComm.argtypes = [FT_HANDLE, DWORD, DWORD] | |
FT_W32_SetupComm.__doc__ = \ | |
"""BOOL FT_W32_SetupComm(FT_HANDLE ftHandle, DWORD dwReadBufferSize, DWORD dwWriteBufferSize) | |
ftd2xx.h:1271""" | |
FT_W32_WaitCommEvent = _libraries['build/libftd2xx.so.1.4.8'].FT_W32_WaitCommEvent | |
FT_W32_WaitCommEvent.restype = BOOL | |
# FT_W32_WaitCommEvent(ftHandle, pulEvent, lpOverlapped) | |
FT_W32_WaitCommEvent.argtypes = [FT_HANDLE, PULONG, LPOVERLAPPED] | |
FT_W32_WaitCommEvent.__doc__ = \ | |
"""BOOL FT_W32_WaitCommEvent(FT_HANDLE ftHandle, PULONG pulEvent, LPOVERLAPPED lpOverlapped) | |
ftd2xx.h:1278""" | |
class struct__ft_device_list_info_node(ctypes.Structure): | |
_pack_ = True # source:False | |
_fields_ = [ | |
('Flags', ctypes.c_uint32), | |
('Type', ctypes.c_uint32), | |
('ID', ctypes.c_uint32), | |
('LocId', ctypes.c_uint32), | |
('SerialNumber', ctypes.c_char * 16), | |
('Description', ctypes.c_char * 64), | |
('ftHandle', POINTER_T(None)), | |
] | |
FT_DEVICE_LIST_INFO_NODE = struct__ft_device_list_info_node | |
# values for enumeration 'c__Ea_FT_FLAGS_OPENED' | |
FT_FLAGS_OPENED = 1 | |
FT_FLAGS_HISPEED = 2 | |
c__Ea_FT_FLAGS_OPENED = ctypes.c_int # enum | |
FT_CreateDeviceInfoList = _libraries['build/libftd2xx.so.1.4.8'].FT_CreateDeviceInfoList | |
FT_CreateDeviceInfoList.restype = FT_STATUS | |
# FT_CreateDeviceInfoList(lpdwNumDevs) | |
FT_CreateDeviceInfoList.argtypes = [LPDWORD] | |
FT_CreateDeviceInfoList.__doc__ = \ | |
"""FT_STATUS FT_CreateDeviceInfoList(LPDWORD lpdwNumDevs) | |
ftd2xx.h:1307""" | |
FT_GetDeviceInfoList = _libraries['build/libftd2xx.so.1.4.8'].FT_GetDeviceInfoList | |
FT_GetDeviceInfoList.restype = FT_STATUS | |
# FT_GetDeviceInfoList(pDest, lpdwNumDevs) | |
FT_GetDeviceInfoList.argtypes = [POINTER_T(struct__ft_device_list_info_node), LPDWORD] | |
FT_GetDeviceInfoList.__doc__ = \ | |
"""FT_STATUS FT_GetDeviceInfoList(LP_struct__ft_device_list_info_node pDest, LPDWORD lpdwNumDevs) | |
ftd2xx.h:1312""" | |
FT_GetDeviceInfoDetail = _libraries['build/libftd2xx.so.1.4.8'].FT_GetDeviceInfoDetail | |
FT_GetDeviceInfoDetail.restype = FT_STATUS | |
# FT_GetDeviceInfoDetail(dwIndex, lpdwFlags, lpdwType, lpdwID, lpdwLocId, lpSerialNumber, lpDescription, pftHandle) | |
FT_GetDeviceInfoDetail.argtypes = [DWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPVOID, LPVOID, POINTER_T(POINTER_T(None))] | |
FT_GetDeviceInfoDetail.__doc__ = \ | |
"""FT_STATUS FT_GetDeviceInfoDetail(DWORD dwIndex, LPDWORD lpdwFlags, LPDWORD lpdwType, LPDWORD lpdwID, LPDWORD lpdwLocId, LPVOID lpSerialNumber, LPVOID lpDescription, LP_LP_None pftHandle) | |
ftd2xx.h:1318""" | |
FT_GetDriverVersion = _libraries['build/libftd2xx.so.1.4.8'].FT_GetDriverVersion | |
FT_GetDriverVersion.restype = FT_STATUS | |
# FT_GetDriverVersion(ftHandle, lpdwVersion) | |
FT_GetDriverVersion.argtypes = [FT_HANDLE, LPDWORD] | |
FT_GetDriverVersion.__doc__ = \ | |
"""FT_STATUS FT_GetDriverVersion(FT_HANDLE ftHandle, LPDWORD lpdwVersion) | |
ftd2xx.h:1335""" | |
FT_GetLibraryVersion = _libraries['build/libftd2xx.so.1.4.8'].FT_GetLibraryVersion | |
FT_GetLibraryVersion.restype = FT_STATUS | |
# FT_GetLibraryVersion(lpdwVersion) | |
FT_GetLibraryVersion.argtypes = [LPDWORD] | |
FT_GetLibraryVersion.__doc__ = \ | |
"""FT_STATUS FT_GetLibraryVersion(LPDWORD lpdwVersion) | |
ftd2xx.h:1341""" | |
FT_Rescan = _libraries['build/libftd2xx.so.1.4.8'].FT_Rescan | |
FT_Rescan.restype = FT_STATUS | |
# FT_Rescan() | |
FT_Rescan.argtypes = [] | |
FT_Rescan.__doc__ = \ | |
"""FT_STATUS FT_Rescan() | |
ftd2xx.h:1347""" | |
FT_Reload = _libraries['build/libftd2xx.so.1.4.8'].FT_Reload | |
FT_Reload.restype = FT_STATUS | |
# FT_Reload(wVid, wPid) | |
FT_Reload.argtypes = [WORD, WORD] | |
FT_Reload.__doc__ = \ | |
"""FT_STATUS FT_Reload(WORD wVid, WORD wPid) | |
ftd2xx.h:1352""" | |
FT_GetComPortNumber = _libraries['build/libftd2xx.so.1.4.8'].FT_GetComPortNumber | |
FT_GetComPortNumber.restype = FT_STATUS | |
# FT_GetComPortNumber(ftHandle, lpdwComPortNumber) | |
FT_GetComPortNumber.argtypes = [FT_HANDLE, LPLONG] | |
FT_GetComPortNumber.__doc__ = \ | |
"""FT_STATUS FT_GetComPortNumber(FT_HANDLE ftHandle, LPLONG lpdwComPortNumber) | |
ftd2xx.h:1358""" | |
FT_EE_ReadConfig = _libraries['build/libftd2xx.so.1.4.8'].FT_EE_ReadConfig | |
FT_EE_ReadConfig.restype = FT_STATUS | |
# FT_EE_ReadConfig(ftHandle, ucAddress, pucValue) | |
FT_EE_ReadConfig.argtypes = [FT_HANDLE, UCHAR, PUCHAR] | |
FT_EE_ReadConfig.__doc__ = \ | |
"""FT_STATUS FT_EE_ReadConfig(FT_HANDLE ftHandle, UCHAR ucAddress, PUCHAR pucValue) | |
ftd2xx.h:1369""" | |
FT_EE_WriteConfig = _libraries['build/libftd2xx.so.1.4.8'].FT_EE_WriteConfig | |
FT_EE_WriteConfig.restype = FT_STATUS | |
# FT_EE_WriteConfig(ftHandle, ucAddress, ucValue) | |
FT_EE_WriteConfig.argtypes = [FT_HANDLE, UCHAR, UCHAR] | |
FT_EE_WriteConfig.__doc__ = \ | |
"""FT_STATUS FT_EE_WriteConfig(FT_HANDLE ftHandle, UCHAR ucAddress, UCHAR ucValue) | |
ftd2xx.h:1376""" | |
FT_EE_ReadECC = _libraries['build/libftd2xx.so.1.4.8'].FT_EE_ReadECC | |
FT_EE_ReadECC.restype = FT_STATUS | |
# FT_EE_ReadECC(ftHandle, ucOption, lpwValue) | |
FT_EE_ReadECC.argtypes = [FT_HANDLE, UCHAR, LPWORD] | |
FT_EE_ReadECC.__doc__ = \ | |
"""FT_STATUS FT_EE_ReadECC(FT_HANDLE ftHandle, UCHAR ucOption, LPWORD lpwValue) | |
ftd2xx.h:1383""" | |
FT_GetQueueStatusEx = _libraries['build/libftd2xx.so.1.4.8'].FT_GetQueueStatusEx | |
FT_GetQueueStatusEx.restype = FT_STATUS | |
# FT_GetQueueStatusEx(ftHandle, dwRxBytes) | |
FT_GetQueueStatusEx.argtypes = [FT_HANDLE, POINTER_T(ctypes.c_uint32)] | |
FT_GetQueueStatusEx.__doc__ = \ | |
"""FT_STATUS FT_GetQueueStatusEx(FT_HANDLE ftHandle, LP_c_uint32 dwRxBytes) | |
ftd2xx.h:1390""" | |
FT_ComPortIdle = _libraries['build/libftd2xx.so.1.4.8'].FT_ComPortIdle | |
FT_ComPortIdle.restype = FT_STATUS | |
# FT_ComPortIdle(ftHandle) | |
FT_ComPortIdle.argtypes = [FT_HANDLE] | |
FT_ComPortIdle.__doc__ = \ | |
"""FT_STATUS FT_ComPortIdle(FT_HANDLE ftHandle) | |
ftd2xx.h:1396""" | |
FT_ComPortCancelIdle = _libraries['build/libftd2xx.so.1.4.8'].FT_ComPortCancelIdle | |
FT_ComPortCancelIdle.restype = FT_STATUS | |
# FT_ComPortCancelIdle(ftHandle) | |
FT_ComPortCancelIdle.argtypes = [FT_HANDLE] | |
FT_ComPortCancelIdle.__doc__ = \ | |
"""FT_STATUS FT_ComPortCancelIdle(FT_HANDLE ftHandle) | |
ftd2xx.h:1401""" | |
FT_VendorCmdGet = _libraries['build/libftd2xx.so.1.4.8'].FT_VendorCmdGet | |
FT_VendorCmdGet.restype = FT_STATUS | |
# FT_VendorCmdGet(ftHandle, Request, Buf, Len) | |
FT_VendorCmdGet.argtypes = [FT_HANDLE, UCHAR, POINTER_T(ctypes.c_ubyte), USHORT] | |
FT_VendorCmdGet.__doc__ = \ | |
"""FT_STATUS FT_VendorCmdGet(FT_HANDLE ftHandle, UCHAR Request, LP_c_ubyte Buf, USHORT Len) | |
ftd2xx.h:1406""" | |
FT_VendorCmdSet = _libraries['build/libftd2xx.so.1.4.8'].FT_VendorCmdSet | |
FT_VendorCmdSet.restype = FT_STATUS | |
# FT_VendorCmdSet(ftHandle, Request, Buf, Len) | |
FT_VendorCmdSet.argtypes = [FT_HANDLE, UCHAR, POINTER_T(ctypes.c_ubyte), USHORT] | |
FT_VendorCmdSet.__doc__ = \ | |
"""FT_STATUS FT_VendorCmdSet(FT_HANDLE ftHandle, UCHAR Request, LP_c_ubyte Buf, USHORT Len) | |
ftd2xx.h:1414""" | |
FT_VendorCmdGetEx = _libraries['build/libftd2xx.so.1.4.8'].FT_VendorCmdGetEx | |
FT_VendorCmdGetEx.restype = FT_STATUS | |
# FT_VendorCmdGetEx(ftHandle, wValue, Buf, Len) | |
FT_VendorCmdGetEx.argtypes = [FT_HANDLE, USHORT, POINTER_T(ctypes.c_ubyte), USHORT] | |
FT_VendorCmdGetEx.__doc__ = \ | |
"""FT_STATUS FT_VendorCmdGetEx(FT_HANDLE ftHandle, USHORT wValue, LP_c_ubyte Buf, USHORT Len) | |
ftd2xx.h:1422""" | |
FT_VendorCmdSetEx = _libraries['build/libftd2xx.so.1.4.8'].FT_VendorCmdSetEx | |
FT_VendorCmdSetEx.restype = FT_STATUS | |
# FT_VendorCmdSetEx(ftHandle, wValue, Buf, Len) | |
FT_VendorCmdSetEx.argtypes = [FT_HANDLE, USHORT, POINTER_T(ctypes.c_ubyte), USHORT] | |
FT_VendorCmdSetEx.__doc__ = \ | |
"""FT_STATUS FT_VendorCmdSetEx(FT_HANDLE ftHandle, USHORT wValue, LP_c_ubyte Buf, USHORT Len) | |
ftd2xx.h:1430""" | |
__all__ = \ | |
['clock_nanosleep', 'FT_ResetPort', '__blkcnt64_t', | |
'FT_GetComPortNumber', 'FT_SetBaudRate', 'asctime_r', | |
'FT_DEVICE_NOT_OPENED_FOR_ERASE', 'PFT_EEPROM_232H', '__u_char', | |
'pthread_barrier_t', 'PTHREAD_RWLOCK_PREFER_WRITER_NP', | |
'LPSECURITY_ATTRIBUTES', 'timer_t', 'FT_EEPROM_READ_FAILED', | |
'pthread_equal', 'struct_c__SA_cpu_set_t', '__rlim_t', | |
'FT_DEVICE_2232C', '__pthread_list_t', 'pthread_spin_unlock', | |
'pthread_attr_getscope', '__off64_t', 'FT_EEPROM_HEADER', | |
'__blkcnt_t', 'pthread_mutexattr_gettype', | |
'struct_ft_eeprom_2232h', 'pthread_once_t', 'CHAR', | |
'struct_ft_eeprom_header', 'FILETIME', 'FT_GetDeviceInfo', | |
'pthread_condattr_destroy', 'c__Ea_PTHREAD_INHERIT_SCHED', | |
'LPVOID', 'pthread_detach', 'PTHREAD_MUTEX_STALLED_NP', | |
'FT_GetQueueStatusEx', 'PTHREAD_MUTEX_RECURSIVE_NP', '__int64_t', | |
'union_c__UA_pthread_rwlock_t', 'sched_yield', | |
'struct__ft_device_list_info_node', 'PTHREAD_INHERIT_SCHED', | |
'c__Ea_FT_DEVICE_BM', 'timezone', 'asctime', 'FT_DEVICE_4222H_0', | |
'difftime', '__daddr_t', 'FT_W32_GetCommTimeouts', | |
'PTHREAD_PRIO_PROTECT', 'FT_SetDataCharacteristics', | |
'FT_SetChars', 'FT_WaitOnMask', 'pthread_rwlock_t', | |
'PTHREAD_SCOPE_PROCESS', 'PTHREAD_MUTEX_RECURSIVE', | |
'struct_c__SA___pthread_unwind_buf_t', | |
'pthread_attr_getstackaddr', 'FT_EE_Read', 'FT_W32_CreateFile', | |
'__off_t', 'FT_SetDeadmanTimeout', 'FT_GetQueueStatus', | |
'FT_EE_ReadECC', 'pthread_mutexattr_setprotocol', | |
'FT_SetFlowControl', 'PTHREAD_CANCEL_ASYNCHRONOUS', | |
'pthread_cond_destroy', 'pthread_rwlockattr_setkind_np', | |
'__uid_t', 'pthread_attr_getguardsize', 'pthread_mutexattr_init', | |
'FT_SetEventNotification', 'PULONG', | |
'pthread_attr_getinheritsched', 'pthread_cond_broadcast', | |
'clock_settime', 'pthread_mutex_consistent', 'FT_GetDeviceLocId', | |
'union_c__UA_pthread_rwlockattr_t', 'FT_EE_ReadConfig', | |
'__quad_t', 'pthread_setcancelstate', 'clock_gettime', 'pid_t', | |
'__socklen_t', 'FT_EE_Program', 'struct__FTDCB', '__timer_t', | |
'pthread_barrierattr_setpshared', 'pthread_rwlock_trywrlock', | |
'struct___pthread_cond_s', 'pthread_attr_setschedparam', | |
'timer_create', 'pthread_attr_getschedparam', | |
'PTHREAD_CREATE_DETACHED', 'FT_IoCtl', '__pid_t', 'localtime_r', | |
'tzname', 'FT_DEVICE_2232H', 'DWORD', 'FT_ReadEE', | |
'FT_W32_GetLastError', 'SECURITY_ATTRIBUTES', 'LPTSTR', | |
'pthread_mutex_trylock', 'pthread_rwlock_destroy', | |
'c__Ea_PTHREAD_PROCESS_PRIVATE', '__uintmax_t', | |
'PTHREAD_MUTEX_TIMED_NP', 'pthread_mutexattr_settype', | |
'timer_getoverrun', 'FTDCB', 'FT_ListDevices', | |
'struct_ft_eeprom_232b', 'clock_getres', '__fsfilcnt_t', | |
'c__Ea_PTHREAD_CREATE_JOINABLE', 'FT_GetEventStatus', | |
'pthread_attr_t', 'PTHREAD_RWLOCK_DEFAULT_NP', 'LPLONG', | |
'pthread_mutexattr_getrobust', 'FT_DEVICE_NOT_OPENED', | |
'pthread_rwlock_tryrdlock', 'pthread_barrierattr_init', | |
'union___pthread_cond_s_0', 'FT_GetDeviceInfoList', | |
'FT_SetLatencyTimer', 'struct_ft_eeprom_232r', 'FT_GetStatus', | |
'pthread_attr_setguardsize', 'pthread_attr_setstackaddr', | |
'gmtime', 'FT_ResetDevice', 'FT_W32_CloseHandle', '__int16_t', | |
'pthread_mutexattr_destroy', 'struct___locale_data', | |
'FT_CreateDeviceInfoList', 'ctime', 'SYSTEMTIME', | |
'pthread_attr_setstacksize', 'FT_EE_ReadEx', | |
'pthread_mutex_timedlock', '__dev_t', '__pthread_unwind_buf_t', | |
'pthread_mutex_init', 'LPWORD', 'LPSTR', '__sigsetjmp', | |
'FT_Rescan', 'FT_Read', 'struct__SECURITY_ATTRIBUTES', | |
'__uint8_t', 'PTHREAD_PRIO_NONE', 'FT_EE_ProgramEx', | |
'struct___pthread_cond_s_1_0', 'timelocal', 'struct_tm', | |
'FT_DEVICE_UNKNOWN', '__gid_t', 'FTCOMSTAT', 'LPOVERLAPPED', | |
'union_c__UA_pthread_cond_t', 'FT_CyclePort', '__key_t', | |
'struct___locale_struct', '__mode_t', 'LPDWORD', | |
'PTHREAD_EXPLICIT_SCHED', 'PUSHORT', '__useconds_t', | |
'__pthread_unregister_cancel', 'timegm', | |
'union_c__UA_pthread_condattr_t', 'localtime', | |
'pthread_setschedprio', 'FT_DEVICE_NOT_OPENED_FOR_WRITE', | |
'struct___pthread_internal_list', 'FT_EE_WriteConfig', | |
'__nlink_t', 'pthread_setcanceltype', 'SHORT', '__intptr_t', | |
'FT_Open', 'ULONG', 'FT_ClrRts', 'pthread_attr_setstack', | |
'FT_GetDeviceInfoDetail', 'pthread_attr_setinheritsched', | |
'FT_WriteEE', 'LPBOOL', 'sched_setscheduler', | |
'PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP', '__fsblkcnt_t', | |
'clock_getcpuclockid', 'FT_EEPROM_2232', '__uint64_t', | |
'struct___pthread_mutex_s', 'pthread_rwlockattr_destroy', 'WCHAR', | |
'PTHREAD_MUTEX_ERRORCHECK_NP', '__pthread_register_cancel', | |
'LPBYTE', 'FT_SetVIDPID', 'struct_itimerspec', 'clockid_t', | |
'c__Ea_PTHREAD_MUTEX_STALLED', 'FT_DEVICE_LIST_INFO_NODE', | |
'FT_SetUSBParameters', 'FT_VendorCmdSet', '__time_t', | |
'FT_W32_WriteFile', 'PTHREAD_CREATE_JOINABLE', | |
'__syscall_slong_t', 'union_c__UA_pthread_barrier_t', | |
'FT_EEPROM_WRITE_FAILED', 'pthread_setschedparam', | |
'FT_PROGRAM_DATA', '__pthread_unwind_next', | |
'pthread_attr_setscope', 'c__Ea_PTHREAD_CANCEL_ENABLE', | |
'ULONGLONG', 'pthread_condattr_setpshared', 'INT', | |
'FT_GetModemStatus', 'PTHREAD_MUTEX_NORMAL', 'pthread_spin_lock', | |
'pthread_barrierattr_getpshared', 'USHORT', | |
'pthread_rwlockattr_setpshared', '__suseconds_t', | |
'FT_INVALID_HANDLE', 'struct__FTTIMEOUTS', 'FT_SetBitMode', | |
'pthread_attr_getschedpolicy', 'FT_DEVICE_232H', 'ctime_r', | |
'FT_W32_SetCommTimeouts', 'timer_delete', '__u_short', | |
'pthread_mutex_lock', 'union_c__UA_pthread_barrierattr_t', | |
'FT_W32_ClearCommBreak', 'union__OVERLAPPED_0', 'cpu_set_t', | |
'__fsword_t', 'pthread_attr_init', 'FT_W32_PurgeComm', | |
'struct_timeval', 'sched_setparam', 'LPCSTR', '__intmax_t', | |
'pthread_cond_signal', 'pthread_self', 'c__Ea_PTHREAD_PRIO_NONE', | |
'c__Ea_FT_OK', 'tzset', 'FT_EE_UASize', 'UCHAR', 'daylight', | |
'pthread_rwlockattr_getpshared', '__daylight', | |
'PTHREAD_MUTEX_ADAPTIVE_NP', 'timespec_get', | |
'PTHREAD_CANCEL_DEFERRED', 'pthread_setspecific', | |
'struct_c__SA___pthread_unwind_buf_t_0', | |
'c__Ea_PTHREAD_RWLOCK_PREFER_READER_NP', | |
'PTHREAD_MUTEX_ERRORCHECK', 'pthread_mutex_getprioceiling', | |
'__blksize_t', 'FT_ClrDtr', 'FT_DEVICE_4222H_3', 'EVENT_HANDLE', | |
'pthread_rwlock_unlock', '__sched_cpualloc', 'FT_EEPROM_232R', | |
'PTHREAD_MUTEX_ROBUST_NP', 'pthread_barrierattr_t', 'stime', | |
'pthread_cond_init', 'FT_DEVICE_NOT_FOUND', | |
'union_c__UA_pthread_mutexattr_t', 'pthread_spinlock_t', | |
'FT_SetBreakOff', 'union___pthread_cond_s_1', 'FT_EEPROM_2232H', | |
'__syscall_ulong_t', 'PCHAR', 'pthread_attr_getdetachstate', | |
'pthread_attr_destroy', 'timer_settime', 'FT_W32_SetCommMask', | |
'pthread_spin_trylock', 'PFT_EEPROM_4232H', 'pthread_spin_init', | |
'FTTIMEOUTS', 'struct___pthread_rwlock_arch_t', 'FT_Reload', | |
'strftime', '__sched_cpufree', 'pthread_condattr_getclock', | |
'PTHREAD_CANCEL_ENABLE', 'FT_GetDriverVersion', | |
'union_pthread_attr_t', 'FT_EEPROM_NOT_PRESENT', | |
'pthread_cond_timedwait', 'struct__EVENT_HANDLE', | |
'struct_ft_eeprom_4232h', 'PTHREAD_PROCESS_PRIVATE', 'clock', | |
'LPFTDCB', 'pthread_barrier_wait', '__clockid_t', | |
'PTHREAD_PRIO_INHERIT', 'pthread_condattr_init', | |
'c__Ea_FT_FLAGS_OPENED', '__clock_t', 'FT_EEPROM_232B', | |
'pthread_rwlock_timedrdlock', 'BOOLEAN', 'PFT_EEPROM_2232', | |
'pthread_getschedparam', 'BYTE', 'pthread_rwlockattr_t', | |
'FT_DEVICE_X_SERIES', 'FT_SetTimeouts', 'FT_W32_SetCommBreak', | |
'pthread_rwlock_init', 'pthread_condattr_setclock', | |
'pthread_condattr_getpshared', 'struct_timespec', '__ssize_t', | |
'pthread_mutexattr_getpshared', 'FT_NOT_SUPPORTED', | |
'FT_RestartInTask', 'pthread_key_create', 'FT_W32_GetCommState', | |
'__jmp_buf', '__fsblkcnt64_t', 'FT_ComPortIdle', | |
'FT_DEVICE_100AX', 'FT_DEVICE_LIST_NOT_READY', 'mktime', | |
'FT_INSUFFICIENT_RESOURCES', 'FT_VendorCmdGetEx', | |
'pthread_rwlockattr_init', 'struct_ft_program_data', | |
'pthread_mutexattr_setpshared', 'pthread_cond_t', | |
'pthread_mutexattr_getprioceiling', | |
'struct__pthread_cleanup_buffer', '__rlim64_t', 'dysize', | |
'pthread_rwlockattr_getkind_np', 'LPCTSTR', | |
'PTHREAD_CANCEL_DISABLE', 'struct___pthread_cleanup_frame', | |
'FT_INVALID_ARGS', 'FT_EEPROM_ERASE_FAILED', 'FT_Write', | |
'FT_SetDivisor', 'FT_Close', 'LPFTCOMSTAT', '__fsid_t', | |
'__locale_t', 'PFT_EEPROM_X_SERIES', 'FT_FLAGS_HISPEED', | |
'pthread_join', 'struct__OVERLAPPED', '__ino_t', | |
'FT_W32_ClearCommError', 'pthread_attr_setschedpolicy', | |
'pthread_barrier_destroy', 'FT_EEPROM_Program', 'WORD', | |
'FT_SetResetPipeRetryCount', 'OVERLAPPED', '__caddr_t', | |
'__sched_cpucount', 'pthread_barrierattr_destroy', | |
'FT_DEVICE_4222H_1_2', 'FT_SetRts', 'FT_DEVICE_BM', | |
'FT_OTHER_ERROR', 'FT_FLAGS_OPENED', '__timezone', | |
'FT_EEPROM_NOT_PROGRAMMED', 'FT_W32_SetCommState', '__int8_t', | |
'FT_EEPROM_232H', 'FT_DEVICE_232R', 'PTHREAD_MUTEX_DEFAULT', | |
'FT_SetDtr', 'pthread_rwlock_wrlock', 'PFT_EEPROM_232B', | |
'PTHREAD_MUTEX_ROBUST', 'FT_StopInTask', '__u_quad_t', | |
'timer_gettime', '__uint16_t', 'sched_get_priority_max', | |
'FT_VendorCmdSetEx', 'pthread_key_delete', 'FT_EEPROM_4232H', | |
'UINT', 'FT_EEPROM_X_SERIES', 'FT_EE_UARead', | |
'pthread_spin_destroy', '__id_t', 'FT_ComPortCancelIdle', | |
'FT_EEPROM_Read', 'pthread_rwlock_rdlock', 'struct___jmp_buf_tag', | |
'FT_DEVICE_4232H', 'FT_EraseEE', | |
'pthread_mutexattr_setprioceiling', | |
'pthread_mutex_setprioceiling', 'BOOL', | |
'FT_W32_GetOverlappedResult', 'PTHREAD_PROCESS_SHARED', | |
'PTHREAD_MUTEX_STALLED', 'pthread_mutexattr_t', 'FT_GetBitMode', | |
'PTHREAD_RWLOCK_PREFER_READER_NP', 'VOID', | |
'pthread_attr_getstacksize', 'HANDLE', | |
'c__Ea_PTHREAD_MUTEX_TIMED_NP', 'strftime_l', 'FT_GetVIDPID', | |
'FT_SetWaitMask', 'FT_Purge', 'PVOID', 'pthread_cond_wait', | |
'sched_getparam', 'sched_getscheduler', | |
'pthread_attr_setdetachstate', 'FT_DEVICE_4222_PROG', | |
'pthread_rwlock_timedwrlock', '__u_int', 'pthread_testcancel', | |
'FT_HANDLE', 'FT_DEVICE_AM', 'struct__FTCOMSTAT', | |
'PFT_EEPROM_2232H', 'LPFTTIMEOUTS', 'struct_c__SA___fsid_t', | |
'time_t', 'FT_W32_SetupComm', 'nanosleep', 'pthread_mutex_t', | |
'FT_W32_ReadFile', 'FT_VendorCmdGet', 'PFT_EEPROM_232R', 'PUCHAR', | |
'__int32_t', 'struct_ft_eeprom_2232', 'pthread_cancel', | |
'locale_t', 'FT_GetLibraryVersion', 'pthread_mutex_destroy', | |
'PFT_PROGRAM_DATA', 'c__Ea_PTHREAD_CANCEL_DEFERRED', 'FT_DEVICE', | |
'FT_INVALID_BAUD_RATE', 'c__Ea_PTHREAD_SCOPE_SYSTEM', | |
'PFT_EEPROM_HEADER', 'FT_W32_GetCommModemStatus', '__cpu_mask', | |
'PFT_EVENT_HANDLER', 'clock_t', 'pthread_create', '__tzname', | |
'pthread_getcpuclockid', '__u_long', 'time', | |
'PTHREAD_SCOPE_SYSTEM', 'FT_SetBreakOn', 'FT_OK', | |
'sched_get_priority_min', 'pthread_exit', '__sig_atomic_t', | |
'FT_EE_UAWrite', 'pthread_mutexattr_getprotocol', | |
'struct___pthread_cond_s_0_0', 'sched_rr_get_interval', | |
'__ino64_t', '__uint32_t', 'struct_ft_eeprom_232h', | |
'FT_INVALID_PARAMETER', 'struct__OVERLAPPED_0_0', | |
'struct_sigevent', 'pthread_getspecific', 'pthread_mutex_unlock', | |
'pthread_once', 'pthread_key_t', 'pthread_barrier_init', | |
'struct_ft_eeprom_x_series', 'gmtime_r', 'pthread_condattr_t', | |
'LONG', 'FT_OpenEx', 'FT_W32_CancelIo', '__loff_t', | |
'pthread_attr_getstack', 'pthread_mutexattr_setrobust', | |
'FT_W32_EscapeCommFunction', 'union_c__UA_pthread_mutex_t', | |
'FT_IO_ERROR', 'FT_STATUS', 'pthread_t', 'struct_sched_param', | |
'FT_W32_WaitCommEvent', 'FT_GetLatencyTimer', '__fsfilcnt64_t', | |
'FT_FAILED_TO_WRITE_DEVICE'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment