# Path: pyb.py
# class ADC(object):
# class Pin(object):
#     def __init__(self, name):
#     def read(self):
#     def __str__(self):
#     def __init__(self, name):
#     def init(self, mode, pull):
#     def value(self, val=None):
#     def __str__(self):
#     IN = 'in'
#     OUT_PP = 'out_pp'
#     OUT_OD = 'out_od'
#     PULL_NONE = 'pull_none'
#     PULL_UP   = 'pull_up'
#     PULL_DOWN = 'pull_down'


from pyb import USB_VCP
"""This module implements the USB_Port class which allows the pyboard to
implement bioloid devices using the pyboard's USB Serial.

"""


class USB_Port:
    """Implements a port which can be used to receive bioloid device commands
    from a host.
    """

    def __init__(self):

# Path: pyb.py
# class ADC(object):
# class Pin(object):
#     def __init__(self, name):
#     def read(self):
#     def __str__(self):
#     def __init__(self, name):
#     def init(self, mode, pull):
#     def value(self, val=None):
#     def __str__(self):
#     IN = 'in'
#     OUT_PP = 'out_pp'
#     OUT_OD = 'out_od'
#     PULL_NONE = 'pull_none'
#     PULL_UP   = 'pull_up'
#     PULL_DOWN = 'pull_down'


# Path: bioloid/stm_usb_port.py
from pyb import USB_VCP

"""This module implements the USB_Port class which allows the pyboard to
implement bioloid devices using the pyboard's USB Serial.

"""


class USB_Port:
    """Implements a port which can be used to receive bioloid device commands
    from a host.
    """

    def __init__(self):

        self.usb_serial = USB_VCP()