You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

usb_extra.h 332B

1234567891011121314151617181920
  1. #ifndef USB_EXTRA_H
  2. #define USB_EXTRA_H 1
  3. #include <stdint.h>
  4. #include "usb.h"
  5. #define EXTRA_INTERFACE 3
  6. #define EXTRA_ENDPOINT 4
  7. #define EXTRA_SIZE 2
  8. #define EXTRA_BUFFER EP_DOUBLE_BUFFER
  9. #define AUDIO_VOL_UP (1<<0)
  10. #define AUDIO_VOL_DOWN (1<<1)
  11. #define AUDIO_MUTE (1<<2)
  12. int8_t usb_extra_send(uint8_t bits);
  13. #endif