Kiibohd Controller
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
Tento repozitář je archivovaný. Můžete prohlížet soubory, klonovat, ale nemůžete nahrávat a vytvářet nové úkoly a požadavky na natažení.

usb_serial.h 632B

12345678910111213141516171819202122232425
  1. #ifndef USBserial_h_
  2. #define USBserial_h_
  3. #include <inttypes.h>
  4. // Compatibility defines from AVR
  5. #define PROGMEM
  6. #define PGM_P const char *
  7. #define PSTR(str) (str)
  8. int usb_serial_getchar(void);
  9. int usb_serial_peekchar(void);
  10. int usb_serial_available(void);
  11. void usb_serial_flush_input(void);
  12. int usb_serial_putchar(uint8_t c);
  13. int usb_serial_write(const void *buffer, uint32_t size);
  14. void usb_serial_flush_output(void);
  15. extern uint8_t usb_cdc_line_coding[7];
  16. extern volatile uint8_t usb_cdc_line_rtsdtr;
  17. extern volatile uint8_t usb_cdc_transmit_flush_timer;
  18. extern volatile uint8_t usb_configuration;
  19. #endif // USBserial_h_