GPIO Keypad password crack

Hello, I have the LITE ARM version of chipwhisper and my project is to guess the password from a keypad. The idea is to use the implementation of the serial password but with the GPIOs.

Is there any example about the use of the GPIOs?, I couldnt find any , I see there is a hal on the target and header to use it, but is there a code example for this?



Our HALs are pretty minimal, only including the bare necessities to setup clock, setup trigger, setup UART, etc. We do setup GPIO as part of the trigger/UART setup, so there’s always code examples of GPIO manipulation for each target, but beyond that you’ll need to refer to the datasheet/user manual for the microcontroller you want to target.