Fix for MKL27Z.

This commit is contained in:
NIIBE Yutaka
2017-11-17 11:45:18 +09:00
parent 2b98dc3de8
commit e684e853c8

View File

@@ -41,6 +41,7 @@ struct endpoint_ctl {
};
static struct endpoint_ctl ep[16];
#if 0
struct USB_CONF {
const uint8_t PERID; /* Peripheral ID register */
uint8_t rsvd0[3]; /* */
@@ -51,6 +52,7 @@ struct USB_CONF {
volatile uint8_t ADDINFO; /* Peripheral Additional Info register */
};
static struct USB_CONF *const USB_CONF = (struct USB_CONF *)0x40072000;
#endif
struct USB_CTRL0 {
volatile uint8_t OTGCTL; /* OTG Control register */