summaryrefslogtreecommitdiff
path: root/tinyusb/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-11-22 15:16:24 +0700
committerhathach <[email protected]>2013-11-22 15:16:24 +0700
commit83f1d660ce1a1520b7a7e781d05c47221067f3f7 (patch)
treec86ce99d5ce7feb84669c9d390eb80cf29590076 /tinyusb/host
parentd1ef89a1543581d1703ea43b0056b5112fd64019 (diff)
clean up
add some doxygen work finalize device disconnection & suspend - suspend & resume & remote wake up is not supported yet
Diffstat (limited to 'tinyusb/host')
-rw-r--r--tinyusb/host/ehci/ehci.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/tinyusb/host/ehci/ehci.h b/tinyusb/host/ehci/ehci.h
index 3a7bb98b7..1736190b8 100644
--- a/tinyusb/host/ehci/ehci.h
+++ b/tinyusb/host/ehci/ehci.h
@@ -40,7 +40,6 @@
* @{
* \defgroup EHCI
* \brief EHCI driver. All documents sources mentioned here (eg section 3.5) is referring to EHCI Specs unless state otherwise
- *
* @{
*/
@@ -201,10 +200,10 @@ typedef struct {
ehci_qtd_t * volatile p_qtd_list_head; // head of the scheduled TD list
ehci_qtd_t * volatile p_qtd_list_tail; // tail of the scheduled TD list
-}ATTR_ALIGNED(32) ehci_qhd_t;
+} ehci_qhd_t;
/// Highspeed Isochronous Transfer Descriptor (section 3.3)
-typedef struct {
+typedef struct ATTR_ALIGNED(32) {
/// Word 0: Next Link Pointer
ehci_link_t next;
@@ -231,10 +230,10 @@ typedef struct {
// uint32_t used;
// uint32_t IhdIdx;
// uint32_t reserved[6];
-}ATTR_ALIGNED(32) ehci_itd_t;
+} ehci_itd_t;
/// Split (Full-Speed) Isochronous Transfer Descriptor
-typedef struct {
+typedef struct ATTR_ALIGNED(32) {
/// Word 0: Next Link Pointer
ehci_link_t next;
@@ -293,7 +292,7 @@ typedef struct {
uint8_t used;
uint8_t ihd_idx;
uint8_t reserved2[2];
-}ATTR_ALIGNED(32) ehci_sitd_t;
+} ehci_sitd_t;
//--------------------------------------------------------------------+
// EHCI Operational Register