Lines Matching refs:macAddr
85 static void ENET_SetMacControl(ENET_Type *base, const enet_config_t *config, uint8_t *macAddr);
271 static void ENET_SetMacControl(ENET_Type *base, const enet_config_t *config, uint8_t *macAddr) in ENET_SetMacControl() argument
280 if (macAddr != NULL) in ENET_SetMacControl()
282 ENET_SetMacAddr(base, macAddr); in ENET_SetMacControl()
575 void ENET_Init(ENET_Type *base, const enet_config_t *config, uint8_t *macAddr, uint32_t refclkSrc_H… in ENET_Init() argument
594 ENET_SetMacControl(base, config, macAddr); in ENET_Init()
948 void ENET_GetMacAddr(ENET_Type *base, uint8_t *macAddr) in ENET_GetMacAddr() argument
950 assert(macAddr); in ENET_GetMacAddr()
955 macAddr[2] = (uint8_t)(0xFFU & (address >> 24U)); in ENET_GetMacAddr()
956 macAddr[3] = (uint8_t)(0xFFU & (address >> 16U)); in ENET_GetMacAddr()
957 macAddr[4] = (uint8_t)(0xFFU & (address >> 8U)); in ENET_GetMacAddr()
958 macAddr[5] = (uint8_t)(0xFFU & address); in ENET_GetMacAddr()
962 macAddr[0] = (uint8_t)(0xFFU & (address >> 8U)); in ENET_GetMacAddr()
963 macAddr[1] = (uint8_t)(0xFFU & address); in ENET_GetMacAddr()