Giter Club home page Giter Club logo

stm32f4-discovery-tutorial's Introduction

STM32F4-Discovery-Tutorial

stm32f4-discovery-tutorial's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stm32f4-discovery-tutorial's Issues

[usb custom hid] giải thích giùm mình giá trị của biến

trong file usbd_custom_hid_if.c có cái biến:

__ALIGN_BEGIN static uint8_t CUSTOM_HID_ReportDesc_FS[USBD_CUSTOM_HID_REPORT_DESC_SIZE] __ALIGN_END =

{

    /* USER CODE BEGIN 0 */ 

0x06, 0x00, 0xFF, // Usage Page = 0xFF00 (Vendor Defined Page 1)

0x09, 0x01, // Usage (Vendor Usage 1)

0xA1, 0x01, // Collection (Application)

// Input report

0x19, 0x01, // Usage Minimum

0x29, 0x40, // Usage Maximum

0x15, 0x00, // Logical Minimum (data bytes in the report may have minimum value = 0x00)

0x26, 0xFF, 0x00, // Logical Maximum (data bytes in the report may have maximum value = 0x00FF = unsigned 255)

0x75, 0x08, // Report Size: 8-bit field size

0x95, CUSTOM_HID_EPIN_SIZE,// Report Count

0x81, 0x02, // Input (Data, Array, Abs)

// Output report

0x19, 0x01, // Usage Minimum

0x29, 0x40, // Usage Maximum

0x75, 0x08, // Report Size: 8-bit field size

0x95, CUSTOM_HID_EPOUT_SIZE,// Report Count

0x91, 0x02, // Output (Data, Array, Abs)

0xC0

};

không biết là bạn tham chiếu từ đâu để có các số liệu này.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.