libwallaby  v24
The wallaby standard library
wait_for.h File Reference
#include "export.h"
#include "vtable.h"

Go to the source code of this file.

Functions

VF EXPORT_SYM void wait_for_milliseconds (long msecs)
 
VF EXPORT_SYM void wait_for_touch (int port)
 
VF EXPORT_SYM void wait_for_a_button ()
 
VF EXPORT_SYM void wait_for_b_button ()
 
VF EXPORT_SYM void wait_for_c_button ()
 
VF EXPORT_SYM void wait_for_x_button ()
 
VF EXPORT_SYM void wait_for_y_button ()
 
VF EXPORT_SYM void wait_for_z_button ()
 
VF EXPORT_SYM void wait_for_side_button ()
 
VF EXPORT_SYM void wait_for_any_button ()
 
VF EXPORT_SYM void wait_for_a_button_clicked ()
 
VF EXPORT_SYM void wait_for_b_button_clicked ()
 
VF EXPORT_SYM void wait_for_c_button_clicked ()
 
VF EXPORT_SYM void wait_for_x_button_clicked ()
 
VF EXPORT_SYM void wait_for_y_button_clicked ()
 
VF EXPORT_SYM void wait_for_z_button_clicked ()
 
VF EXPORT_SYM void wait_for_side_button_clicked ()
 

Function Documentation

◆ wait_for_a_button()

VF EXPORT_SYM void wait_for_a_button ( )

Waits (blocks) until the a button has been pressed.

◆ wait_for_a_button_clicked()

VF EXPORT_SYM void wait_for_a_button_clicked ( )

Waits (blocks) until the a button has been pressed and then subsequently released.

◆ wait_for_any_button()

VF EXPORT_SYM void wait_for_any_button ( )

Waits (blocks) until any system button has been pressed.

◆ wait_for_b_button()

VF EXPORT_SYM void wait_for_b_button ( )

Waits (blocks) until the b button has been pressed.

◆ wait_for_b_button_clicked()

VF EXPORT_SYM void wait_for_b_button_clicked ( )

Waits (blocks) until the b button has been pressed and then subsequently released.

◆ wait_for_c_button()

VF EXPORT_SYM void wait_for_c_button ( )

Waits (blocks) until the c button has been pressed.

◆ wait_for_c_button_clicked()

VF EXPORT_SYM void wait_for_c_button_clicked ( )

Waits (blocks) until the c button has been pressed and then subsequently released.

◆ wait_for_milliseconds()

VF EXPORT_SYM void wait_for_milliseconds ( long  msecs)

Waits (blocks) for the given number of milliseconds.

Parameters
msecsthe number of milliseconds to sleep

◆ wait_for_side_button()

VF EXPORT_SYM void wait_for_side_button ( )

Waits (blocks) until the side button has been pressed.

◆ wait_for_side_button_clicked()

VF EXPORT_SYM void wait_for_side_button_clicked ( )

Waits (blocks) until the side button has been pressed and then subsequently released.

◆ wait_for_touch()

VF EXPORT_SYM void wait_for_touch ( int  port)

Waits (blocks) until the digital sensor on the given port has been activated.

Parameters
portThe port to wait for activation on

◆ wait_for_x_button()

VF EXPORT_SYM void wait_for_x_button ( )

Waits (blocks) until the x button has been pressed.

◆ wait_for_x_button_clicked()

VF EXPORT_SYM void wait_for_x_button_clicked ( )

Waits (blocks) until the x button has been pressed and then subsequently released.

◆ wait_for_y_button()

VF EXPORT_SYM void wait_for_y_button ( )

Waits (blocks) until the y button has been pressed.

◆ wait_for_y_button_clicked()

VF EXPORT_SYM void wait_for_y_button_clicked ( )

Waits (blocks) until the y button has been pressed and then subsequently released.

◆ wait_for_z_button()

VF EXPORT_SYM void wait_for_z_button ( )

Waits (blocks) until the z button has been pressed.

◆ wait_for_z_button_clicked()

VF EXPORT_SYM void wait_for_z_button_clicked ( )

Waits (blocks) until the z button has been pressed and then subsequently released.