libpynq (release 5EWC0-2023 version 0.2.1 of 2023-09-01 11:02)
|
#include <buttons.h>
Go to the source code of this file.
Functions | |
void | switches_init (void) |
void | switches_destroy (void) |
void | buttons_init (void) |
void | buttons_destroy (void) |
int | get_button_state (const int button) |
int | wait_until_button_state (const int button, const int state) |
int | sleep_msec_button_pushed (const int button, const int msec) |
void | sleep_msec_buttons_pushed (int button_states[], const int ms) |
int | wait_until_button_pushed (const int button) |
int | wait_until_button_released (const int button) |
int | wait_until_any_button_pushed (void) |
int | wait_until_any_button_released (void) |
int | get_switch_state (const int switch_num) |