Created
January 1, 2019 20:22
-
-
Save HarkonenBade/9acdcedd3b5b58760dc0653146b679e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pins! { | |
PA2 => { | |
AF1: TxPin<USART1>, | |
AF1: TxPin<USART2>, | |
}, | |
PA3 => { | |
AF1: RxPin<USART1>, | |
AF1: RxPin<USART2>, | |
}, | |
PA5 => {AF0: SckPin<SPI1>}, | |
PA6 => {AF0: MisoPin<SPI1>}, | |
PA7 => {AF0: MosiPin<SPI1>}, | |
PA9 => { | |
AF1: TxPin<USART1>, | |
AF4: SclPin<I2C1>, | |
}, | |
PA10 => { | |
AF1: RxPin<USART1>, | |
AF4: SdaPin<I2C1>, | |
}, | |
PA14 => { | |
AF1: TxPin<USART1>, | |
AF1: TxPin<USART2>, | |
}, | |
PA15 => { | |
AF1: RxPin<USART1>, | |
AF1: RxPin<USART2>, | |
}, | |
PB3 => {AF0: SckPin<SPI1>}, | |
PB4 => {AF0: MisoPin<SPI1>}, | |
PB5 => {AF0: MosiPin<SPI1>}, | |
PB6 => { | |
AF0: TxPin<USART1>, | |
AF1: SclPin<I2C1>, | |
}, | |
PB7 => { | |
AF0: RxPin<USART1>, | |
AF1: SdaPin<I2C1>, | |
}, | |
PB8 => {AF1: SclPin<I2C1>}, | |
PB9 => {AF1: SdaPin<I2C1>}, | |
PB10 => { | |
AF1: SclPin<I2C1>, | |
AF1: SclPin<I2C2>, | |
}, | |
PB11 => { | |
AF1: SdaPin<I2C1>, | |
AF1: SdaPin<I2C2>, | |
}, | |
PB13 => { | |
AF0: SckPin<SPI1>, | |
AF0: SckPin<SPI2>, | |
}, | |
PB14 => { | |
AF0: MisoPin<SPI1>, | |
AF0: MisoPin<SPI2>, | |
}, | |
PB15 => { | |
AF0: MosiPin<SPI1>, | |
AF0: MosiPin<SPI2>, | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment