X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=cc1111.h;h=4e45146571f09c284b89566520570548f7f2c826;hp=2045c71640a490e22cda2626f541f5d1c14c5cb0;hb=be3f4fed7b863c8cdaabe32b61b65a8b3cd11355;hpb=7bc3d9962872850e7b420221cf689db16b4305cc diff --git a/cc1111.h b/cc1111.h index 2045c716..4e451465 100644 --- a/cc1111.h +++ b/cc1111.h @@ -337,6 +337,12 @@ __xdata __at (0xde02) volatile uint8_t USBIIF; __xdata __at (0xde04) volatile uint8_t USBOIF; __xdata __at (0xde06) volatile uint8_t USBCIF; + +# define USBCIF_SOFIF (1 << 3) +# define USBCIF_RSTIF (1 << 2) +# define USBCIF_RESUMEIF (1 << 1) +# define USBCIF_SUSPENDIF (1 << 0) + __xdata __at (0xde07) volatile uint8_t USBIIE; __xdata __at (0xde09) volatile uint8_t USBOIE;