IO Summary - ktemkin/tg165-tools GitHub Wiki
Quick summary of the GPIO:
| I/O Name | Description | Direction | Port Name | Bit Number | Notes |
|---|---|---|---|---|---|
| USB Enable | Enables USB pull-ups | Out | E | 0 | Set to 0 to turn pull-ups on. |
| LDO Enable | Enables LDO for peripherals | Out | B | 3 | Set to 1 to enable LDO. |
| Battery charge enable | Enables battery charging? | Out | B | 0 | My handwriting was hard to read here; this may be wrong |
| Power /return | Button | In | B | 1 | 0 = pushed |
| Down | Button | In | C | 5 | 0 = pushed |
| Up | Button | In | C | 4 | 0 = pushed |
| OK | Button | In | C | 3 | 0 = pushed |
| Trigger | Button | In | C | 0 | 0 = pushed |
| SD Card Detect | Button | In | A | 16 | 0 = card present |