Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

shared_variables.cpp

Committer:
klauss
Date:
2014-12-16
Revision:
78:1353744f01e1
Parent:
75:bd3c647b860b
Child:
79:9bc12aa305a9

File content as of revision 78:1353744f01e1:

#include "shared_variables.h"

bool from_eth = false;

bool tcp_session = false;

bool reset_cks = false;

TCPSocketServer tcp_server;

TCPSocketConnection tcp_client;

Timer udp_timer;

bool debug_alive = false;

UDPSocket udp_server;

Endpoint udp_client;

bool pcks_s = false;

bool list = false;

bool r_stats;

bool rx = false;

bool tx = false;

bool stats = false;

uint16_t boot_counter = 0; 

uint16_t registry_counter = 0; 

uint16_t invite_counter = 0; 

uint16_t audio_counter = 0; 

uint16_t telemetry_counter = 0; 

uint16_t cb_bye_counter = 0; 

uint16_t prompt_counter = 0; 

uint16_t flood_counter = 0; 

uint16_t bootloader_cbx_counter = 0;

bool pshowcb = false;

volatile uint8_t status = __WAITING__;

Serial pc (USBTX,USBRX);

DigitalOut led1(LED1);

DigitalOut led2(LED2);

DigitalOut led3(LED3);

DigitalOut led4(LED4);

DigitalOut CAB_LED(p24);