Module Expr Str ImportFrom alias Import alias alias TryExcept body Import alias handlers ExceptHandler body If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Index Num Str body Expr Call AttributeLoad NameLoad attr Str Assign NameStore NameLoad orelse Assign NameStore NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Return ListLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str If CompareLt Call AttributeLoad NameLoad attr Str Num body Continue TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Continue Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Pass ExceptHandler type NameLoad body Continue Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore Call NameLoad BinOpSub Num Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd ListLoad Num NameLoad Return decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
 mbed CMSIS-DAP debugger
 Copyright (c) 2006-2013 ARM Limited

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 interface Interface N/A logging os N/A N/A N/A hid N/A N/A N/A N/A N/A N/A N/A os name posix N/A N/A N/A N/A os uname N/A 0 Darwin N/A N/A N/A N/A logging error cython-hidapi is required on a Mac OS X Machine N/A isAvailable False N/A N/A isAvailable True HidApiUSB N/A Interface N/A N/A 
    This class provides basic functions to access
    a USB HID device using cython-hidapi:
        - write/read an endpoint
     N/A vid 0 N/A pid 0 N/A isAvailable isAvailable __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super HidApiUSB self __init__ N/A N/A self device None N/A open N/A N/A self N/A N/A N/A N/A getAllConnectedInterface N/A N/A N/A N/A N/A 
        returns all the connected devices which matches HidApiUSB.vid/HidApiUSB.pid.
        returns an array of HidApiUSB (Interface) objects
         N/A devices N/A N/A hid enumerate N/A N/A devices N/A N/A N/A N/A logging debug No Mbed device connected N/A N/A N/A boards N/A N/A deviceInfo devices N/A N/A product_name N/A deviceInfo N/A product_string N/A N/A N/A N/A product_name find CMSIS-DAP 0 N/A N/A N/A N/A N/A dev N/A N/A hid device vendor_id N/A deviceInfo N/A vendor_id product_id N/A deviceInfo N/A product_id path N/A deviceInfo N/A path N/A N/A N/A IOError N/A N/A N/A N/A logging debug Failed to open Mbed device N/A N/A new_board N/A HidApiUSB N/A N/A new_board vendor_name N/A deviceInfo N/A manufacturer_string N/A N/A new_board product_name N/A deviceInfo N/A product_string N/A N/A new_board serial_number N/A deviceInfo N/A serial_number N/A N/A new_board vid N/A deviceInfo N/A vendor_id N/A N/A new_board pid N/A deviceInfo N/A product_id N/A N/A new_board device_info deviceInfo N/A N/A new_board device dev N/A N/A N/A N/A N/A dev open_path N/A deviceInfo N/A path N/A N/A N/A AttributeError N/A N/A N/A N/A IOError N/A N/A N/A N/A N/A boards append new_board N/A boards N/A staticmethod write N/A N/A self data N/A N/A N/A 
        write data on the OUT endpoint associated to the HID interface
         N/A _ N/A range N/A 64 N/A len data N/A N/A N/A N/A data append 0 N/A N/A N/A N/A self device write N/A N/A 0 data N/A N/A read N/A N/A self timeout N/A -1 N/A N/A 
        read data on the IN endpoint associated to the HID interface
         N/A N/A N/A N/A self device read 64 N/A getSerialNumber N/A N/A self N/A N/A N/A N/A self serial_number N/A close N/A N/A self N/A N/A N/A 
        close the interface
         N/A N/A N/A logging debug closing interface N/A N/A N/A N/A self device close N/A setPacketCount N/A N/A self count N/A N/A N/A N/A self packet_count count N/A N/A