sliders.h File Reference

The header file describes the sliders interface. More...

Go to the source code of this file.

Defines

#define SLIDER0   (1 << 0)
#define SLIDER1   (1 << 1)
#define SLIDER2   (1 << 2)
#define SLIDER3   (1 << 3)

Functions

uint8_t BSP_ReadSliders (void)
 Reads the sliders.


Detailed Description

The header file describes the sliders interface.

Author:
Atmel Corporation: http://www.atmel.com
Support email: avr@atmel.com
Copyright (c) 2008 , Atmel Corporation. All rights reserved. Licensed under Atmel's Limited License Agreement (BitCloudTM).

Definition in file sliders.h.


Define Documentation

#define SLIDER0   (1 << 0)

Definition at line 24 of file sliders.h.

#define SLIDER1   (1 << 1)

Definition at line 25 of file sliders.h.

#define SLIDER2   (1 << 2)

Definition at line 26 of file sliders.h.

#define SLIDER3   (1 << 3)

Definition at line 27 of file sliders.h.


Function Documentation

uint8_t BSP_ReadSliders ( void   ) 

Reads the sliders.

Returns:
State of onboard DIP switches. Use the SLIDER0, SLIDER1, SLIDER2, SLIDER3 constants to check state. Bit value 1 indicates that the corresponding slider is on.
Note that the SLIDER3 is available on MeshBean LAN and Turbo board only.


Generated on Mon Feb 16 17:53:40 2009 for BitCloud Stack Documentation by  doxygen 1.5.1-p1