libpynq
(release 5EID0-2023 version 0.3.0 of 2024-04-25 09:42 )
|
#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) |