forked from DangerousPrototypes/BusPirate5-firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
helpers.h
32 lines (27 loc) · 2.53 KB
/
helpers.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
void helpers_selftest(struct command_attributes *attributes, struct command_response *response);
void helpers_delay_us(struct command_attributes *attributes, struct command_response *response);
void helpers_delay_ms(struct command_attributes *attributes, struct command_response *response);
void helpers_bit_order_msb(struct command_attributes *attributes, struct command_response *response);
void helpers_bit_order_lsb(struct command_attributes *attributes, struct command_response *response);
void helpers_show_int_formats(struct command_attributes *attributes, struct command_response *response);
void helpers_show_int_inverse(struct command_attributes *attributes, struct command_response *response);
//mode commands
void helpers_mode_macro(struct command_attributes *attributes, struct command_response *response);
void helpers_mode_start(struct command_attributes *attributes, struct command_response *response);
void helpers_mode_stop(struct command_attributes *attributes, struct command_response *response);
void helpers_mode_start_with_read(struct command_attributes *attributes, struct command_response *response);
void helpers_mode_stop_with_read(struct command_attributes *attributes, struct command_response *response);
void helpers_mode_clock_high(struct command_attributes *attributes, struct command_response *response);
void helpers_mode_clock_low(struct command_attributes *attributes, struct command_response *response);
void helpers_mode_clock_tick(struct command_attributes *attributes, struct command_response *response);
void helpers_mode_data_high(struct command_attributes *attributes, struct command_response *response);
void helpers_mode_data_low(struct command_attributes *attributes, struct command_response *response);
void helpers_mode_data_s(struct command_attributes *attributes, struct command_response *response);
void helpers_mode_read_bit(struct command_attributes *attributes, struct command_response *response);
void helpers_mode_help(struct command_attributes *attributes, struct command_response *response);
void helpers_mode_read(struct command_attributes *attributes, struct command_response *response);
void helpers_mode_write(struct command_attributes *attributes, struct command_response *response);
void helpers_mode_write_string(struct command_attributes *attributes, struct command_response *response);
void helpers_numbits(struct command_attributes *attributes, struct command_response *response);
// debug hook
void helpers_debug(struct command_attributes *attributes, struct command_response *response);