Skip to content

Commit

Permalink
docs: Added a page on pin control for ZMK (zmkfirmware#2508)
Browse files Browse the repository at this point in the history
* docs(feat): Added a page on pin control for ZMK

* Added note on HAL modules

* docs: Added images of boards

---------

Co-authored-by: Cem Aksoylar <[email protected]>
  • Loading branch information
Nick-Munnich and caksoylar authored Oct 27, 2024
1 parent f0a3947 commit 7d8dd64
Show file tree
Hide file tree
Showing 5 changed files with 541 additions and 81 deletions.
2 changes: 1 addition & 1 deletion docs/docs/development/hardware-integration/new-shield.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ The standard approach is to have a core `my_keyboard.dtsi` (devicetree include)

The kscan node defines the controller GPIO pins that are used to scan for key press and release events. The pins are referred to using the GPIO labels noted in the pinouts below:

<InterconnectTabs items={Metadata} />
<InterconnectTabs items={Metadata} gpio={true} />

To use GPIO pins that are not part of the interconnects as described above, you can use the GPIO labels that are specific to each controller type.
For instance, pins numbered `PX.Y` in nRF52840-based boards can be referred to via `&gpioX Y` labels.
Expand Down
Loading

0 comments on commit 7d8dd64

Please sign in to comment.