39 #ifndef ti_drivers_emac_EMACMSP432E4__include 40 #define ti_drivers_emac_EMACMSP432E4__include 46 #ifndef __MSP432E411Y__ 47 #define __MSP432E411Y__ 1 51 #include <ti/devices/msp432e4/inc/msp432.h> 52 #include <ti/devices/msp432e4/driverlib/pin_map.h> 55 #include <ti/ndk/inc/stkmain.h> 65 #define EMACMSP432E4_PF0_EN0LED0 GPIOMSP432E4_pinConfigMask(GPIOMSP432E4_PORTF, 0, GPIO_PF0_EN0LED0) 70 #define EMACMSP432E4_PK4_EN0LED0 GPIOMSP432E4_pinConfigMask(GPIOMSP432E4_PORTK, 4, GPIO_PK4_EN0LED0) 75 #define EMACMSP432E4_PF4_EN0LED1 GPIOMSP432E4_pinConfigMask(GPIOMSP432E4_PORTF, 4, GPIO_PF4_EN0LED1) 80 #define EMACMSP432E4_PK6_EN0LED1 GPIOMSP432E4_pinConfigMask(GPIOMSP432E4_PORTK, 6, GPIO_PK6_EN0LED1) 85 #define EMACMSP432E4_PF1_EN0LED2 GPIOMSP432E4_pinConfigMask(GPIOMSP432E4_PORTF, 1, GPIO_PF1_EN0LED2) 90 #define EMACMSP432E4_PK5_EN0LED2 GPIOMSP432E4_pinConfigMask(GPIOMSP432E4_PORTK, 5, GPIO_PK5_EN0LED2) 95 #define EMACMSP432E4_ETHERNET_NAME "eth0" uint32_t intPriority
The EMAC peripheral's interrupt priority.
Definition: EMACMSP432E4.h:117
EMACMSP432E4 Hardware attributes.
Definition: EMACMSP432E4.h:101
uint32_t led1Pin
Pin connected to an LED used to indicate the Ethernet transmit (TX) and receive (RX) activity...
Definition: EMACMSP432E4.h:129
int EMACMSP432E4_NIMUInit(STKEVENT_Handle hEvent)
This function is included in the NIMUDeviceTable that is used by the NDK to initialize and register t...
uint8_t * macAddress
Pointer to a MAC address.
Definition: EMACMSP432E4.h:143
uint32_t baseAddr
Base address of the EMAC peripheral.
Definition: EMACMSP432E4.h:103
bool EMACMSP432E4_isLinkUp()
This function returns the link state of the EMACMSP432E4 driver.
uint32_t led0Pin
Pin connected to an LED used to indicate the Ethernet link is nominal.
Definition: EMACMSP432E4.h:123
uint32_t intNum
The EMAC peripheral's interrupt number.
Definition: EMACMSP432E4.h:108