Functions
ethercat_defs.h File Reference
#include <stdint.h>
#include <string.h>
Include dependency graph for ethercat_defs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint16_t cpu_to_le16 (uint16_t data)
uint16_t cpu_to_le16 (int16_t data)
uint32_t cpu_to_le32 (uint32_t data)
uint32_t cpu_to_le32 (int32_t data)
unsigned char * host2nw (unsigned char *a_buffer, int8_t a_value)
unsigned char * host2nw (unsigned char *a_buffer, uint8_t a_value)
unsigned char * host2nw (unsigned char *a_buffer, int16_t a_value)
unsigned char * host2nw (unsigned char *a_buffer, uint16_t a_value)
unsigned char * host2nw (unsigned char *a_buffer, int32_t a_value)
unsigned char * host2nw (unsigned char *a_buffer, uint32_t a_value)
unsigned char * host2nw (unsigned char *a_buffer, const unsigned char *a_data, size_t a_datalen)
uint16_t le16_to_cpu (uint16_t data)
uint16_t le16_to_cpu (int16_t data)
uint32_t le32_to_cpu (uint32_t data)
uint32_t le32_to_cpu (int32_t data)
const unsigned char * nw2host (const unsigned char *a_data, int8_t &a_value)
const unsigned char * nw2host (const unsigned char *a_data, uint8_t &a_value)
const unsigned char * nw2host (const unsigned char *a_data, int16_t &a_value)
const unsigned char * nw2host (const unsigned char *a_data, uint16_t &a_value)
const unsigned char * nw2host (const unsigned char *a_data, int32_t &a_value)
const unsigned char * nw2host (const unsigned char *a_data, uint32_t &a_value)

Function Documentation

uint16_t cpu_to_le16 ( uint16_t  data) [inline]

Definition at line 57 of file ethercat_defs.h.

uint16_t cpu_to_le16 ( int16_t  data) [inline]

Definition at line 61 of file ethercat_defs.h.

uint32_t cpu_to_le32 ( uint32_t  data) [inline]

Definition at line 65 of file ethercat_defs.h.

uint32_t cpu_to_le32 ( int32_t  data) [inline]

Definition at line 69 of file ethercat_defs.h.

unsigned char* host2nw ( unsigned char *  a_buffer,
int8_t  a_value 
) [inline]

Definition at line 73 of file ethercat_defs.h.

unsigned char* host2nw ( unsigned char *  a_buffer,
uint8_t  a_value 
) [inline]

Definition at line 78 of file ethercat_defs.h.

unsigned char* host2nw ( unsigned char *  a_buffer,
int16_t  a_value 
) [inline]

Definition at line 83 of file ethercat_defs.h.

unsigned char* host2nw ( unsigned char *  a_buffer,
uint16_t  a_value 
) [inline]

Definition at line 89 of file ethercat_defs.h.

unsigned char* host2nw ( unsigned char *  a_buffer,
int32_t  a_value 
) [inline]

Definition at line 95 of file ethercat_defs.h.

unsigned char* host2nw ( unsigned char *  a_buffer,
uint32_t  a_value 
) [inline]

Definition at line 101 of file ethercat_defs.h.

unsigned char* host2nw ( unsigned char *  a_buffer,
const unsigned char *  a_data,
size_t  a_datalen 
) [inline]

Definition at line 107 of file ethercat_defs.h.

uint16_t le16_to_cpu ( uint16_t  data) [inline]

Definition at line 41 of file ethercat_defs.h.

uint16_t le16_to_cpu ( int16_t  data) [inline]

Definition at line 45 of file ethercat_defs.h.

uint32_t le32_to_cpu ( uint32_t  data) [inline]

Definition at line 49 of file ethercat_defs.h.

uint32_t le32_to_cpu ( int32_t  data) [inline]

Definition at line 53 of file ethercat_defs.h.

const unsigned char* nw2host ( const unsigned char *  a_data,
int8_t &  a_value 
) [inline]

Definition at line 113 of file ethercat_defs.h.

const unsigned char* nw2host ( const unsigned char *  a_data,
uint8_t &  a_value 
) [inline]

Definition at line 118 of file ethercat_defs.h.

const unsigned char* nw2host ( const unsigned char *  a_data,
int16_t &  a_value 
) [inline]

Definition at line 123 of file ethercat_defs.h.

const unsigned char* nw2host ( const unsigned char *  a_data,
uint16_t &  a_value 
) [inline]

Definition at line 132 of file ethercat_defs.h.

const unsigned char* nw2host ( const unsigned char *  a_data,
int32_t &  a_value 
) [inline]

Definition at line 141 of file ethercat_defs.h.

const unsigned char* nw2host ( const unsigned char *  a_data,
uint32_t &  a_value 
) [inline]

Definition at line 150 of file ethercat_defs.h.



ros_ethercat_eml
Author(s): Tom Panis, Klaas Gadeyne, Bob Koninckx, Austin Hendrix, Manos Nikolaidis
autogenerated on Thu Jul 4 2019 20:01:49