]> git.sur5r.net Git - freertos/blobdiff - Demo/CORTEX_A2F200_IAR_and_Keil/MicroSemi_Code/drivers/mss_ethernet_mac/mss_ethernet_mac_regs.h
Add the Keil project to the SmartFusion demo directory, and update the source code...
[freertos] / Demo / CORTEX_A2F200_IAR_and_Keil / MicroSemi_Code / drivers / mss_ethernet_mac / mss_ethernet_mac_regs.h
index 0578c4e0dc3b7d10c261a9912a5d59d3cf68e22d..0a8578f977d3d78e58c2e1ad37ace5399580ecb4 100644 (file)
@@ -31,12 +31,14 @@ typedef uint32_t addr_t;
 /***************************************************************************//**\r
  * Descriptor structure\r
  */\r
+#include "pack_struct_start.h"\r
 typedef struct {\r
     volatile uint32_t   descriptor_0;\r
     volatile uint32_t   descriptor_1;\r
     volatile uint32_t   buffer_1;\r
     volatile uint32_t   buffer_2;\r
-} MAC_descriptor_t;\r
+} MAC_descriptor_t\r
+#include "pack_struct_end.h"\r
 \r
 \r
 /***************************************************************************//**\r
@@ -74,6 +76,7 @@ typedef struct {
 \r
     uint8_t            phy_address;            /**< MII address of the connected PHY*/\r
 \r
+       #include "pack_struct_start.h"\r
        struct {\r
                uint32_t rx_interrupts;                 /**< Number of receive interrupts occurred.*/\r
                uint32_t rx_filtering_fail;             /**< Number of received frames which did not pass\r
@@ -111,7 +114,8 @@ typedef struct {
                uint32_t tx_collision_count;    /**< Number of collisions occurred.*/\r
                uint32_t tx_underflow_error;    /**< Number of occurrences of; the FIFO was empty during\r
                                                                                        the frame transmission.*/\r
-    } statistics;\r
+    } statistics\r
+       #include "pack_struct_end.h"\r
 } MAC_instance_t\r
 #include "net/pack_struct_end.h"\r
 \r