Skip to content
Snippets Groups Projects
main_pcie40_b2slc.cpp 262 B
Newer Older
Patrick Robbe's avatar
Patrick Robbe committed
#include "pcie40_b2slc.h"
qzhou's avatar
qzhou committed
#include "pcie40_ecs.h"
Patrick Robbe's avatar
Patrick Robbe committed
#include <stdio.h>

int main(int argc, char** argv){
  ecs_open( 0 , 2 );
  int result = pcie40_readfee32( 0 , 1 , 0x12 ) ;
  
  ecs_close( 0 , 2 ) ;
  printf( "Value = %X\n" , result ) ;
Patrick Robbe's avatar
Patrick Robbe committed

  return 0 ;
}