CMSIS-Driver Validation  
Driver Validation
 All Files Functions Variables Macros Groups Pages
DV_ETH.c File Reference
#include "cmsis_dv.h"
#include "DV_ETH_Config.h"
#include "DV_Framework.h"
#include "Driver_ETH_MAC.h"
#include "Driver_ETH_PHY.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Macros

#define PTP_S_NS   1000000000U
 
#define PTP_TIME_REF   ETH_PTP_TIME_REF
 
#define PTP_TIME_REF_NS   ETH_PTP_TIME_REF*1000000U
 

Functions

ARM_DRIVER_ETH_MAC CREATE_SYMBOL (Driver_ETH_MAC, DRV_ETH)
 
ARM_DRIVER_ETH_PHY CREATE_SYMBOL (Driver_ETH_PHY, DRV_ETH)
 
static void ETH_DrvEvent (uint32_t event)
 
int8_t ETH_RunTransfer (uint8_t *out, uint8_t *in, uint32_t cnt)
 
void ETH_MAC_GetCapabilities (void)
 Function: ETH_MAC_GetCapabilities. More...
 
void ETH_MAC_Initialization (void)
 Function: ETH_MAC_Initialization. More...
 
void ETH_MAC_CheckInvalidInit (void)
 Function: ETH_MAC_CheckInvalidInit. More...
 
void ETH_MAC_PowerControl (void)
 Function: ETH_MAC_PowerControl. More...
 
void ETH_MAC_SetBusSpeed (void)
 Function: ETH_MAC_SetBusSpeed. More...
 
void ETH_MAC_Config_Mode (void)
 Function: ETH_MAC_Config_Mode. More...
 
void ETH_MAC_Config_CommonParams (void)
 Function: ETH_MAC_Config_CommonParams. More...
 
void ETH_PHY_Initialization (void)
 Function: ETH_PHY_Initialization. More...
 
void ETH_PHY_CheckInvalidInit (void)
 Function: ETH_PHY_CheckInvalidInit. More...
 
void ETH_PHY_PowerControl (void)
 Function: ETH_PHY_PowerControl. More...
 
void ETH_PHY_Config (void)
 Function: ETH_PHY_Config. More...
 
void ETH_Loopback_Transfer (void)
 Function: ETH_Loopback_Transfer. More...
 
void ETH_MAC_PTP_ControlTimer (void)
 Function: ETH_MAC_PTP_ControlTimer. More...
 
void ETH_Loopback_PTP (void)
 Function: ETH_Loopback_PTP. More...
 

Variables

static uint8_t * buffer_out
 
static uint8_t * buffer_in
 
static ARM_DRIVER_ETH_MAC * eth_mac = &CREATE_SYMBOL(Driver_ETH_MAC, DRV_ETH)
 
static ARM_DRIVER_ETH_PHY * eth_phy = &CREATE_SYMBOL(Driver_ETH_PHY, DRV_ETH)
 
static ARM_ETH_MAC_CAPABILITIES capab
 
static char str [128]
 
static uint8_t volatile Event
 

Macro Definition Documentation

#define PTP_S_NS   1000000000U
#define PTP_TIME_REF   ETH_PTP_TIME_REF
#define PTP_TIME_REF_NS   ETH_PTP_TIME_REF*1000000U

Function Documentation

ARM_DRIVER_ETH_MAC CREATE_SYMBOL ( Driver_ETH_MAC  ,
DRV_ETH   
)
ARM_DRIVER_ETH_PHY CREATE_SYMBOL ( Driver_ETH_PHY  ,
DRV_ETH   
)
static void ETH_DrvEvent ( uint32_t  event)
static
int8_t ETH_RunTransfer ( uint8_t *  out,
uint8_t *  in,
uint32_t  cnt 
)

Variable Documentation

uint8_t* buffer_out
static
uint8_t* buffer_in
static
ARM_DRIVER_ETH_MAC* eth_mac = &CREATE_SYMBOL(Driver_ETH_MAC, DRV_ETH)
static
ARM_DRIVER_ETH_PHY* eth_phy = &CREATE_SYMBOL(Driver_ETH_PHY, DRV_ETH)
static
ARM_ETH_MAC_CAPABILITIES capab
static
char str[128]
static
uint8_t volatile Event
static