Açıklama Yok
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.

usb.h 301B

123456789101112131415161718192021
  1. /*
  2. * usb.h
  3. */
  4. #ifndef __USB_H__
  5. #define __USB_H__
  6. enum {
  7. BLINK_NOT_MOUNTED = 250,
  8. BLINK_MOUNTED = 1000,
  9. BLINK_SUSPENDED = 2500,
  10. };
  11. extern uint32_t blink_interval_ms;
  12. void usb_init(void);
  13. void usb_run(void);
  14. void usb_cdc_write(const char *buf, uint32_t count);
  15. #endif // __USB_H__