Commit Graph

2 Commits (2c5d66987da4c7d5857cab8b09c4f852b4d8e4d9)

Author SHA1 Message Date
Takeshi ISHII b72f10c635
Add readPort() and some API to 'tmk_core/common/*/gpio.h' (#12754)
* add readPort() and some API to 'tmk_core/common/*/gpio.h'

The following macros have been added to gpio.h.

* readPort(port)
* setPortBitInput(port, bit)
* setPortBitInputHigh(port, bit)
* setPortBitOutput(port, bit)
* writePortBitLow(port, bit)
* writePortBitHigh(port, bit)

* add data type 'port_data_t' into gpio.h

* rename qmk_pin to pin
2021-06-07 18:23:21 +09:00
Joel Challis de8caf708c
Split gpio and atomic to platform (#11792) 2021-02-14 11:51:06 +11:00