123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356 |
- #pragma once
- #ifndef USB_CFG_IOPORTNAME
- #define USB_CFG_IOPORTNAME D
- #endif
- #ifndef USB_CFG_DMINUS_BIT
- #define USB_CFG_DMINUS_BIT 3
- #endif
- #ifndef USB_CFG_DPLUS_BIT
- #define USB_CFG_DPLUS_BIT 2
- #endif
- #define USB_CFG_CHECK_CRC 0
- #define USB_CFG_HAVE_INTRIN_ENDPOINT 1
- #define USB_CFG_HAVE_INTRIN_ENDPOINT3 1
- #define USB_CFG_EP3_NUMBER 3
- #define USB_CFG_HAVE_INTRIN_ENDPOINT4 1
- #define USB_CFG_EP4_NUMBER 4
- #define USB_CFG_IMPLEMENT_HALT 0
- #define USB_CFG_SUPPRESS_INTR_CODE 0
- #define USB_CFG_IS_SELF_POWERED 0
- #define USB_CFG_IMPLEMENT_FN_WRITE 1
- #define USB_CFG_IMPLEMENT_FN_READ 0
- #define USB_CFG_IMPLEMENT_FN_WRITEOUT 1
- #define USB_CFG_HAVE_FLOWCONTROL 0
- #define USB_CFG_DRIVER_FLASH_PAGE 0
- #define USB_CFG_LONG_TRANSFERS 0
- #ifndef USB_COUNT_SOF
- #define USB_COUNT_SOF 1
- #endif
- #define USB_CFG_CHECK_DATA_TOGGLING 0
- #define USB_CFG_HAVE_MEASURE_FRAME_LENGTH 0
- #define USB_USE_FAST_CRC 0
- #define USB_CFG_VENDOR_ID
- #define USB_CFG_DEVICE_ID
- #define USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH 0
- #define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC
- #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
- #define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
- #define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
- #define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
- #define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
- #define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
- #define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
- #define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
- #define USB_CFG_DESCR_PROPS_UNKNOWN 0
- #define usbMsgPtr_t unsigned short
- #ifndef USB_INTR_CFG_SET
- #define USB_INTR_CFG_SET ((1 << ISC11) | (0 << ISC10))
- #endif
- #ifndef USB_INTR_ENABLE_BIT
- #define USB_INTR_ENABLE_BIT INT1
- #endif
- #ifndef USB_INTR_PENDING_BIT
- #define USB_INTR_PENDING_BIT INTF1
- #endif
- #ifndef USB_INTR_VECTOR
- #define USB_INTR_VECTOR INT1_vect
- #endif
|