2 \author Travis Goodspeed
3 \brief STM32F407 port definitions.
9 //! Initialize the STM32F4xx ports and USB.
10 void stm32f4xx_init(){
15 unsigned char serial0_rx(){
19 unsigned char serial1_rx(){
23 void serial0_tx(unsigned char x){
26 void serial_tx_old(unsigned char x){
29 //! Transmit a byte on the second UART.
30 void serial1_tx(unsigned char x){
34 //! Set the baud rate.
35 void setbaud0(unsigned char rate){
36 //Ignore this, as we'll be in USB.
39 //! Set the baud rate of the second uart.
40 void setbaud1(unsigned char rate){