forked from DangerousPrototypes/BusPirate5-firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelpers.h
41 lines (35 loc) · 2.72 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
33
34
35
36
37
38
39
40
41
void helpers_selftest(opt_args (*args), struct command_result *res);
void helpers_bit_order_msb(opt_args (*args), struct command_result *res);
void helpers_bit_order_lsb(opt_args (*args), struct command_result *res);
void helpers_show_int_formats(opt_args (*args), struct command_result *res);
void helpers_show_int_inverse(opt_args (*args), struct command_result *res);
//mode commands
void helpers_mode_help(opt_args (*args), struct command_result *res);
void helpers_mode_periodic();
void helpers_display_help(opt_args (*args), struct command_result *res);
void helpers_selftest_base(void);
// these are all moved to the syntax processor
//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_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_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);
*/
void helpers_mcu_reset(opt_args (*args), struct command_result *res);
void helpers_mcu_jump_to_bootloader(opt_args (*args), struct command_result *res);