00001 #ifndef _ots_FirmwareBaseDefinitions_h
00002 #define _ots_FirmwareBaseDefinitions_h
00003
00004 #include <stdint.h>
00005
00006 namespace ots
00007 {
00008 const uint32_t ETHIO_DESTINATION_PORT = 0xc1000018;
00009 const uint32_t DATA_DESTINATION_IP = 0xc10000a4;
00010 const uint32_t DATA_SOURCE_DESTINATION_PORT = 0xc10000a8;
00011
00012 const double EXTERNAL_CLOCK_FREQUENCY = 54;
00013 const double INTERNAL_CLOCK_FREQUENCY = 66.667;
00014
00015 const uint8_t WRITE = 1;
00016 const uint8_t SET = 2;
00017 const uint8_t READ = 4;
00018 const uint8_t RESET = 5;
00019 const uint8_t CLEAR = 5;
00020 const uint8_t DEFAULT = 6;
00021 const uint8_t WAITCLR = 7;
00022 const uint8_t WAITSET = 8;
00023 }
00024
00025 #endif