libkipr  1.0.0
wait_for.h File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ wait_for_a_button()

EXPORT_SYM void wait_for_a_button ( )

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

◆ wait_for_a_button_clicked()

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()

EXPORT_SYM void wait_for_any_button ( )

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

◆ wait_for_b_button()

EXPORT_SYM void wait_for_b_button ( )

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

◆ wait_for_b_button_clicked()

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()

EXPORT_SYM void wait_for_c_button ( )

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

◆ wait_for_c_button_clicked()

EXPORT_SYM void wait_for_c_button_clicked ( )

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

◆ wait_for_milliseconds()

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()

EXPORT_SYM void wait_for_side_button ( )

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

◆ wait_for_side_button_clicked()

EXPORT_SYM void wait_for_side_button_clicked ( )

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

◆ wait_for_touch()

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()

EXPORT_SYM void wait_for_x_button ( )

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

◆ wait_for_x_button_clicked()

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()

EXPORT_SYM void wait_for_y_button ( )

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

◆ wait_for_y_button_clicked()

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()

EXPORT_SYM void wait_for_z_button ( )

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

◆ wait_for_z_button_clicked()

EXPORT_SYM void wait_for_z_button_clicked ( )

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