A Port of TI's Webserver for the CC3000

Dependencies:   mbed

Committer:
dflet
Date:
Mon Sep 16 18:37:14 2013 +0000
Revision:
2:e6a185df9e4c
Parent:
0:6ad60d78b315
ADC and Leds now work on board and config.html page.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dflet 0:6ad60d78b315 1 #ifndef BOARD_H
dflet 0:6ad60d78b315 2 #define BOARD_H
dflet 0:6ad60d78b315 3
dflet 0:6ad60d78b315 4
dflet 0:6ad60d78b315 5 typedef enum
dflet 0:6ad60d78b315 6 {
dflet 0:6ad60d78b315 7 NO_LED,
dflet 0:6ad60d78b315 8 ind1,
dflet 0:6ad60d78b315 9 ind2,
dflet 0:6ad60d78b315 10 ind3,
dflet 0:6ad60d78b315 11 ind4,
dflet 0:6ad60d78b315 12 LED5,
dflet 0:6ad60d78b315 13 LED6,
dflet 0:6ad60d78b315 14 LED7,
dflet 0:6ad60d78b315 15 LED8
dflet 0:6ad60d78b315 16 } ledEnum;
dflet 0:6ad60d78b315 17
dflet 0:6ad60d78b315 18 typedef enum
dflet 0:6ad60d78b315 19 {
dflet 0:6ad60d78b315 20 NO_LED_IND = NO_LED,
dflet 0:6ad60d78b315 21 CC3000_ON_IND = ind1,
dflet 0:6ad60d78b315 22 CC3000_ASSOCIATED_IND = ind2,
dflet 0:6ad60d78b315 23 CC3000_IP_ALLOC_IND = ind3,
dflet 0:6ad60d78b315 24 CC3000_SERVER_INIT_IND = ind4,
dflet 0:6ad60d78b315 25 CC3000_CLIENT_CONNECTED_IND = ind4,
dflet 0:6ad60d78b315 26 CC3000_SENDING_DATA_IND = ind3,
dflet 0:6ad60d78b315 27 CC3000_UNUSED1_IND = LED7,
dflet 0:6ad60d78b315 28 CC3000_FTC_IND = LED8
dflet 0:6ad60d78b315 29 } ledNames;
dflet 0:6ad60d78b315 30
dflet 0:6ad60d78b315 31 void turnLedOn(char ledNum);
dflet 0:6ad60d78b315 32 void turnLedOff(char ledNum);
dflet 0:6ad60d78b315 33 void toggleLed(char ledNum);
dflet 0:6ad60d78b315 34 uint8_t GetLEDStatus(void);
dflet 0:6ad60d78b315 35
dflet 0:6ad60d78b315 36 #endif