blob: 22ff34daadf01d4a8bb52db1d11f1ab9a56cb9d6 [file] [log] [blame]
/*!
* ======== Bsp ========
* Minimal board support
*/
@ModuleStartup
module Bsp {
/*!
* ======== led ========
* Return TRUE iff specified LED is on
*/
Bool led(Int id);
/*!
* ======== toggleLed ========
* Toggle specified LED
*/
Void toggleLed(Int id);
/*!
* ======== turnOffLed ========
* Turn off specified LED
*/
Void turnOffLed(Int id);
/*!
* ======== turnOnLed ========
* Turn on specified LED
*/
Void turnOnLed(Int id);
/*!
* ======== delay ========
*/
Void delay(Int time);
/*!
* ======== button ========
* Returns true iff specified button is pushed
*/
Bool button(Int id);
/*
* ======== reset ========
* Reset the device
*/
Void reset();
}