MakeBlock Drive Updated Updated library for MakeBlock Ranger

Loading...
Searching...
No Matches
Macros | Variables
MeUSBHost.cpp File Reference

Driver for Me USB Host module. More...

`#include "MeUSBHost.h"`
Include dependency graph for MeUSBHost.cpp:

## Macros
#define | p_dev_descr ((PUSB_DEV_DESCR)RECV_BUFFER)
#define | p_cfg_descr ((PUSB_CFG_DESCR_LONG)RECV_BUFFER)

## Variables
uint8_t | endp_out_addr
uint8_t | endp_out_size
uint8_t | endp_in_addr
uint8_t | endp6_mode
uint8_t | endp7_mode
uint8_t * | cmd_buf
uint8_t * | ret_buf
PUSB_ENDP_DESCR | tmpEp

## Detailed Description

Driver for Me USB Host module.

Author
  MakeBlock

Version
  V1.0.1

Date
  2016/01/20

Copyright
  This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
  conditions. The main licensing options available are GPL V2 or Commercial:

Open Source Licensing GPL V2
  This is the appropriate option if you want to share the source code of your
  application with everyone you distribute it to, and you also want to give them
  the right to share who uses it. If you wish to use this software under Open
  Source Licensing, you must contribute all your source code to the open source
  community in accordance with the GPL Version 2 when your application is
  distributed. See http://www.gnu.org/copyleft/gpl.html

Description
  This file is a drive for Me Bluetooth device, The bluetooth inherited the MeSerial class from SoftwareSerial.

Method List:

1. void MeUSBHost::init(int8_t type);
2. int16_t MeUSBHost::initHIDDevice();
3. int16_t MeUSBHost::probeDevice();
4. void MeUSBHost::resetBus();
5. uint8_t MeUSBHost::host_recv();

History:

      `<Author>`         `<Time>`        `<Version>`        `<Descr>`
      forfish         2015/11/10     1.0.0            Add description
      Mark Yan        2016/01/20     1.0.1            Support hardware serial automatic Identification