1.2.5 User-Defined LEDs and Push Buttons
To facilitate the development of applications, two user-defined LEDs and two user-defined push buttons have been added to the CryptoAuth Pro Trust Platform development board. The LEDs (LED1, LED2) can be used to indicate status associated with some application code, and the push buttons (BTN1, BTN2) can be used to initiate actions associated with the code.
| Item | Pin # | Pin Name | Configuration | Actions: |
|---|---|---|---|---|
| LED1 | 7 | PA02 | Output | LED ON: PA02 = LOW LED OFF: PA02 = HIGH |
| LED2 | 8 | PA03 | Output | LED ON: PA03 = LOW LED OFF: PA03 = HIGH |
| BTN1 | 5 | PC02 | Input | Detect LOW: Button Pressed Detect HIGH: Button Not Pressed |
| BTN2 | 4 | PC01 | Input | Detect LOW: Button Pressed Detect HIGH: Button Not Pressed |
