Adding the avr-rss2 platform based on AtMega256RFR2
This commit is contained in:
parent
d3980668ee
commit
ce8e87d60e
91 changed files with 9349 additions and 0 deletions
17
platform/avr-rss2/dev/leds.h
Normal file
17
platform/avr-rss2/dev/leds.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
|
||||
#ifndef CONTIKI_LED_H_
|
||||
#define CONTIKI_LED_H_
|
||||
|
||||
#define LEDS_GREEN 1
|
||||
#define LEDS_YELLOW 2
|
||||
#define LEDS_RED 4
|
||||
#define LEDS_ALL 7
|
||||
|
||||
void leds_init(void); /* Initialize the LEDs driver. */
|
||||
unsigned char leds_get(void); /* Get the status of a LED. */
|
||||
void leds_on(unsigned char ledv); /* Turn on a set of LEDs. */
|
||||
void leds_off(unsigned char ledv); /* Turn off a set of LEDs. */
|
||||
void leds_toggle(unsigned char ledv); /* Toggle a set of LEDs. */
|
||||
void leds_invert(unsigned char ledv); /* Toggle a set of LEDs. */
|
||||
|
||||
#endif /* CONTIKI_LED_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue