Bitstream Interpretation Library (BIL)  0.1
Namespaces | Macros | Typedefs | Functions | Variables
PacketOpcode.hpp File Reference

Contains packet opcode enumeration constants and strings. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  bil
namespace  bil::PacketOpcode
 Namespace for packet opcode constants.

Macros

#define BIL_PACKETOPCODE_HPP

Typedefs

typedef unsigned char bil::PacketOpcode::opcode_t
 Packet opcode type. Tells configuration logic what to do.

Functions

const char * bil::PacketOpcode::toString (opcode_t opcode)
 Returns a string representation of given opcode constant.

Variables

const opcode_t bil::PacketOpcode::NO_OP = 0x00
 This opcode means: do nothing.
const opcode_t bil::PacketOpcode::REGISTER_READ = 0x01
 This opcode means: read data from fpga (to configuration interface).
const opcode_t bil::PacketOpcode::REGISTER_WRITE = 0x02
 This opcode means: write data to fpga (from packet).
const char *const bil::PacketOpcode::NO_OP_STRING = "NO_OP"
const char *const bil::PacketOpcode::REGISTER_READ_STRING = "REGISTER_READ"
const char *const bil::PacketOpcode::REGISTER_WRITE_STRING = "REGISTER_WRITE"

Detailed Description

Contains packet opcode enumeration constants and strings.

Definition in file PacketOpcode.hpp.


Macro Definition Documentation

#define BIL_PACKETOPCODE_HPP

Definition at line 8 of file PacketOpcode.hpp.