A Port of TI's Webserver for the CC3000

Dependencies:   mbed

Board/Board.h

Committer:
dflet
Date:
2013-09-16
Revision:
2:e6a185df9e4c
Parent:
0:6ad60d78b315

File content as of revision 2:e6a185df9e4c:

#ifndef BOARD_H
#define BOARD_H


typedef enum
{
    NO_LED,
    ind1,
    ind2,
    ind3,
    ind4,
    LED5,
    LED6,
    LED7,
    LED8
} ledEnum;

typedef enum
{
    NO_LED_IND = NO_LED,
    CC3000_ON_IND = ind1,
    CC3000_ASSOCIATED_IND = ind2,
    CC3000_IP_ALLOC_IND = ind3,
    CC3000_SERVER_INIT_IND = ind4,
    CC3000_CLIENT_CONNECTED_IND = ind4,
    CC3000_SENDING_DATA_IND = ind3,
    CC3000_UNUSED1_IND = LED7,
    CC3000_FTC_IND = LED8
} ledNames;

void turnLedOn(char ledNum);
void turnLedOff(char ledNum);
void toggleLed(char ledNum);
uint8_t GetLEDStatus(void);

#endif