diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2012-01-22 23:33:57 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2012-01-22 23:33:57 +0100 |
commit | e9a6cb2cd5f42fe0864bf0430e5169fee92b9d31 (patch) | |
tree | 49b7a78d15b20b361e288682a8e8833a465f959a | |
parent | c9726505130797f21f6f4cc06ea55f289b9dcad2 (diff) |
Fixed register offsets.
-rw-r--r-- | hal/usb.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -16,9 +16,10 @@ struct USB_reg_t { volatile uint32_t GRXFSIZ; volatile uint32_t DIEPTXF0; volatile uint32_t HNPTXSTS; + uint32_t _reserved[2]; volatile uint32_t GCCFG; volatile uint32_t CID; - uint32_t _reserved[49]; + uint32_t _reserved1[48]; volatile uint32_t HPTXFSIZ; volatile uint32_t DIEPTXF1; volatile uint32_t DIEPTXF2; |