# hardware pinout |function|stm32 package name|stm32 header name|fpga package name|fpga header name| |-|-|-|-|-| |SPI MOSI|PA7|D11|L2|JA2| |SPI CLK|PA5|D13|J2|JA3| |SPI SR|PA9|D8|H1|JA7| || |PPU HBLANK|PA8|D7|K2|JA8| |PPU VBLANK|PC7|D9|J1|JA1| || |unused|PB10|D6|H2|JA9| || |APU PWM out|||A15|JB7| || |Player 1 up|PB5|D4| |Player 1 down|PA3|D0| |Player 1 left|PB3|D3| |Player 1 right|PB4|D5| |Player 1 primary|PA10|D2| |Player 1 secondary|PA2|D1| || |Player 2 up|PC1|A4| |Player 2 down|PA0|A0| |Player 2 left|PB0|A3| |Player 2 right|PC0|A5| |Player 2 primary|PA4|A2| |Player 2 secondary|PA1|A1| || |System reset|||T18|BTNU (button up)| |System clock|||W5|