cc2540: Add bit defines for non bit-addressable SFRs

Signed-off-by: Paulo Borges <paulo.borges@openbossa.org>
cc2540mini: Add support for platform buttons

This patch implements support for cc2540mini B3 and B4 buttons using
Contiki sensors framework.

Signed-off-by: Paulo Borges <paulo.borges@openbossa.org>
cc2540mini: Add buttons example

This patch adds an example which handles with both buttons present
in the platform.

Signed-off-by: Paulo Borges <paulo.borges@openbossa.org>
dev: Add generic driver for buzzer

This patch adds generic support for buzzers through 3 APIs:

* void buzzer_init(void)
* void buzzer_start(unsigned int frequency)
* void buzzer_stop(void)

These APIs must be implemented by each platform.

Signed-off-by: Paulo Borges <paulo.borges@openbossa.org>
cc2540mini: Implement buzzer driver

This patch implements the platform specific functions of buzzer
driver.

Signed-off-by: Paulo Borges <paulo.borges@openbossa.org>
cc2540mini: Add buzzer example

Signed-off-by: Paulo Borges <paulo.borges@openbossa.org>