|
Source file: ../../../src/pushbutton/pushbutton.c |
| Function name | |
Cyclomatic complexity
(12)
| LOC (30) |
Token count
| Parameter count (4) |
| update_pushbutton_input_state |
|
1 |
4 |
20 |
1 |
| update_button_deb_rep_counter |
|
3 |
19 |
62 |
1 |
| debounce_pushbutton_push_state |
|
3 |
19 |
60 |
1 |
| debounce_pushbutton_release_state |
|
3 |
18 |
55 |
1 |
| debounce_pushbutton_short_push_long_push_state |
|
7 |
25 |
85 |
1 |
| handle_push_debouncing |
|
3 |
15 |
53 |
1 |
| handle_long_push_no_repetition_phase |
|
2 |
11 |
35 |
1 |
| handle_long_push_phase |
|
3 |
16 |
58 |
1 |
| handle_short_push_phase |
|
2 |
11 |
33 |
1 |
| handle_short_push_phase_pin_pushed |
|
3 |
16 |
56 |
1 |
| handle_short_push_phase_pin_released |
|
1 |
6 |
25 |
1 |
| execute_push_callback |
|
2 |
7 |
24 |
1 |
| execute_release_callback |
|
2 |
7 |
24 |
1 |
| init_pushbutton |
|
1 |
16 |
84 |
4 |
| check_pushbutton |
|
3 |
16 |
50 |
1 |
| register_button_push_callback |
|
1 |
4 |
17 |
2 |
| register_button_release_callback |
|
1 |
4 |
17 |
2 |
| register_button_short_push_long_push_callbacks |
|
1 |
5 |
26 |
3 |
| enable_pusbutton_repetition |
|
1 |
4 |
14 |
1 |
| disable_pusbutton_repetition |
|
1 |
4 |
14 |
1 |
| dec_pushbutton_deb_rep_timer |
|
1 |
4 |
13 |
1 |
|
Source file: ../../../src/pushbutton/pushbutton_GPIO_interface.h |
|
Source file: ../../../src/pushbutton/pushbutton.h |