MCPcopy Create free account

hub / github.com/GitJer/Some_RPI-Pico_stuff / functions

Functions178 in github.com/GitJer/Some_RPI-Pico_stuff

↓ 18 callersMethodupdate
(self, clock)
state_machine_emulator/interface/_interface_item.py:28
↓ 14 callersFunctionpio_mul
multiplication/multiplier.cpp:13
↓ 9 callersMethoddebounce_gpio
* Request to debounce the gpio * @param gpio: the gpio that needs to be debounced * the value must be [0, 28] excluding 23, 24 and 25.
Button-debouncer/button_debounce.cpp:43
↓ 8 callersMethodupdate_display
update the display at every step to show the emulation results for the new step
state_machine_emulator/interface/__init__.py:67
↓ 4 callersFunctionput_pixel
ws2812_led_strip_120/ws2812_led_strip_120.c:9
↓ 4 callersFunctionread
Button-debouncer/micropython_integrated/debounce.cpp:29
↓ 4 callersMethodread_PW
PwmIn/PwmIn_4pins/PwmIn.cpp:81
↓ 4 callersFunctionurgb_u32
ws2812_led_strip_120/ws2812_led_strip_120.c:14
↓ 4 callersFunctionwhite
ws2812_led_strip_120/ws2812_led_strip_120.c:39
↓ 3 callersMethod__init__
(self, display_name, frame, row, col, var, var_index)
state_machine_emulator/interface/_interface_item.py:104
↓ 3 callersFunctionclear_image
make an empty image
ledpanel/ledpanel.c:64
↓ 3 callersFunctioncolumn_line
draw a vertical line
ledpanel/ledpanel.c:57
↓ 3 callersFunctionencode_image
encode the image to be suitable for sending it to the sm
ledpanel/ledpanel_worker.c:39
↓ 3 callersFunctionprintBits
handy function to print the value of 'number' in bits
Rotational_shift_ISR/rotational_shift_ISR.cpp:11
↓ 3 callersFunctionswitch_buffer
switch image buffers to be drawn (dubbelbuffering) However, wait if the process on core1 is still busy with a buffer
ledpanel/ledpanel.c:100
↓ 2 callersMethod__del__
clean up at exit
state_machine_emulator/interface/__init__.py:55
↓ 2 callersFunctionbutton_debounce_program_get_default_config
Button-debouncer/micropython_integrated/button_debounce.pio.h:43
↓ 2 callersFunctionprint_usage
print the usage of this program
state_machine_emulator/main.py:145
↓ 2 callersMethodread
* Read the current value of the debounced the gpio * @param gpio: the gpio whose value (low, high) is read * the gpio must have previou
Button-debouncer/button_debounce.cpp:205
↓ 2 callersFunctionrow_line
draw a horizontal line
ledpanel/ledpanel.c:50
↓ 2 callersFunctionset_pixel
set the color + brightness for a pixel
ledpanel/ledpanel.c:32
↓ 2 callersMethodunschedule
(self)
state_machine_emulator/interface/_tooltips.py:31
↓ 2 callersMethodvalue_string
(self, clock)
state_machine_emulator/interface/_interface_item.py:109
↓ 2 callersMethodvalue_string
(self, index, clock)
state_machine_emulator/interface/_interface_item.py:137
↓ 2 callersMethodvalue_string
(self, index)
state_machine_emulator/interface/_interface_item.py:162
↓ 1 callersMethodbit_string
function to produce a string with the binary representation of a value
state_machine_emulator/emulation.py:54
↓ 1 callersFunctionconfigure_dma
configure the direct memory access
ledpanel/ledpanel_worker.c:215
↓ 1 callersFunctionconfigure_pio_sm
Configure the pio state machine
Z80/Z80.c:15
↓ 1 callersFunctionconfigure_pio_sm
configure the state machine
ledpanel/ledpanel_worker.c:171
↓ 1 callersMethoddebounce_gpio
* Request to debounce the gpio * @param gpio: the gpio that needs to be debounced * the value must be [0, 28] excluding 23, 24 and 25.
Button-debouncer/micropython_integrated/button_debounce.cpp:55
↓ 1 callersFunctiondecode
function to decode the received SBUS data to actual steering commands
SBUS/SBUS.cpp:23
↓ 1 callersFunctiondecode
function to decode the received SBUS data to actual steering commands
SBUS/gpio_invert/SBUS.cpp:30
↓ 1 callersFunctiondma_handler
interrupt handler for the direct memory access
ledpanel/ledpanel_worker.c:202
↓ 1 callersMethodemulate
emulate a number of steps
state_machine_emulator/emulation.py:25
↓ 1 callersMethodexecute_pin_and_c_program
executes the c-program and pin settings as specified by the c- and pin-program
state_machine_emulator/emulation.py:59
↓ 1 callersMethodget_reload_flag
(self)
state_machine_emulator/interface/__init__.py:64
↓ 1 callersMethodget_rotation
get the current rotation
Rotary_encoder/pio_rotary_encoder.cpp:56
↓ 1 callersMethodhidetip
(self)
state_machine_emulator/interface/_tooltips.py:52
↓ 1 callersFunctionledpanel_program_get_default_config
state_machine_emulator/examples/ledpanel/ledpanel.pio.h:41
↓ 1 callersFunctionprocess_file_c_program
read the c program file and parse it
state_machine_emulator/main.py:110
↓ 1 callersFunctionprocess_file_pin_program
read the pin program file and parse it
state_machine_emulator/main.py:85
↓ 1 callersFunctionprocess_file_pio_h
read and parse a pioasm generated header file
state_machine_emulator/main.py:26
↓ 1 callersMethodread
read the 4x4 matrix
button_matrix_4x4/4x4_button_matrix.cpp:49
↓ 1 callersMethodread
* Read the current value of the debounced the gpio * @param gpio: the gpio whose value (low, high) is read * the gpio must have previou
Button-debouncer/micropython_integrated/button_debounce.cpp:233
↓ 1 callersMethodread
read the distance to an object in cm (0 cm means invalid measurement)
HCSR04/HCSR04.cpp:49
↓ 1 callersMethodread_PWM
read pulsewidth and period for one pulse
PwmIn/PwmIn.cpp:67
↓ 1 callersMethodread_pulses
read the number of pulses in a pulse train
count_pulses_with_pause/count_pulses_with_pause.cpp:45
↓ 1 callersMethodread_temperature
Limited_1_wire/onewire.cpp:143
↓ 1 callersMethodreset_and_check
Limited_1_wire/onewire.cpp:87
↓ 1 callersFunctionrotational_shift_ISR_program_get_default_config
state_machine_emulator/examples/rotational_shift/pio_program.pio.h:47
↓ 1 callersMethodschedule
(self)
state_machine_emulator/interface/_tooltips.py:27
↓ 1 callersMethodset_debounce_time
Button-debouncer/micropython_integrated/button_debounce.cpp:161
↓ 1 callersFunctionset_pixel_c
set the individual colors + brightnesses for a pixel
ledpanel/ledpanel.c:44
↓ 1 callersMethodset_rotation
set the current rotation to a specific value
Rotary_encoder/pio_rotary_encoder.cpp:50
↓ 1 callersMethodstart
Button-debouncer/micropython_integrated/button_debounce.cpp:33
↓ 1 callersMethodundebounce_gpio
* undebounce a previously debounced gpio * @param gpio: the gpio that is no longer going to be debounced * the gpio must have previousl
Button-debouncer/button_debounce.cpp:238
↓ 1 callersMethodundebounce_gpio
* undebounce a previously debounced gpio * @param gpio: the gpio that is no longer going to be debounced * the gpio must have previousl
Button-debouncer/micropython_integrated/button_debounce.cpp:274
↓ 1 callersFunctionwheel
color wheel (from Adafruit strand test) Input a value 0 to 255 to get a color value. The colors returned are a transition r - g - b - back to r.
ledpanel/ledpanel.c:74
MethodDebounce
* class that debounces gpio using the PIO state machines. * up to 8 gpios can be debounced at any one time. * the debounce time for each gpio can be
Button-debouncer/button_debounce.cpp:22
MethodDebounce
* class that debounces gpio using the PIO state machines. * up to 8 gpios can be debounced at any one time. * the debounce time for each gpio can be
Button-debouncer/micropython_integrated/button_debounce.cpp:26
MethodHCSR04
constructor input = pin connected to the 'Echo' pin of the HCSR04. ! NOTE: USE A VOLTAGE DIVIDER FOR THE INPUT (i.e. the Echo pin of the HCSR04) to go
HCSR04/HCSR04.cpp:19
MethodOneWire
Limited_1_wire/onewire.cpp:39
MethodPwmIn
constructor input = pin that receives the PWM pulses.
PwmIn/PwmIn.cpp:19
MethodPwmIn
class that reads PWM pulses from up to 4 pins
PwmIn/PwmIn_4pins/PwmIn.cpp:11
MethodRotaryEncoder
constructor rotary_encoder_A is the pin for the A of the rotary encoder. The B of the rotary encoder has to be connected to the next GPIO.
Rotary_encoder/pio_rotary_encoder.cpp:16
Method__init__
init makes the list with the emulation results (output) and the variables needed for highlights in the GUI
state_machine_emulator/emulation.py:7
Method__init__
make the variables (such as x and y registers) and settings and make some class variables needed for correct execution
state_machine_emulator/state_machine/__init__.py:13
Method__init__
(self, frame, display_name, row, col, width)
state_machine_emulator/interface/_interface_item.py:9
Method__init__
(self, display_name, var_name, frame, row, col, var, var_index)
state_machine_emulator/interface/_interface_item.py:51
Method__init__
(self, display_name, base_name, count_name, frame, row, col, var, var_index)
state_machine_emulator/interface/_interface_item.py:67
Method__init__
(self, display_name, frame, row, col, var, var_index)
state_machine_emulator/interface/_interface_item.py:92
Method__init__
(self, display_name, var_name, frame, row, col, var, clock)
state_machine_emulator/interface/_interface_item.py:117
Method__init__
(self, display_name, frame, row, col, var)
state_machine_emulator/interface/_interface_item.py:146
Method__init__
build and run the GUI
state_machine_emulator/interface/__init__.py:14
Method__init__
(self, widget, text='widget info')
state_machine_emulator/interface/_tooltips.py:9
Functionall_blue
ws2812_led_strip_120/ws2812_led_strip_120.c:33
Functionall_green
ws2812_led_strip_120/ws2812_led_strip_120.c:27
Functionall_red
ws2812_led_strip_120/ws2812_led_strip_120.c:21
Functionbuild_left_frame
build the panel on the left with the c-program, pin_program, and the TxFIFO and RxFIFO
state_machine_emulator/interface/_left_frame.py:4
Functionbuild_mid_frame
build the panel with the sm variables and settings
state_machine_emulator/interface/_mid_frame.py:4
Functionbuild_output_frame
build the frame with the output (of c-statements) of the emulation
state_machine_emulator/interface/_output_frame.py:4
Functionbuild_right_frame
build the panel with the pio program
state_machine_emulator/interface/_right_frame.py:4
Functionbuild_toolbar
build the toolbar
state_machine_emulator/interface/_toolbar.py:102
Functionbutton_debounce_program_get_default_config
state_machine_emulator/examples/button_debounce/pio_program.pio.h:39
Methodbutton_matrix_4x4
constructor base_input is the starting gpio for the 4 input pins base_output is the starting gpio for the 4 output pins
button_matrix_4x4/4x4_button_matrix.cpp:15
Methodcheck
this is just a simple activity to allow ctrl-c to function
state_machine_emulator/interface/__init__.py:51
Functioncore1_worker
ledpanel/ledpanel_worker.c:241
Methodcount_pulses_with_pause
input = pin that receives the pulses.
count_pulses_with_pause/count_pulses_with_pause.cpp:20
Methodcrc8
--------------------------------------------------------------------------------- Copied (and adapted) from https://github.com/PaulStoffregen/OneWire/
Limited_1_wire/onewire.cpp:206
Functiondebounce_gpio
Button-debouncer/micropython_integrated/debounce.cpp:16
Functiondo_sideset
handle sideset
state_machine_emulator/state_machine/_do_sideset.py:1
Functionenable_disable_buttons
enable or disable buttons and keybindings depending on time step and max time step
state_machine_emulator/interface/_toolbar.py:7
Methodenter
(self, event=None)
state_machine_emulator/interface/_tooltips.py:20
Functionexecute_in
execute an in instruction
state_machine_emulator/state_machine/_execute_instructions.py:124
Functionexecute_instruction
Execute the PIO instruction
state_machine_emulator/state_machine/_execute_instructions.py:1
Functionexecute_irq
execute an irq instruction
state_machine_emulator/state_machine/_execute_instructions.py:419
Functionexecute_jmp
execute a jmp instruction
state_machine_emulator/state_machine/_execute_instructions.py:47
Functionexecute_mov
execute a mov instruction
state_machine_emulator/state_machine/_execute_instructions.py:332
Functionexecute_out
execute an out instruction
state_machine_emulator/state_machine/_execute_instructions.py:192
Functionexecute_pull
execute a pull instruction
state_machine_emulator/state_machine/_execute_instructions.py:302
next →1–100 of 178, ranked by callers