1 /*
2  * Copyright (c) 2006-2023, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date        Author    Email                    Notes
8  * 2022-04-11  Kevin.Liu kevin.liu.mchp@gmail.com First Release
9  */
10 
11 #ifndef __BOARD_SAM_GMAC_H_
12 #define __BOARD_SAM_GMAC_H_
13 
14 #include <rtthread.h>
15 
16 /**
17   * @brief  GMAC duplex type
18   */
19 typedef enum
20 {
21   GMAC_HALF_DUPLEX                       = 0x00, /*!< half duplex */
22   GMAC_FULL_DUPLEX                       = 0x01  /*!< full duplex */
23 } gmac_duplex_type;
24 
25 /**
26   * @brief  GMAC speed type
27   */
28 typedef enum
29 {
30   GMAC_SPEED_10MBPS                      = 0x00, /*!< 10 mbps */
31   GMAC_SPEED_100MBPS                     = 0x01  /*!< 100 mbps */
32 } gmac_speed_type;
33 
34 #define CONF_AT24MAC_ADDRESS               0x57
35 
36 #endif // __BOARD_SAM_GMAC_H_
37