TI-RTOS for TivaC
2.14.04.31
|
EMACTiva Driver.
============================================================================
The EMACTiva header file should be included in an application as follows:
The EMACTiva driver produces log statements using the instrumented library. The following masks are used:
#include <stdint.h>
#include <ti/sysbios/knl/Swi.h>
#include <ti/ndk/inc/stkmain.h>
Go to the source code of this file.
Data Structures | |
struct | EMACTiva_HWAttrs |
EMACTiva Hardware attributes. More... | |
struct | EMACTiva_Object |
EMACTiva Object. More... | |
Macros | |
#define | _INCLUDE_NIMU_CODE |
Typedefs | |
typedef struct EMACTiva_HWAttrs | EMACTiva_HWAttrs |
EMACTiva Hardware attributes. More... | |
typedef struct EMACTiva_Object | EMACTiva_Object |
EMACTiva Object. More... | |
Functions | |
void | EMACTiva_init (uint32_t index) |
This function sets the EMACTiva driver. More... | |
bool | EMACTiva_isLinkUp (uint32_t index) |
This function returns if the link is up. More... | |
int | EMACTiva_NIMUInit (STKEVENT_Handle hEvent) |
This function is needed in the NIMUDeviceTable that is required by the NDK. More... | |
Variables | |
const EMAC_FxnTable | EMACTiva_fxnTable |
EMACTiva function table. More... | |
#define _INCLUDE_NIMU_CODE |
typedef struct EMACTiva_HWAttrs EMACTiva_HWAttrs |
EMACTiva Hardware attributes.
typedef struct EMACTiva_Object EMACTiva_Object |
EMACTiva Object.
This structure should not be directly accessed. It is specified here to allow the application to supply the needed memory to the EMACTiva module.
void EMACTiva_init | ( | uint32_t | index | ) |
This function sets the EMACTiva driver.
This function must be called before the NDK stack thread is started.
The EMAC_config structure must be present and initialized before this function is called.
bool EMACTiva_isLinkUp | ( | uint32_t | index | ) |
This function returns if the link is up.
int EMACTiva_NIMUInit | ( | STKEVENT_Handle | hEvent | ) |
This function is needed in the NIMUDeviceTable that is required by the NDK.
const EMAC_FxnTable EMACTiva_fxnTable |
EMACTiva function table.