iCub-main
Macros | Functions
downloader.cpp File Reference
#include "driver.h"
#include "downloader.h"
#include <yarp/os/Time.h>
#include <yarp/os/Log.h>
#include <stdlib.h>
#include <string.h>
#include <iCubCanProtocol.h>
#include "strain.h"
+ Include dependency graph for downloader.cpp:

Go to the source code of this file.

Macros

#define _NUMofREGS   6
 
#define STRAIN2_USE_NEW_MODE
 
#define TESTMODE_STRAIN2
 
#define EOCANPROT_D_CREATE_CANID(clss, orig, dest)   ( (((clss)&0xF) << 8) | (((orig)&0xF) << 4) | ((dest)&0xF) )
 
#define TEST_GET_FW_VERSION
 

Functions

void drv_sleep (double time)
 
int axtoi (char *hexStg)
 
int getvalue (char *line, int len)
 

Macro Definition Documentation

◆ _NUMofREGS

#define _NUMofREGS   6

◆ EOCANPROT_D_CREATE_CANID

#define EOCANPROT_D_CREATE_CANID (   clss,
  orig,
  dest 
)    ( (((clss)&0xF) << 8) | (((orig)&0xF) << 4) | ((dest)&0xF) )

Definition at line 2152 of file downloader.cpp.

◆ STRAIN2_USE_NEW_MODE

#define STRAIN2_USE_NEW_MODE

◆ TEST_GET_FW_VERSION

#define TEST_GET_FW_VERSION

◆ TESTMODE_STRAIN2

#define TESTMODE_STRAIN2

Function Documentation

◆ axtoi()

int axtoi ( char *  hexStg)

Definition at line 33 of file downloader.cpp.

◆ drv_sleep()

void drv_sleep ( double  time)

Definition at line 26 of file downloader.cpp.

◆ getvalue()

int getvalue ( char *  line,
int  len 
)

Definition at line 2892 of file downloader.cpp.