qmk_firmware/quantum
JohSchneider d26a14c169
add 'togglePin' convenience function (#8734)
* add 'togglePin' conveniance function

for AVR and chibios

* drop outmost parantheses

Co-Authored-By: Konstantin Đorđević <vomindoraan@gmail.com>

* toggle pin on avrs

toggle a pin configured as output by writing the corresponding bit to the PIN register

Co-Authored-By: Takeshi ISHII <2170248+mtei@users.noreply.github.com>

* togglepin: add documentation for newly added function

* Update docs/internals_gpio_control.md

Co-Authored-By: Konstantin Đorđević <vomindoraan@gmail.com>

* on AVR: use PORTD to toggle the output

... since not all MCUs support toggling through writing to PIN

Co-Authored-By: Ryan <fauxpark@gmail.com>

Co-authored-by: Johannes <you@example.com>
Co-authored-by: Konstantin Đorđević <vomindoraan@gmail.com>
Co-authored-by: Takeshi ISHII <2170248+mtei@users.noreply.github.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-04-29 04:04:29 -07:00
..
api
audio
backlight
debounce
keymap_extras
process_keycode
rgb_matrix_animations
rgb_matrix_runners
serial_link
split_common
stm32
template
tools
visualizer 2020 February 29 Breaking Changes Update (#8064) 2020-02-29 11:59:30 -08:00
api.c
api.h
color.c
color.h
config_common.h
debounce.h
dip_switch.c
dip_switch.h
dynamic_keymap.c
dynamic_keymap.h
dynamic_macro.h
encoder.c
encoder.h
fauxclicky.c
fauxclicky.h
keycode_config.c
keycode_config.h
keymap_common.c
keymap.h
led_matrix_drivers.c
led_matrix.c
led_tables.c
led_tables.h
ledmatrix.h
matrix_common.c
matrix.c
mcu_selection.mk
pincontrol.h
pointing_device.c
pointing_device.h
quantum_keycodes.h
quantum.c
quantum.h add 'togglePin' convenience function (#8734) 2020-04-29 04:04:29 -07:00
rgb_matrix_drivers.c
rgb_matrix_types.h
rgb_matrix.c
rgb_matrix.h
rgb.h
rgblight_breathe_table.h
rgblight_list.h
rgblight_modes.h
rgblight_post_config.h
rgblight.c
rgblight.h
send_string_keycodes.h
variable_trace.c
variable_trace.h
velocikey.c
velocikey.h
via.c
via.h
wpm.c
wpm.h